Libstdc++-v3 vs -fno-unit-at-a-time

Paolo Carlini pcarlini@suse.de
Tue Dec 2 00:09:00 GMT 2003


Hi everyone,

I'm trying to understand more about some weird problems I'm currently
seeing: basically, on x86-linux, at least, if the library is compiled
"-O2 -g" (the default) spurious failures appear changing unrelated parts
of it, for instance 21_strings/basic_string/find/char/3.c if I apply
the *totally* unrelated attached patch...

In the process, I have just noticed that a library built
"-O2 -fno-unit-at-a-time -g" is *totally* broken: most of the tests in
the testsuite fail to compile with this ICE:

internal compiler error: in cgraph_finalize_compilation_unit, at 
cgraphunit.c:387

What's going on?

Paolo.




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_year
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20031202/2fce80b3/attachment.ksh>


More information about the Gcc mailing list