This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49903] [avr] Redundant comparisons in binary-search switch/case expansion
- From: "rth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 2 Aug 2011 00:11:54 +0000
- Subject: [Bug target/49903] [avr] Redundant comparisons in binary-search switch/case expansion
- Auto-submitted: auto-generated
- References: <bug-49903-4@http.gcc.gnu.org/bugzilla/>
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.