This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch RFC] SH: -fstack-protector support
Kaz Kojima wrote:
It seems a typo in the stack_protect_test documentation.
This pattern, if defined, compares a @code{Pmode} value from the
memory in operand 1 with the memory in operand 0 without leaving the
value in a register afterward and branches to operand 2 if the values
weren't equal.
^^^
The last line should be "were equal", shouldn't it? i386 and ppc
implementations do so.
That is a likely explanation, but till we get clarification from Jacub, we
also have to consider the possibility that it was a bug in the original
implementation that was copied to the ppc port.