This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/27536] New: -fsection-anchors breaks Ada
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2006 19:44:04 -0000
- Subject: [Bug ada/27536] New: -fsection-anchors breaks Ada
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ /tmp/cvs/gcc-test-r113398/Build/./gcc/xgcc
-B/tmp/cvs/gcc-test-r113398/Build/./gcc/
-B/tmp/cvs/gcc-test-r113398/Build/root/powerpc64-suse-linux/bin/
-B/tmp/cvs/gcc-test-r113398/Build/root/powerpc64-suse-linux/lib/ -isystem
/tmp/cvs/gcc-test-r113398/Build/root/powerpc64-suse-linux/include -isystem
/tmp/cvs/gcc-test-r113398/Build/root/powerpc64-suse-linux/sys-include -c -g -O2
-fPIC -specs=ldblspecs -mno-minimal-toc -W -Wall -gnatpg g-os_lib.adb -o
g-os_lib.o -v
Reading specs from /tmp/cvs/gcc-test-r113398/Build/./gcc/specs
Reading specs from /tmp/cvs/gcc-test-r113398/Build/./gcc/ldblspecs
Target: powerpc64-suse-linux
Configured with: ../configure --prefix=/tmp/cvs/gcc-test-r113398/Build/root
--host=powerpc64-suse-linux --enable-shared --enable-threads
--enable-__cxa_atexit --with-system-zlib --with-cpu=default32
--enable-languages=ada --disable-bootstrap
Thread model: posix
gcc version 4.2.0 20060430 (experimental)
/tmp/cvs/gcc-test-r113398/Build/./gcc/gnat1 -quiet -dumpbase g-os_lib.adb -O2
-W -Wall -fPIC -g -mno-minimal-toc -gnatpg -gnatO g-os_lib.o g-os_lib.adb -o
/tmp/ccGycApt.s
+===========================GNAT BUG DETECTED==============================+
| 4.2.0 20060430 (experimental) (powerpc64-suse-linux-gnu) GCC error: |
| in change_address_1, at emit-rtl.c:1784 |
| Error detected at g-os_lib.adb:2603:1 |
Regression hunting is pointing its finger at this change:
* config/rs6000/rs6000.c (rs6000_override_options): Enable
TARGET_NO_FP_IN_TOC for section anchors.
(optimization_options): Enable section anchors for all
non-"Objective" languages.
In fact, -fno-section-anchors lets it compile again.
--
Summary: -fsection-anchors breaks Ada
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, build
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwab at suse dot de
GCC target triplet: powerpc-*-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27536