I got these ICEs while testing gcc-4.5 in compiling the uhexen2 source: $ CC=gcc45 make h2 1> /dev/null view.c: In function 'V_RenderView': view.c:1084:1: internal compiler error: in get_hard_regnum, at reg-stack.c:741 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [view.o] Error 1
or: $ CC=gcc45 make glh2 1> /dev/null gl_rsurf.c: In function 'GL_BuildLightmaps': gl_rsurf.c:1627:1: internal compiler error: in get_hard_regnum, at reg-stack.c:741 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [gl_rsurf.o] Error 1 The C sources mentioned are at http://uhexen2.cvs.sourceforge.net/viewvc/uhexen2/hexen2/ . I can't give you an exact line number, because the line numbers reported by gcc are the closing braces of the functions. This is noticed on Fedora 9. Relevant software environment: binutils-2.18.50.0.6-7.fc9.i386, gmp-4.2.2-7.fc9.i386, mpfr-2.3.2-0.1.fc9.i386, gcc-4.3.0-8.i386 (boot compiler) $ gcc45 -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc45.r150333/configure --prefix=/home/ozzie/opt/gcc450 --program-suffix=45 --bindir=/home/ozzie/bin --with-local-prefix=/usr --disable-nls --enable-shared --enable-threads --enable-languages=c,c++ Thread model: posix gcc version 4.5.0 20090801 (experimental) r150333 (GCC) If any more info is needed, I would try to provide. -- Summary: ICE in get_hard_regnum, at reg-stack.c:741 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sezeroz at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40934