sh.h (OVERRIDE_OPTIONS): Add braces to get rid of dangling else.

2001-07-24  Andrew Haley  <aph@cambridge.redhat.com>

        * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
        dangling else.

        * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
        for SImode to prevent overflow.

From-SVN: r44298
This commit is contained in:
Andrew Haley 2001-07-24 15:06:14 +00:00 committed by Andrew Haley
parent 22d69b599b
commit cfe1cd4037
2 changed files with 21 additions and 9 deletions

View File

@ -1,3 +1,11 @@
2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
* config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
dangling else.
* config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
for SImode to prevent overflow.
2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/mips/irix6-libc-compat.c: New file. * config/mips/irix6-libc-compat.c: New file.

View File

@ -278,6 +278,7 @@ do { \
fp_reg_names[regno][0] = 0; \ fp_reg_names[regno][0] = 0; \
} \ } \
if (flag_omit_frame_pointer < 0) \ if (flag_omit_frame_pointer < 0) \
{ \
/* The debugging information is sufficient, \ /* The debugging information is sufficient, \
but gdb doesn't implement this yet */ \ but gdb doesn't implement this yet */ \
if (0) \ if (0) \
@ -286,6 +287,7 @@ do { \
|| PREFERRED_DEBUGGING_TYPE == DWARF2_DEBUG); \ || PREFERRED_DEBUGGING_TYPE == DWARF2_DEBUG); \
else \ else \
flag_omit_frame_pointer = 0; \ flag_omit_frame_pointer = 0; \
} \
\ \
if (flag_pic && ! TARGET_PREFERGOT) \ if (flag_pic && ! TARGET_PREFERGOT) \
flag_no_function_cse = 1; \ flag_no_function_cse = 1; \
@ -1240,7 +1242,9 @@ extern int current_function_anonymous_args;
#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) do \ #define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) do \
{ \ { \
emit_move_insn (gen_rtx_MEM (SImode, (TRAMP)), \ emit_move_insn (gen_rtx_MEM (SImode, (TRAMP)), \
GEN_INT (TARGET_LITTLE_ENDIAN ? 0xd301d202 : 0xd202d301));\ GEN_INT (trunc_int_for_mode \
(TARGET_LITTLE_ENDIAN ? 0xd301d202 : 0xd202d301,\
SImode))); \
emit_move_insn (gen_rtx_MEM (SImode, plus_constant ((TRAMP), 4)), \ emit_move_insn (gen_rtx_MEM (SImode, plus_constant ((TRAMP), 4)), \
GEN_INT (TARGET_LITTLE_ENDIAN ? 0x0009422b : 0x422b0009));\ GEN_INT (TARGET_LITTLE_ENDIAN ? 0x0009422b : 0x422b0009));\
emit_move_insn (gen_rtx_MEM (SImode, plus_constant ((TRAMP), 8)), \ emit_move_insn (gen_rtx_MEM (SImode, plus_constant ((TRAMP), 8)), \