[Bug preprocessor/36123] wrong #if 1/-2 and (-1)/2 overflow warnings

2008-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-05-04 18:47 --- Closing as fixed then. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/36123] wrong #if 1/-2 and (-1)/2 overflow warnings

2008-05-04 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-05-04 18:43 --- Note that this was fixed by: 2007-05-02 Eric Christopher <[EMAIL PROTECTED]> * expr.c (num_div_op): Don't overflow if the result is zero. This is in 4.3. -- tromey at gcc dot gnu dot org chang