[Bug target/40525] missed optimization in conditional expression

2009-06-23 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2009-06-23 12:31 --- This is the usual idiotic behavior of ifcvt.c for targets that have conditional execution, but not for all insns. Normally the find_if_case_1() transformation should handle this optimization. But the dead_or_predica

[Bug target/40525] missed optimization in conditional expression

2009-06-23 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-06-23 09:47 --- This should be done in if conversion. I'll have a look. -- steven at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/40525] missed optimization in conditional expression

2009-06-23 Thread carrot at google dot com
--- Comment #2 from carrot at google dot com 2009-06-23 09:09 --- Created an attachment (id=18053) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18053&action=view) test case Compile the attached code with options -mthumb -march=armv5te -Os, gcc generates push{lr}

[Bug target/40525] missed optimization in conditional expression

2009-06-23 Thread ramana at gcc dot gnu dot org
--- Comment #1 from ramana at gcc dot gnu dot org 2009-06-23 09:05 --- Can you specify options , example, target under consideration and version of the source tree considered ? -- ramana at gcc dot gnu dot org changed: What|Removed |Added -