This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36474] gcc takes forever to compile a certain file
- From: "fm3 at os dot inf dot tu-dresden dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jun 2008 10:15:12 -0000
- Subject: [Bug c++/36474] gcc takes forever to compile a certain file
- References: <bug-36474-9973@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from fm3 at os dot inf dot tu-dresden dot de 2008-06-09 10:15 -------
Created an attachment (id=15740)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15740&action=view)
VBoxManage.cpp (preprocessed with -E -dD and compressed) from current
VirtualBox SVN.
If you compile this file with
g++ -c -o foo.o -O0 -fshort-wchar VBoxManage.cpp
it will be compiled successfully. It you compile it with
g++ -c -o foo.o -O1 -fshort-wchar VBoxManage.cpp
(gcc 4.3.1) the g++ compiler will loop forever (aborted after 5 minutes).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36474