Extra 4.0 -fpic/-fPIC testsuite failures on i686-unknown-linux-gnu

Paolo Carlini pcarlini@suse.de
Sat Jan 1 20:38:00 GMT 2005


Hi Kaveh,

>Finally, here are the excess -fpic/-fPIC testsuite failures from
>mainline on i686-pc-linux-gnu as noted here:
>http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00027.html
>
>I'd like some assistance categorizing them please.
>  
>
I'm trying to help for the libstdc++-v3 failure: can you confirm that, in
order to reproduce, I should just add -fpic/-fPIC to the CXXFLAGS? Or,
please clarify, otherwise, thanks...

>27_io/basic_istream/extractors_character/wchar_t/1.cc:52: void test01(): Assertion `i1 == i2' failed.
>(New testcase.)
>  
>
This is a rather new testcase that I adapted from the plain char 
counterpart.
I think it's just a bug in the testcases (present also in the char 
version actually):
In fact i1 is computed as:

    i1 = ctraits_type::length(array1);

but array1 is *not* zero terminated ;)

Paolo.



More information about the Gcc mailing list