gcc-3.4.0: ICE on valid code at flow.c:546

Jim Wilson wilson@specifixinc.com
Tue Jun 1 00:39:00 GMT 2004


Michael Buro wrote:
> gcc -v -save-temps -pipe -felide-constructors -fstrict-aliasing   -DTRANSFORM_MOUSE_Y=1 -DLINUX=1 -Wall -W -Wundef -O3 -pg  -DNDEBUG -Wuninitialized -I/usr/include/SDL  -I/usr/include/GL  -I../../plib/sg -I../../plib/ssg -I../../plib/fnt  -I../../plib/pui -I../../plib/util -I../../pathfind/src  -c -o ../obj/obj.prof/GfxClient.o GfxClient.C
> generates:
> GfxClient.C: In member function `void GfxClient::event_mouse_up(SDL_Event&)':
> GfxClient.C:614: internal compiler error: in verify_local_live_at_start, at flow.c:546
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.

We don't track bug reports mailed to the gcc-bugs list.  You are better 
off filing a bug report into our bugzilla bug database, as we do track 
those, and you are more likely to get a useful answer.  See
     http://gcc.gnu.org/bugs.html
for more info on reporting bugs.

I am able to reproduce this with gcc-3.4.0 sources.  I am not able to 
reproduce this with current gcc-3.4.x sources.  Thus it appears that 
this problem has already been fixed for the gcc-3.4.1 release.  It isn't 
obvious which patch fixed the problem though.

The problem can be reproduced with -O2 -finline-functions 
-frename-registers, and thus is apparently a bad interaction between 
those two optimization passes.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc-bugs mailing list