------- Comment #2 from rguenth at gcc dot gnu dot org 2007-11-20 15:36 ------- Confirmed. HWI32 problem. The middle-end uses HWI for computing with the case values. Up to 4.1.1, gcc ICEs for me on the testcase, from 4.1.1 on wrong code is emitted.
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|c |middle-end Ever Confirmed|0 |1 GCC host triplet|i686-pc-linux-gnu |hwi32 Keywords| |wrong-code Known to fail| |4.1.3 4.2.2 4.3.0 Last reconfirmed|0000-00-00 00:00:00 |2007-11-20 15:36:30 date| | Summary| gcc 4.1.1 bug / case ranges|gcc 4.1.1 bug / case ranges |/ unsigned long long |/ unsigned long long http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34154