[Bug c/45416] Code size regression between 4.6(4.5) and 4.4

2010-08-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-08-26 12:43 --- It works for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45416

[Bug c/45416] Code size regression between 4.6(4.5) and 4.4

2010-08-26 Thread bmei at broadcom dot com
--- Comment #2 from bmei at broadcom dot com 2010-08-26 12:47 --- Sorry, I first observed this on our target. Then I tried to reproduce on x86, but I forgot to turn on optimization flags. It does work for x86. Please delete this report. I will figure out what happen with my target.

[Bug c/45416] Code size regression between 4.6(4.5) and 4.4

2010-08-26 Thread bmei at broadcom dot com
--- Comment #3 from bmei at broadcom dot com 2010-08-26 12:55 --- I found I can reproduce the bug with ARM ARM trunk -Os: foo: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. mov r2,

[Bug c/45416] Code size regression between 4.6(4.5) and 4.4 for ARM

2010-08-26 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2010-08-26 14:01 --- (In reply to comment #3) I found I can reproduce the bug with ARM I see this too on armv5tel-linux-gnueabi. gcc-4.4.4 -Os generates 3 instructions for the body of foo(), 4.5.1 and 4.6.0 generate 8 instructions. --