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 21:53:27 -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 #11 from manu at gcc dot gnu dot org 2008-08-25 21:53 -------
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #8)
> > > However, the testcase is too big for the testsuite...
> > The C++ testcase I attached is small. See comment #4.
>
> I don't get the ICE with that testcase in x86_64-unknown-linux-gnu.
>
Reduced testcase for x86_64-unknown-linux-gnu.
typedef struct Tcl_ResolvedVarInfo {
char *re_guts;
} regex_t;
void TclReComp(regex_t *re)
{
if (re->re_guts == ((void *)0)) ;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37217