[Bug c++/37217] [4.4 Regression] -Wconversion causes ICE with __builtin_strcmp with one char compare

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Aug 25 11:38:00 GMT 2008



------- Comment #7 from burnus at gcc dot gnu dot org  2008-08-25 11:37 -------
Created an attachment (id=16144)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16144&action=view)
test2.i.gz

> I cannot reproduce this with any of the testcases in x86_64-unknow-linux-gnu
> and that is all I have access to. Please attach your testcase from PR37230 and
> if it could be reduced for x86_64-unknow-linux-gnu by Andrew or someone else,
> that would be extremely helpful.

Test case from PR37230. Run as:
$ gcc -Wconversion test2.i

That gives the mentioned segfault and the valgrind error on my
x86_64-unknow-linux-gnu.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37217



More information about the Gcc-bugs mailing list