[Bug tree-optimization/20514] hoisting of label out of jumptable would take place at cse, should happen at trees
aldot at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 14 15:01:00 GMT 2007
------- Comment #6 from aldot at gcc dot gnu dot org 2007-12-14 15:00 -------
Still present on current trunk (20071214).
This used to work with 3.4.6:
.L14:
cmpl $5, %eax
ja .L14
.ident "GCC: (GNU) 3.4.6 (Debian 3.4.6-6)"
Not quite optimal though since this would be even better:
.L14:
cmpl $5,%eax
ja .L4711
.L4711:
jmp .L4711
(or something to that effect).
--
aldot at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aldot at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20514
More information about the Gcc-bugs
mailing list