------- Additional Comments From pinskia at gcc dot gnu dot org 2005-10-01 17:34 ------- (In reply to comment #2) > Those expressions are only the same for floating point types.
But -a for INT_MIN is undefined for signed type since it is an overflow. So the conversion is only valid for -fno-wrapv which is default for C, C++, Ada, and fortran. -- What |Removed |Added ---------------------------------------------------------------------------- Summary|fold does convert (-a)/10 |fold does convert (-a)/10 |into a/-10. |into a/-10 with -fno-wrapv http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23669