[Bug target/18065] wrong built-in functions selected

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 19 20:39:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-19 20:39 -------
    char ss = s % s ; //<__divmodhi4> wrong, should be 8-bit <__divmodqi4>
This is not wrong as we sign extend the arguments as required by the C standard (to int).

So this is just an missed-optimization.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |minor
          Component|c                           |target
           Keywords|                            |missed-optimization


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



More information about the Gcc-bugs mailing list