This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
target/2878: ARM: cannot use 3.0 to build stage 1 of bootstrap; bad code generated at -O0?
- To: gcc-gnats at gcc dot gnu dot org
- Subject: target/2878: ARM: cannot use 3.0 to build stage 1 of bootstrap; bad code generated at -O0?
- From: philb at gnu dot org
- Date: 20 May 2001 10:33:45 -0000
- Reply-To: philb at gnu dot org
>Number: 2878
>Category: target
>Synopsis: ARM: cannot use 3.0 to build stage 1 of bootstrap; bad code generated at -O0?
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 20 03:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: philb@gnu.org
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Bootstrapping the 3.0 branch on arm-linux, using a compiler previously built from the same sources to build stage 1, eventually fails here:
./xgcc -B./ -B/usr/local/armv4l-unknown-linux-gnu/bin/ -isystem /usr/local/armv4l-unknown-linux-gnu/include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/home/pb/egcs/3.0/gcc/gcc -I/home/pb/egcs/3.0/gcc/gcc/. -I/home/pb/egcs/3.0/gcc/gcc/config -I/home/pb/egcs/3.0/gcc/gcc/../include -DL_bb -c /home/pb/egcs/3.0/gcc/gcc/libgcc2.c -o libgcc/./_bb.o
In file included from /home/pb/egcs/3.0/gcc/gcc/libgcc2.c:1298:
/home/pb/egcs/3.0/gcc/gcc/gcov-io.h: In function `__store_long':
/home/pb/egcs/3.0/gcc/gcc/gcov-io.h:67: Internal compiler error in canon_hash, at cse.c:2463
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [libgcc/./_bb.o] Error 1
Since it works to use GCC 2.95 for building stage 1, it seems likely that GCC 3.0 is miscompiling itself at -O0.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: