------- Comment #4 from reichelt at gcc dot gnu dot org  2009-06-29 12:04 
-------
Reduced tescase (crashes with "-O"):

=================================
struct A
{
  void* q;
  int i;
};

union U
{
  char* p;
  struct A a;
};

struct A foo(union U u)
{
  struct A a = { 0, 0 };
  a = u.a;
  return a;
}
=================================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org


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

Reply via email to