This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13194] -O2 causes compiler hang , -Os causes ICE
- From: "bryner at brianryner dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2003 02:02:41 -0000
- Subject: [Bug optimization/13194] -O2 causes compiler hang , -Os causes ICE
- References: <20031126020100.13194.bryner@brianryner.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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