[Bug target/30282] Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none

2008-12-27 Thread davejmurphy at me dot com
--- Comment #4 from davejmurphy at me dot com 2008-12-27 21:46 --- Created an attachment (id=16992) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16992action=view) preprocessed source for arm-eabi testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282

[Bug target/30282] Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none

2008-12-27 Thread davejmurphy at me dot com
--- Comment #5 from davejmurphy at me dot com 2008-12-27 21:48 --- (From update of attachment 16992) I've tripped over this bug on arm-eabi too, with this code, compiled as thumb. extern int doStreamReadBlock(int *, char *, int size, int); char readStream(int *s) { char c = 0

[Bug c/38644] New: Optimization flag -O1 -fschedule-insns2 causes wrong code

2008-12-27 Thread davejmurphy at me dot com
: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: davejmurphy at me dot com GCC build triplet: i386-apple-darwin9.6.0 GCC host triplet: i386-apple-darwin9.6.0 GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644

[Bug c/38644] Optimization flag -O1 -fschedule-insns2 causes wrong code

2008-12-27 Thread davejmurphy at me dot com
--- Comment #1 from davejmurphy at me dot com 2008-12-27 22:10 --- Created an attachment (id=16993) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16993action=view) preprocessed source for arm-eabi testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644