http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483
Dmitry Gorbachev <d.g.gorbachev at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d.g.gorbachev at gmail dot | |com --- Comment #3 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-04-06 22:38:20 UTC --- Simpler testcase: int main(void) { struct S { int a; } s; return s.a; } It's a regression (latest working version is 4.4). I think there is a duplicate PR somewhere.