This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37217] [4.4 Regression] -Wconversion causes ICE with __builtin_strcmp with one char compare
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2008 10:22:05 -0000
- Subject: [Bug c++/37217] [4.4 Regression] -Wconversion causes ICE with __builtin_strcmp with one char compare
- References: <bug-37217-6183@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from manu at gcc dot gnu dot org 2008-08-25 10:22 -------
(In reply to comment #5)
> Manuel, I think it was caused by your check in for:
>
> 2008-08-17 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
>
> PR c++/35602
> * c-common.c (conversion_warning): Do not want for artificial
> expressions.
>
> It fits time wise and valgrind points at lines you added there.
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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37217