[Bug optimization/14705] [tree-ssa] more alias analysis needed!?

kazu at cs dot umass dot edu gcc-bugzilla@gcc.gnu.org
Wed Mar 24 17:32:00 GMT 2004


------- Additional Comments From kazu at cs dot umass dot edu  2004-03-24 17:32 -------
Another similar testcase reduced from web.c.

extern void abort (void) __attribute__ ((__noreturn__));

struct s {
  int a;
  int b;
};

void
bar (struct s *p)
{
  if (p->a)
    abort ();

  p->b = 0;

  if (p->a)
    abort ();
}


-- 


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



More information about the Gcc-bugs mailing list