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 tree-optimization/30564] [4.3 Regression] ice for legal code with -O3



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-01-24 07:20 -------
Reduced testcase:
static int RawOrEnc = 0;
static inline void addpair(int fp, int un)
{
  if (RawOrEnc == 0 && fp != un)
    RawOrEnc = 1;
}
int f(int un0, char *a, unsigned int __s2_len)
{
  addpair(un0, un0);
  __s2_len < 4 ? __builtin_strcmp (a, "-") : 0;
}


-- 


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


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