------- Comment #3 from rguenth at gcc dot gnu dot org  2010-04-02 12:50 -------
Really a CCP bug.

int flag;
extern void abort (void);
int main()
{
  int x;
  if (flag)
    x = -1;
  else
    x &= 0xff;
  if (x & ~0xff)
    abort ();
  return 0;
}


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.3/4.4 Regression] Struct |[4.3/4.4/4.5 Regression]
                   |to register optimization    |Struct to register
                   |fails                       |optimization fails


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

Reply via email to