------- Comment #6 from jamborm at gcc dot gnu dot org  2009-09-07 14:30 -------
A reduced testcase is below. It fails only on x86_64 for me as does
the preprocessed source.  SRA has different inputon i586.  However,
the bug is generic and can probably be triggered on any platform.

struct S
{
  unsigned int iu;
};

union U
{
  struct S s;
  signed int is;
};

extern signed int bar ();

struct S foo (void)
{
  union U u;

  u.is = bar ();
  return u.s;
}


-- 


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

Reply via email to