http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47638
--- Comment #3 from Ádám Rák 2011-02-08
00:54:50 UTC ---
I agree, DECL_SIZE(var) == 0 should be an ICE, with sometime like "layout
error" or missing layout for variable.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47638
--- Comment #2 from Andrew Pinski 2011-02-08
00:45:57 UTC ---
If you are going to change it to be anything, I think it should be an internal
error rather than an user error as the user program (from any front-end) should
not be able to get to the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47638
--- Comment #1 from Andrew Pinski 2011-02-08
00:35:10 UTC ---
We should not get to where we are outputting the error message if the layout
has not been done.