This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch RFC] SH: -fstack-protector support


Joern RENNECKE <joern.rennecke@st.com> wrote:
> The stack_protect_test pattern agrees with the use in 
> function.c:stack_protect_epilogue,
> but it does not agree with the documentation in md.texi.  Either 
> stack_protect_epilogue
> and the stack_protect_test definitions, or the stack_protect_test 
> documentation are wrong.

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.

Regards,
	kaz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]