[Bug target/83368] alloca after setjmp breaks PIC base reg

2019-02-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #20 from Eric Botcazou --- > Thanks for the fix; is this a candidate for backporting to the gcc-7 branch? > If not we can just carry it in Debian, but it would be nicer to have it > upstream. Sorry, it looks like I missed this

[Bug target/83368] alloca after setjmp breaks PIC base reg

2018-01-24 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #19 from James Clarke --- Thanks for the fix; is this a candidate for backporting to the gcc-7 branch? If not we can just carry it in Debian, but it would be nicer to have it upstream.

[Bug target/83368] alloca after setjmp breaks PIC base reg

2018-01-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/83368] alloca after setjmp breaks PIC base reg

2018-01-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #17 from Eric Botcazou --- Author: ebotcazou Date: Fri Jan 12 11:29:30 2018 New Revision: 256575 URL: https://gcc.gnu.org/viewcvs?rev=256575=gcc=rev Log: PR target/83368 * config/sparc/sparc.h

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 Eric Botcazou changed: What|Removed |Added Status|RESOLVED|NEW Resolution|WONTFIX

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #14 from James Clarke --- (In reply to Eric Botcazou from comment #12) > > Can't be done without an ABI break. But it is just the PIC register, and I'm > > still of the view this is a GCC bug. You seem to not be listening to my > >

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #13 from James Clarke --- (In reply to Eric Botcazou from comment #11) > > > Again you're wrong, the call-saved registers are properly preserved if you > > > don't clobber the stack pointer, just write a small test or simply tweak >

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #12 from Eric Botcazou --- > Can't be done without an ABI break. But it is just the PIC register, and I'm > still of the view this is a GCC bug. You seem to not be listening to my > arguments and just reciting that "setjmp must save

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #11 from Eric Botcazou --- > > Again you're wrong, the call-saved registers are properly preserved if you > > don't clobber the stack pointer, just write a small test or simply tweak > > yours. > > Yes, I know that. OK, at least

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #10 from James Clarke --- (In reply to James Clarke from comment #9) > (In reply to Eric Botcazou from comment #7) > > > And for what it's worth, 32-bit Solaris/SPARC's setjmp isn't saving any of > > > the caller's input or local

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #9 from James Clarke --- (In reply to Eric Botcazou from comment #7) > > And for what it's worth, 32-bit Solaris/SPARC's setjmp isn't saving any of > > the caller's input or local registers either, so it's not glibc-specific. > >

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #8 from Eric Botcazou --- > You already have code in sched-deps.c to deal with setjmp potentially not > saving registers it should across all architectures: > > if (find_reg_note (insn, REG_SETJMP, NULL)) > { >

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 Eric Botcazou changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 --- Comment #6 from James Clarke --- And for what it's worth, 32-bit Solaris/SPARC's setjmp isn't saving any of the caller's input or local registers either, so it's not glibc-specific.

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 James Clarke changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 Eric Botcazou changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-18 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 James Clarke changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|