[Bug target/49903] [avr] Redundant comparisons in binary-search switch/case expansion

rth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 2 00:12:00 GMT 2011


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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu.org

--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-02 00:11:34 UTC ---
It would certainly be quite a lot of work, but this sort of thing *is*
handled by pass_compare_elim_after_reload.  That requires exposing the
flags register as a CCmode quantity.

C.f. the mn10300 port.



More information about the Gcc-bugs mailing list