https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66325
Jan Hubicka changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66325
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |6.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66325
--- Comment #4 from Jan Hubicka ---
Author: hubicka
Date: Sun Jun 14 07:05:03 2015
New Revision: 224463
URL: https://gcc.gnu.org/viewcvs?rev=224463&root=gcc&view=rev
Log:
PR middle-end/66325
* c-decl.c (start_enum): Set TYPE_PA
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66325
--- Comment #3 from Jan Hubicka ---
OK, I found where the packed flag is originating from. It is start_enum that
set TYPE_PACKED for flag_short_enums. I suppose it needs to iterate through all
variants.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66325
Ramana Radhakrishnan changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66325
--- Comment #1 from Jan Hubicka ---
> The ICE backtrace is:
>
> 930408-1.c:6:1: error: type variant differs by TYPE_PACKED.
> } s;
> ^
>
> I see this at least as far back as r223695 and it appears on trunk at r223800.
> Honza, is this relat