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]

[CVS g++ + libstdc++-v3] ICE with -O2



The following pre-processed file gives the following:

../../../../src.egcs/libstdc++/bits/basic_string.h: In function `void 
std::foo
../../../../src.egcs/libstdc++/bits/basic_string.h: 
(std::basic_istream<char, std::char_traits<char> >
../../../../src.egcs/libstdc++/bits/basic_string.h: &, float &)':
../../../../src.egcs/libstdc++/bits/basic_string.h:185: Internal compiler 
error.../../../../src.egcs/libstdc++/bits/basic_string.h:185: Please 
submit a full bug report.
../../../../src.egcs/libstdc++/bits/basic_string.h:185: See
../../../../src.egcs/libstdc++/bits/basic_string.h:185: 
<URL:http://www.gnu.org/software/gcc/bugs.html>
../../../../src.egcs/libstdc++/bits/basic_string.h:185: for instructions.

This error does not occur if -O1 is used. I know this is a huge mess
of preprocessed files: I've been trying to make it a short and simple
testcase but I've had no luck. 


-benjamin

test_complex3.ii.gz


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