Commit 6b28fd63 by Jeffrey A Law Committed by Jeff Law

i386.c (output_387_binary_op): Add some braces to avoid warnings.

        * i386.c (output_387_binary_op): Add some braces to avoid warnings.
        * i386.h (REG_CLASS_CONTENTS): Similarly.

From-SVN: r19592
parent 71ebb3b8
...@@ -18,6 +18,9 @@ Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com> ...@@ -18,6 +18,9 @@ Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com) Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
* i386.c (output_387_binary_op): Add some braces to avoid warnings.
* i386.h (REG_CLASS_CONTENTS): Similarly.
* toplev.c (-fsched-max): Delete flag. * toplev.c (-fsched-max): Delete flag.
(-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise. (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
* haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
......
...@@ -3876,10 +3876,12 @@ output_387_binary_op (insn, operands) ...@@ -3876,10 +3876,12 @@ output_387_binary_op (insn, operands)
} }
if (find_regno_note (insn, REG_DEAD, REGNO (operands[2]))) if (find_regno_note (insn, REG_DEAD, REGNO (operands[2])))
{
if (STACK_TOP_P (operands[0])) if (STACK_TOP_P (operands[0]))
return strcat (buf, AS2 (p,%0,%2)); return strcat (buf, AS2 (p,%0,%2));
else else
return strcat (buf, AS2 (p,%2,%0)); return strcat (buf, AS2 (p,%2,%0));
}
if (STACK_TOP_P (operands[0])) if (STACK_TOP_P (operands[0]))
return strcat (buf, AS2C (%y2,%0)); return strcat (buf, AS2C (%y2,%0));
...@@ -3910,16 +3912,20 @@ output_387_binary_op (insn, operands) ...@@ -3910,16 +3912,20 @@ output_387_binary_op (insn, operands)
abort (); abort ();
if (find_regno_note (insn, REG_DEAD, REGNO (operands[2]))) if (find_regno_note (insn, REG_DEAD, REGNO (operands[2])))
{
if (STACK_TOP_P (operands[0])) if (STACK_TOP_P (operands[0]))
return strcat (buf, AS2 (p,%0,%2)); return strcat (buf, AS2 (p,%0,%2));
else else
return strcat (buf, AS2 (rp,%2,%0)); return strcat (buf, AS2 (rp,%2,%0));
}
if (find_regno_note (insn, REG_DEAD, REGNO (operands[1]))) if (find_regno_note (insn, REG_DEAD, REGNO (operands[1])))
{
if (STACK_TOP_P (operands[0])) if (STACK_TOP_P (operands[0]))
return strcat (buf, AS2 (rp,%0,%1)); return strcat (buf, AS2 (rp,%0,%1));
else else
return strcat (buf, AS2 (p,%1,%0)); return strcat (buf, AS2 (p,%1,%0));
}
if (STACK_TOP_P (operands[0])) if (STACK_TOP_P (operands[0]))
{ {
......
...@@ -710,7 +710,7 @@ enum reg_class ...@@ -710,7 +710,7 @@ enum reg_class
of length N_REG_CLASSES. */ of length N_REG_CLASSES. */
#define REG_CLASS_CONTENTS \ #define REG_CLASS_CONTENTS \
{ 0, \ {{ 0, \
0x1, 0x2, 0x4, 0x8, /* AREG, DREG, CREG, BREG */ \ 0x1, 0x2, 0x4, 0x8, /* AREG, DREG, CREG, BREG */ \
0x3, /* AD_REGS */ \ 0x3, /* AD_REGS */ \
0xf, /* Q_REGS */ \ 0xf, /* Q_REGS */ \
...@@ -719,7 +719,7 @@ enum reg_class ...@@ -719,7 +719,7 @@ enum reg_class
0x100ff, /* GENERAL_REGS */ \ 0x100ff, /* GENERAL_REGS */ \
0x0100, 0x0200, /* FP_TOP_REG, FP_SECOND_REG */ \ 0x0100, 0x0200, /* FP_TOP_REG, FP_SECOND_REG */ \
0xff00, /* FLOAT_REGS */ \ 0xff00, /* FLOAT_REGS */ \
0x1ffff } 0x1ffff }}
/* The same information, inverted: /* The same information, inverted:
Return the class number of the smallest class containing Return the class number of the smallest class containing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment