[Bug middle-end/46685] [4.6 Regression] New stack alignment failures with -fpic

2010-12-02 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #11 from Eric Botcazou 2010-12-02 11:30:54 UTC --- > Alternatively, we could do something like: > --- gcc/config/sparc/sparc.c.jj2010-11-26 18:39:04.0 +0100 > +++ gcc/config/sparc/sparc.c2010-11-29 15:35:00.727219374 +

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures with -fpic

2010-12-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #10 from Jakub Jelinek 2010-12-02 08:40:08 UTC --- I'd actually prefer to go with the sparc.c change (probably including flag_reorder_blocks_and_partition), then hppa could just write its own function_section hook as a wrapper around

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures with -fpic

2010-11-30 Thread dave at hiauly1 dot hia.nrc.ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #9 from dave at hiauly1 dot hia.nrc.ca 2010-11-30 22:22:22 UTC --- On Tue, 30 Nov 2010, John David Anglin wrote: > > On the other side, the above is still broken with > > -freorder-blocks-and-partition and I guess even before Honza's c

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures with -fpic

2010-11-30 Thread dave at hiauly1 dot hia.nrc.ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #8 from dave at hiauly1 dot hia.nrc.ca 2010-11-30 21:52:57 UTC --- > On the other side, the above is still broken with > -freorder-blocks-and-partition and I guess even before Honza's change it has > been broken. flag_reorder_blocks_an

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures

2010-11-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #7 from Jakub Jelinek 2010-11-29 15:17:30 UTC --- I guess we could do something like: --- varasm.c.jj2010-11-29 12:39:07.0 +0100 +++ varasm.c2010-11-29 15:15:53.0 +0100 @@ -534,6 +534,15 @@ section * default_f

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures

2010-11-29 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #6 from Eric Botcazou 2010-11-29 11:58:56 UTC --- > What is the assembly difference on SPARC Linux? The only difference I see > with > a cross compiler to sparc64-linux, both for -O1 -m32 -mptr32 and -O1 -m64 is > .section.text.

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures

2010-11-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5 f

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures

2010-11-28 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 Eric Botcazou changed: What|Removed |Added Target|hppa-unknown-linux-gnu |hppa,sparc-unknown-linux-gn

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures

2010-11-28 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 John David Anglin changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures

2010-11-28 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 John David Anglin changed: What|Removed |Added Target Milestone|4.6.0 |--- --- Comment #3 from John David An

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures

2010-11-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures

2010-11-27 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #2 from John David Anglin 2010-11-27 16:53:41 UTC --- ldo -62(%r30),%r23 bl qsort,%r2 The offset of -62 is misaligned. r23 should point to a plabel. plabels have to be 4-byte aligned.

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures

2010-11-27 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #1 from John David Anglin 2010-11-27 16:33:36 UTC --- Although the printouts don't show it, the fails are with -fpic. The non pic versions don't fail. In the nested-6.c case, it appears the procedure label for the call to compare fro