This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36474] gcc takes forever to compile a certain file



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]