This is the mail archive of the
mailing list for the GCC project.
Re: -fno-tree-cselim not working?
>>>>> "David" == David Miller <email@example.com> writes:
David> I suspect that local.a++ will be represented as a frame relative
David> access. Test compiles show that gcc does update the on-stack
David> copy on Sparc,
It does on i386 too.
David> now just to check if the conditional memory operation cases
David> trigger here too.
It doesn't because you have the spin_unlock() in the "then" part so it
is no longer a single assignment (the only case that gets "optimized"
Samuel Tardieu -- firstname.lastname@example.org -- http://www.rfc1149.net/