[Bug middle-end/24851] [4.1 Regression] f2c miscompilation

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 14 17:29:00 GMT 2005



------- Comment #10 from pinskia at gcc dot gnu dot org  2005-11-14 17:29 -------
Actually I was wrong on which patch caused/exposed this,
This was caused by:
2005-05-14  Richard Guenther  <rguenth@gcc.gnu.org>

        * fold-const.c (div_if_zero_remainder): New function.
        (try_move_mult_to_index): Use it.

div_if_zero_remainder uses the unsigned ness of the domain, which is wrong.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24851



More information about the Gcc-bugs mailing list