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~