[Bug optimization/13194] -O2 causes compiler hang , -Os causes ICE
bryner at brianryner dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 26 02:02:00 GMT 2003
------- Additional Comments From bryner at brianryner dot com 2003-11-26 02:02 -------
Created an attachment (id=5216)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5216&action=view)
unreduced testcase
$ c++ -Os -o foo.o -c nsAppFileLocationProvider.i
../../../../mozilla/xpcom/io/nsAppFileLocationProvider.cpp: In member function
`virtual nsresult nsPathsDirectoryEnumerator::HasMoreElements(PRBool*)':
../../../../mozilla/xpcom/io/nsAppFileLocationProvider.cpp:528: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
$ c++ -O2 -o foo.o -c nsAppFileLocationProvider.i
(hangs)
The testcase compiles with -O1 or without -O.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13194
More information about the Gcc-bugs
mailing list