------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 16:04 ------- Confirmed, reduced testcase: typedef enum { IssueItemFlag_Discard = 0x1 } IssueItemFlag; void BlockRegion_findInvariants(IssueItemFlag invariant, unsigned char a) { a |= invariant; }
Only -fshort-enums is needed to reproduce the bug. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 GCC build triplet|i686-pc-linux-gnu |i686-pc-linux-gnu GCC host triplet|i686-pc-linux-gnu |i686-pc-linux-gnu GCC target triplet|i686-pc-linux-gnu |i686-pc-linux-gnu Keywords| |ice-on-valid-code Known to fail| |4.0.0 4.1.0 Known to work| |3.4.0 Last reconfirmed|0000-00-00 00:00:00 |2005-07-05 16:04:30 date| | Summary|internal compiler error: in |[4.0/4.1 Regression] |c_common_type, at c- |internal compiler error: in |typeck.c:531 |c_common_type (-fshort- | |enums) Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22311