970910 C++ optimization error causes segfault on i386 Linux

Jason Merrill jason@cygnus.com
Tue Sep 16 14:44:00 GMT 1997


>>>>> Derek Upham <sand@celia.serv.net> writes:

Hi, Derek.  Long time no see.

> If the code is compiled without optimization, it works perfectly,
> printing the line "collection has 332 entries" on my Linux box.
> However, if the code is compiled with optimization flag "-O", it
> raises a SEGFAULT signal during the dictionary map lookup (search for
> the words "BUG OCCURS HERE").

I think I just fixed this bug.  In any case, it works for me; please try
the next snapshot.

Jason



More information about the Gcc-bugs mailing list