------- Comment #5 from pinskia at gcc dot gnu dot org 2006-09-17 07:59 ------- (In reply to comment #2) > Two things, we just don't jump thread. The testcase mentioned in comment #2 is fixed but we still don't make an infinite loop for the orginal case: <L9>:; switch (i_lsm.25) { case 0 ... 1: goto <L1>; case 2 ... 3: goto <L12>; case 5: goto <L5>; default : goto <L9>; } <L5>:; i_lsm.25 = 4; goto <bb 3> (<L9>); ... Which is obvious an infinite loop but we still go through the switch every time.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2006-01-21 03:00:56 |2006-09-17 07:59:49 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20514