[Bug c/38571] GCC/THUMB generates unnecessary padding between functions

2008-12-18 Thread daniel dot sherwood at sepura dot com
--- Comment #5 from daniel dot sherwood at sepura dot com 2008-12-18 17:43 --- Following comment received from richard.earns...@arm.com by e-mail. == Often this is necessary (for example, if the function contains a literal pool); but it isn't always so. Again, if there

[Bug c/38571] GCC/THUMB generates unnecessary padding between functions

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:42 --- Created an attachment (id=16936) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16936&action=view) Generated assembly -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38571

[Bug c/38571] GCC/THUMB generates unnecessary padding between functions

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:42 --- Created an attachment (id=16934) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16934&action=view) Source --- Comment #3 from daniel dot sherwood at sepura dot com 2008-12-1

[Bug c/38571] GCC/THUMB generates unnecessary padding between functions

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:42 --- Created an attachment (id=16934) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16934&action=view) Source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38571

[Bug c/38571] GCC/THUMB generates unnecessary padding between functions

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:41 --- Created an attachment (id=16933) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16933&action=view) gcc -v output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38571

[Bug c/38571] New: GCC/THUMB generates unnecessary padding between functions

2008-12-18 Thread daniel dot sherwood at sepura dot com
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: daniel dot sherwood at sepura dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-mingw32 GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38571

[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

[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

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

2008-12-18 Thread daniel dot sherwood at sepura dot com
ty: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: daniel dot sherwood at sepura dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-mingw32 GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38570