[Bug c/38570] 'GCC/THUMB generates sub-optimal prolog/epilog

2008-12-18 Thread daniel dot sherwood at sepura dot com
--- Comment #4 from daniel dot sherwood at sepura dot com 2008-12-18 17:22 --- Following comment received from richard.earns...@arm.com by e-mail. == Hmm, yes, I think this is happening because the body of the function contains branch instructions. The Thumb branch instructions h

[Bug c/38570] 'GCC/THUMB generates sub-optimal prolog/epilog

2008-12-18 Thread daniel dot sherwood at sepura dot com
--- Comment #3 from daniel dot sherwood at sepura dot com 2008-12-18 17:21 --- Created an attachment (id=16932) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16932&action=view) gcc -v output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38570

[Bug c/38570] 'GCC/THUMB generates sub-optimal prolog/epilog

2008-12-18 Thread daniel dot sherwood at sepura dot com
--- Comment #2 from daniel dot sherwood at sepura dot com 2008-12-18 17:20 --- Created an attachment (id=16931) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16931&action=view) Generated assembly -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38570

[Bug c/38570] 'GCC/THUMB generates sub-optimal prolog/epilog

2008-12-18 Thread daniel dot sherwood at sepura dot com
--- Comment #1 from daniel dot sherwood at sepura dot com 2008-12-18 17:20 --- Created an attachment (id=16930) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16930&action=view) Source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38570