This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Obvious fix applied to sh.c
- From: Joern RENNECKE <joern dot rennecke at st dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 04 Jul 2005 15:55:51 +0100
- Subject: Obvious fix applied to sh.c
\; is translated by read-rtl.c into \n\t, so this abbreviation is not
available in *.c files.
Until recently, the assembler has accepted \; as a statement separator,
so the incorrect
usage in sh.c went undetected for a while.
2005-07-04 J"orn Rennecke <joern.rennecke@st.com>
* sh.c (output_ieee_ccmpeq): Replace "\\;" with "\n\t".
Index: config/sh/sh.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.c,v
retrieving revision 1.335
diff -p -r1.335 sh.c
*** config/sh/sh.c 3 Jul 2005 05:21:42 -0000 1.335
--- config/sh/sh.c 4 Jul 2005 14:48:05 -0000
*************** output_branchy_insn (enum rtx_code code,
*** 1686,1692 ****
const char *
output_ieee_ccmpeq (rtx insn, rtx *operands)
{
! return output_branchy_insn (NE, "bt\t%l9\\;fcmp/eq\t%1,%0", insn, operands);
}
/* Output the start of the assembler file. */
--- 1686,1693 ----
const char *
output_ieee_ccmpeq (rtx insn, rtx *operands)
{
! return output_branchy_insn (NE, "bt\t%l9\n\tfcmp/eq\t%1,%0",
! insn, operands);
}
/* Output the start of the assembler file. */