This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]