This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New __atomic builtins generating an unwanted/unneeded stack slot
- From: Richard Henderson <rth at redhat dot com>
- To: Frederic Riss <frederic dot riss at gmail dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 28 Oct 2013 11:33:56 -0700
- Subject: Re: New __atomic builtins generating an unwanted/unneeded stack slot
- Authentication-results: sourceware.org; auth=none
- References: <CAKk_3s8cfPM+jsD2zudN+rHQXNs2T4xW21507WeV0c_=kMHrpg at mail dot gmail dot com>
On 10/28/2013 02:25 AM, Frederic Riss wrote:
> Is there a clean way to have the compiler discard the unneeded stack slot?
Not yet. There is a rewrite of the atomic support in gcc to
move away from using builtins, which will allow two outputs
to be ssa allocacted. But this will not be complete for 4.9.
r~