[Bug middle-end/39666] spurious warning with ranged-switch statements

2009-04-29 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-04-29 11:52 --- In C: int foo (int i) { int j; switch (i) { case -__INT_MAX__ - 1 ... -1: j = 6; break; case 0: j = 5; break; case 1 ... __INT_MAX__: j = 4; break; }

[Bug middle-end/39666] spurious warning with ranged-switch statements

2009-04-29 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-04-29 13:54 --- Created an attachment (id=17778) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17778action=view) gcc44-pr39666.patch Fix I'm going to bootstrap/regtest soon. -- jakub at gcc dot gnu dot org changed:

[Bug middle-end/39666] spurious warning with ranged-switch statements

2009-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-28 23:14 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added