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

2011-11-07 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 --- Comment #25 from Alan Modra amodra at gmail dot com 2011-11-08 05:21:57 UTC --- Actually, the testcase in #1 still fails on gcc-4.4. Looks like gcc-4.4 (and earlier) need to use a bigger blockage.

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

2011-11-06 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 --- Comment #18 from Alan Modra amodra at gcc dot gnu.org 2011-11-07 01:14:37 UTC --- Author: amodra Date: Mon Nov 7 01:14:33 2011 New Revision: 181056 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=181056 Log: PR target/30282 *

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

2011-11-06 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 --- Comment #19 from Alan Modra amodra at gcc dot gnu.org 2011-11-07 01:15:13 UTC --- Author: amodra Date: Mon Nov 7 01:15:08 2011 New Revision: 181057 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=181057 Log: PR target/30282 *

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

2011-11-06 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 --- Comment #20 from Alan Modra amodra at gcc dot gnu.org 2011-11-07 01:15:42 UTC --- Author: amodra Date: Mon Nov 7 01:15:35 2011 New Revision: 181058 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=181058 Log: PR target/30282 *

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

2011-11-06 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 --- Comment #21 from Alan Modra amodra at gcc dot gnu.org 2011-11-07 01:16:06 UTC --- Author: amodra Date: Mon Nov 7 01:16:01 2011 New Revision: 181059 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=181059 Log: PR target/30282 *

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

2011-11-06 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 --- Comment #22 from Alan Modra amodra at gcc dot gnu.org 2011-11-07 01:39:11 UTC --- Author: amodra Date: Mon Nov 7 01:39:08 2011 New Revision: 181060 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=181060 Log: PR target/30282 *

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

2011-11-06 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 --- Comment #23 from Alan Modra amodra at gcc dot gnu.org 2011-11-07 01:39:24 UTC --- Author: amodra Date: Mon Nov 7 01:39:22 2011 New Revision: 181061 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=181061 Log: PR target/30282 *

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

2011-11-06 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 Alan Modra amodra at gmail dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

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

2011-10-13 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 Peter Bergner bergner at gcc dot gnu.org changed: What|Removed |Added CC||bergner at gcc

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

2011-08-05 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 --- Comment #15 from Alan Modra amodra at gmail dot com 2011-08-05 16:23:04 UTC --- Created attachment 24922 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24922 belt and braces fix for rs6000.c This fix goes overboard to guard against

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

2011-08-05 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 --- Comment #16 from Alan Modra amodra at gmail dot com 2011-08-05 16:29:02 UTC --- Created attachment 24923 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24923 minimal rs6000.c fix This fix just ensures we have a stack tie at the ABI_V4

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

2011-08-03 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 Alan Modra amodra at gmail dot com changed: What|Removed |Added Status|NEW |ASSIGNED

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

2010-09-21 Thread darrenrjenkins at gmail dot com
--- Comment #13 from darrenrjenkins at gmail dot com 2010-09-22 00:20 --- I seem to be getting this bug on arm thumb also USB_INT16U ReadLE16U ( volatile USB_INT08U *pmem ) { USB_INT16U val; USB_INT08U *bytes = (USB_INT08U *)val; bytes[0] = pmem[0]; bytes[1] =

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

2010-09-21 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2010-09-22 00:33 --- (In reply to comment #13) I seem to be getting this bug on arm thumb also That is a different bug, see PR 38644. This bug records the PowerPC specific bug. --

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

2010-02-06 Thread rearnsha at gcc dot gnu dot org
--- Comment #12 from rearnsha at gcc dot gnu dot org 2010-02-06 13:03 --- Yes, this could be fixed in the Thumb back-end by doing it the same way as the ARM back-end does. However, I still think that is papering over a subtle problem in the scheduler. This is an insidious problem

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

2010-02-05 Thread wilson at codesourcery dot com
--- Comment #11 from wilson at codesourcery dot com 2010-02-06 06:23 --- Subject: Re: Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none On Thu, 2010-02-04 at 10:48 +, rearnsha at gcc dot gnu dot org wrote: I've been testing the attached patch

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

2010-02-04 Thread rearnsha at gcc dot gnu dot org
--- Comment #8 from rearnsha at gcc dot gnu dot org 2010-02-04 10:48 --- Created an attachment (id=19803) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19803action=view) Possible patch I've been testing the attached patch on ARM (well, thumb) where there's a similar issue. It's

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

2010-02-04 Thread Andrew Pinski
Sent from my iPhone On Feb 4, 2010, at 2:48 AM, rearnsha at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org wrote: --- Comment #8 from rearnsha at gcc dot gnu dot org 2010-02-04 10:48 --- Created an attachment (id=19803) --

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

2010-02-04 Thread pinskia at gmail dot com
--- Comment #9 from pinskia at gmail dot com 2010-02-04 16:36 --- Subject: Re: Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none Sent from my iPhone On Feb 4, 2010, at 2:48 AM, rearnsha at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org wrote:

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

2010-02-04 Thread wilson at tuliptree dot org
--- Comment #10 from wilson at tuliptree dot org 2010-02-04 22:16 --- Subject: Re: Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none On Thu, 2010-02-04 at 16:36 +, pinskia at gmail dot com wrote: Well powerpc64 it is valid to move across the

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

2010-02-03 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2010-02-04 07:36 --- *** Bug 42953 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[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 target/30282] Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-27 21:51 --- (In reply to comment #5) (From update of attachment 16992 [edit]) I've tripped over this bug on arm-eabi too, with this code, compiled as thumb. Except this bug is about ppc sysv ABI and not really about

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

2007-05-11 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-05-11 13:16 --- *** Bug 31898 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

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

2007-02-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-02-08 19:17 --- *** Bug 30736 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

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

2006-12-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-23 10:31 --- For 4.0 and above your sample code works but that is a different issue. Here is a testcase which fails for 4.0 and above: int find_num(int i) { int arr[5] = {0, 1, 2, 3, 4}; return arr[i]; } The problem