This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12209] [3.4 Regression] GCC fails to bootstrap Cygwin with -funit-at-a-time
- From: "kcook at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2003 14:38:02 -0000
- Subject: [Bug optimization/12209] [3.4 Regression] GCC fails to bootstrap Cygwin with -funit-at-a-time
- References: <20030908142116.12209.kcook@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12209
------- Additional Comments From kcook at gcc dot gnu dot org 2003-09-08 14:38 -------
Created an attachment (id=4718)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4718&action=view)
Backtrace of the crash
./xgcc -B./ -B/usr/local/i686-pc-cygwin/bin/ -isystem
/usr/local/i686-pc-cygwin/
include -isystem /usr/local/i686-pc-cygwin/sys-include
-L/home/kcook34/t/gcc/../
ld -O2 -I/home/kcook34//gcc-snapshot/gcc/../winsup/w32api/include
-I/home/kcook3
4//gcc-snapshot/gcc/../winsup/include
-I/home/kcook34//gcc-snapshot/gcc/../winsu
p/cygwin/include -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmiss
ing-prototypes -isystem ./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_
FLOAT_NOT_NEEDED -I. -I. -I/home/kcook34//gcc-snapshot/gcc
-I/home/kcook34//gcc
-snapshot/gcc/. -I/home/kcook34//gcc-snapshot/gcc/../include -DL_popcountsi2
-
c /home/kcook34//gcc-snapshot/gcc/libgcc2.c -o libgcc/./_popcountsi2.o
/home/kcook34//gcc-snapshot/gcc/libgcc2.c: In function `__popcountsi2':
/home/kcook34//gcc-snapshot/gcc/libgcc2.c:751: internal compiler error:
Segmenta
tion fault
Please submit a full bug report,
with preprocessed source if appropriate.
---
A Backtrace is attached.
On a whim, I tried to compile with -funit-at-a-time enabled and
-fno-loop-optimize which does work. So possibly -funit-at-a-time seems to be
poorly interacting with the loop optimizer.