This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PARCH 1/2, x86, PR63534] Fix darwin bootstrap
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Evgeny Stupachenko <evstupac at gmail dot com>, Uros Bizjak <ubizjak at gmail dot com>, Jakub Jelinek <jakub at redhat dot com>, iains at gcc dot gnu dot org
- Date: Sat, 08 Nov 2014 10:24:35 +0100
- Subject: Re: [PARCH 1/2, x86, PR63534] Fix darwin bootstrap
- Authentication-results: sourceware.org; auth=none
- References: <CAOvf_xwDUU=gsQqHgybovAFHbn1+OVHYNBw+=xG0jau1wG2HDg at mail dot gmail dot com> <1957079 dot oQVz9pGRy8 at polaris> <545D2650 dot 5040100 at redhat dot com>
> So that code creates a set of conflicts which, if I'm reading correctly,
> will prevent the PIC value from living in a register at all. Which
> ought to result in it being dumped into the stack and being reloaded for
> each use. Which ought to be safe (modulo the liveness bug Vlad is
> working on right now).
>
> Does that sound right to either of you?
Yes, that's also my understanding of the code and the behavior required by
builtin setjmp/longjmp. I can add that the Ada compiler would fall apart if
this didn't work correctly in the compiler, and especially in the RA.
--
Eric Botcazou