[Bug tree-optimization/40582] [4.5 Regression] ice for non-trivial conversion at assignment with -O2
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jun 29 12:05:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list