public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* g++ 3.3: ICE for source file with more than 524347 lines
@ 2003-07-23 12:37 Harald Dunkel
0 siblings, 0 replies; only message in thread
From: Harald Dunkel @ 2003-07-23 12:37 UTC (permalink / raw)
To: gcc-bugs
Hi folks,
Trying to compile some generated code, we stumbled over this
problem:
--------------------------------------------------------------------------
g++ -v -O -Wno-deprecated -c -o lib-linux/simulator-O/simulator_funcs.o -I. -I/u/wloka/IMAGE/linux/ccss/include/ simulator_funcs.cxx
Reading specs from /usr/local/stow/gcc-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../configure --prefix=/usr/local/stow/gcc-3.3 --with-local-prefix=/usr/local/stow/gcc-3.3 --enable-languages=c,c++,f77 --enable-__cxa_atexit
Thread model: posix
gcc version 3.3
/usr/local/stow/gcc-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/cc1plus -quiet -v -I. -I/u/wloka/IMAGE/linux/ccss/include/ -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -D_GNU_SOURCE simulator_funcs.cxx -D__GNUG__=3 -quiet -dumpbase simulator_funcs.cxx -auxbase-strip lib-linux/simulator-O/simulator_funcs.o -O -Wno-deprecated -version -o /tmp/cckoDRge.s
GNU C++ version 3.3 (i686-pc-linux-gnu)
compiled by GNU C version 3.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/stow/gcc-3.3/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
.
/u/wloka/IMAGE/linux/ccss/include
/usr/local/stow/gcc-3.3/include/c++/3.3
/usr/local/stow/gcc-3.3/include/c++/3.3/i686-pc-linux-gnu
/usr/local/stow/gcc-3.3/include/c++/3.3/backward
/usr/local/stow/gcc-3.3/include
/usr/local/stow/gcc-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/include
/usr/include
End of search list.
simulator_funcs.cxx: In function `void
function_p_simulator_M1_M1_M4_M1070(int*, float*)':
simulator_funcs.cxx:4090: warning: passing `float' for argument passing 1 of `
int eg_shbitvec_wrap_s(int, int)'
:
:
simulator_funcs.cxx: In function `void
function_p_simulator_M1_M5_M6_M1057(int*, float*)':
simulator_funcs.cxx:509965: warning: passing `float' for argument passing 1 of
`int eg_shbitvec_wrap_s(int, int)'
simulator_funcs.cxx:509965: warning: argument to `int' from `float'
simulator_funcs.cxx: In function `void*
init_p_simulator_M1_M5_M6_M1069(eg_instEntry*, eg_transEntry*, eg_symEntry*)
':
simulator_funcs.cxx:524347: internal compiler error: in final_scan_insn, at
final.c:2117
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--------------------------------------------------------------------------
Seems that 524347 is the maximum number of lines the compiler can
handle. The file to compile is much larger (about 1,500,000 lines).
If we remove '-O' from the command line, then the problem is gone.
Here is the requested data:
System is a RedHat Linux 7.2 machine (using binutils 2.13.2.1,
glibc-2.2.4)
% g++ -v
Reading specs from /usr/local/stow/gcc-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../configure --prefix=/usr/local/stow/gcc-3.3 --with-local-prefix=/usr/local/stow/gcc-3.3 --enable-languages=c,c++,f77 --enable-__cxa_atexit
Thread model: posix
gcc version 3.3
Regards
Harri
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-23 12:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-23 12:37 g++ 3.3: ICE for source file with more than 524347 lines Harald Dunkel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).