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/24142] VRP miscompiles unzip inflate.c


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-30 10:19 -------
Slightly reduced:

int bar(void);
int foobar(void);
extern unsigned bd;
int foo(void)
{
  int retval = bar();
  if (retval == 1)
    retval = 0;
  if (bd == 0)
    retval = 1;
  if (retval)
    return retval;

  return foobar();
}


-- 


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


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