[Bug c/29079] New: ICE during bootstrap when using HP-cc and -O2/-O3, works with -O0/-O1
michael dot haubenwallner at salomon dot at
gcc-bugzilla@gcc.gnu.org
Thu Sep 14 08:24:00 GMT 2006
When using HP ANSI C compiler with CFLAGS (and CXXFLAGS) set to -O2 or -O3 for
bootstrap, xgcc does ICE during first compilation of gcc/libgcov.c.
This does work when CFLAGS/CXXFLAGS unset, or set to -O0 or -O1 (thus severity
minor).
Works for gcc-3.4.5.
Errormessage is:
./xgcc -B./ -B/usr/local/ia64-hp-hpux11.23/bin/ -isystem
/usr/local/ia64-hp-hpux11.23/include -isystem
/usr/local/ia64-hp-hpux11.23/sys-include
-L/wamas/local/haubi/src/gcc-build-cc-O2-gas/gcc/../ld -O2 -O2 -O2 -DIN_GCC
-DUSE_LIBUNWIND_EXCEPTIONS -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -g
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/tools/haubi/src/gcc-4.1.1/gcc
-I/tools/haubi/src/gcc-4.1.1/gcc/. -I/tools/haubi/src/gcc-4.1.1/gcc/../include
-I./../intl -I/tools/haubi/src/gcc-4.1.1/gcc/../libcpp/include
-DL_gcov_merge_single -c /tools/haubi/src/gcc-4.1.1/gcc/libgcov.c -o
libgcc/./_gcov_merge_single.o
/tools/haubi/src/gcc-4.1.1/gcc/libgcov.c: In function '__gcov_merge_single':
/tools/haubi/src/gcc-4.1.1/gcc/libgcov.c:629: internal compiler error: in ?, at
expmed.c:2959
Please submit a full bug report,
<snip>
Configure-line was:
/tools/haubi/src/gcc-4.1.1/configure --with-gnu-as --with-as=/usr/local/bin/as
--without-gnu-ld --with-ld=/usr/ccs/bin/ld
$ cc -V
cc: HP aC++/ANSI C B3910B A.06.00 [Aug 25 2004]
$ /usr/local/bin/as --version
GNU assembler 2.15
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `ia64-hp-hpux11.23'.
Attachments (logfiles) follow.
--
Summary: ICE during bootstrap when using HP-cc and -O2/-O3, works
with -O0/-O1
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: michael dot haubenwallner at salomon dot at
GCC build triplet: ia64-hp-hpux11.23
GCC host triplet: ia64-hp-hpux11.23
GCC target triplet: ia64-hp-hpux11.23
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29079
More information about the Gcc-bugs
mailing list