From owner-svn-src-all@freebsd.org Fri Apr 14 03:20:35 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EE6CD3D390; Fri, 14 Apr 2017 03:20:35 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E4E6776; Fri, 14 Apr 2017 03:20:35 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3E3KYsQ089788; Fri, 14 Apr 2017 03:20:34 GMT (envelope-from jhibbits@FreeBSD.org) Received: (from jhibbits@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3E3KY03089787; Fri, 14 Apr 2017 03:20:34 GMT (envelope-from jhibbits@FreeBSD.org) Message-Id: <201704140320.v3E3KY03089787@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhibbits set sender to jhibbits@FreeBSD.org using -f From: Justin Hibbits Date: Fri, 14 Apr 2017 03:20:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316807 - head/contrib/gcc/config/rs6000 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2017 03:20:35 -0000 Author: jhibbits Date: Fri Apr 14 03:20:34 2017 New Revision: 316807 URL: https://svnweb.freebsd.org/changeset/base/316807 Log: Default powerpcspe processor target to 8540 This prevents internal compiler errors when -mcpu is omitted. Modified: head/contrib/gcc/config/rs6000/freebsdspe.h Modified: head/contrib/gcc/config/rs6000/freebsdspe.h ============================================================================== --- head/contrib/gcc/config/rs6000/freebsdspe.h Fri Apr 14 02:33:26 2017 (r316806) +++ head/contrib/gcc/config/rs6000/freebsdspe.h Fri Apr 14 03:20:34 2017 (r316807) @@ -28,6 +28,7 @@ #undef TARGET_DEFAULT #define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_STRICT_ALIGN) +#undef PROCESSOR_DEFAULT #undef TARGET_SPE_ABI #undef TARGET_SPE #undef TARGET_E500 @@ -36,6 +37,7 @@ #undef TARGET_E500_SINGLE #undef TARGET_E500_DOUBLE +#define PROCESSOR_DEFAULT PROCESSOR_PPC8540 #define TARGET_SPE_ABI rs6000_spe_abi #define TARGET_SPE rs6000_spe #define TARGET_E500 (rs6000_cpu == PROCESSOR_PPC8540)