[Bug target/40615] unnecessary CSE

2009-07-02 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-07-02 09:39 --- (In reply to comment #3) > Is there a C test case? Can you add objdump of the gcc-generated asm and the > fixed asm to show the impact on code size? (/me is surprised that 3*"add > r0,sp,4" is smaller than 1**"add r0

[Bug target/40615] unnecessary CSE

2009-07-02 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-07-02 09:15 --- Is there a C test case? Can you add objdump of the gcc-generated asm and the fixed asm to show the impact on code size? (/me is surprised that 3*"add r0,sp,4" is smaller than 1**"add r0,sp,4"+3*"mov r0,r4"... Thumb i

[Bug target/40615] unnecessary CSE

2009-07-02 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2009-07-02 08:53 --- This looks like one of those rematerialization problems albeit with the stack pointer this time. -- ramana at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/40615] unnecessary CSE

2009-07-02 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-07-02 07:39 --- Created an attachment (id=18120) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18120&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40615