[Bug optimization/13067] ICE involving operator++

bryner at brianryner dot com gcc-bugzilla@gcc.gnu.org
Sun Nov 16 06:15:00 GMT 2003


------- Additional Comments From bryner at brianryner dot com  2003-11-16 06:15 -------
Created an attachment (id=5147)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5147&action=view)
reduced testcase

This is as small as I was able to get the testcase, but I still don't
understand exactly what the trigger is.  It is definitely necessary to invoke
operator++ on Iterator inside the loop.

Compiled with:
$ c++ -c -Os -o foo.o test_ice_2.cpp

Output:
test_ice_2.cpp: In function `void foo(char)':
test_ice_2.cpp:9: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13067



More information about the Gcc-bugs mailing list