Update of /cvsroot/linux-vax/toolchain/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28773
Added Files:
gcc-000007-fix_matt_3am_checkin.patch
Log Message:
- Fixes for last night checkin by Matt.
--- NEW FILE: gcc-000007-fix_matt_3am_checkin.patch ---
2005-04-27 Jan-Benedict Glaw <jb...@lu...>
gcc/config/vax:
* vax.c: (vax_output_mi_thunk): Remove trailing whitespace.
(vax_notice_update_cc): Remove space-between-tabs.
(INDEX_REGISTER_P) Add missing backslash.
(BASE_REGISTER_P) Dito.
(legitimate_address_p) Remove leading whitespace.
diff -Nurp src-gcc-fresh/gcc/config/vax/vax.c src-gcc-hacked/gcc/config/vax/vax.c
--- src-gcc-fresh/gcc/config/vax/vax.c 2005-04-27 10:54:31.000000000 +0200
+++ src-gcc-hacked/gcc/config/vax/vax.c 2005-04-27 10:57:00.000000000 +0200
@@ -810,16 +810,16 @@ vax_rtx_costs (rtx x, int code, int oute
static void
vax_output_mi_thunk (FILE * file,
- tree thunk ATTRIBUTE_UNUSED,
+ tree thunk ATTRIBUTE_UNUSED,
HOST_WIDE_INT delta,
HOST_WIDE_INT vcall_offset ATTRIBUTE_UNUSED,
tree function)
{
fprintf (file, "\t.word 0x0ffc\n\taddl2 $" HOST_WIDE_INT_PRINT_DEC, delta);
asm_fprintf (file, ",4(%Rap)\n");
- fprintf (file, "\tjmp ");
- assemble_name (file, XSTR (XEXP (DECL_RTL (function), 0), 0));
- fprintf (file, "+2\n");
+ fprintf (file, "\tjmp ");
+ assemble_name (file, XSTR (XEXP (DECL_RTL (function), 0), 0));
+ fprintf (file, "+2\n");
}
static rtx
@@ -852,7 +852,7 @@ vax_notice_update_cc (rtx exp, rtx insn
{
case NEG:
if (GET_MODE_CLASS (GET_MODE (exp)) == MODE_FLOAT)
- break;
+ break;
case AND:
case IOR:
case XOR:
@@ -1118,13 +1118,13 @@ legitimate_constant_p (rtx x ATTRIBUTE_U
/* Nonzero if X is a hard reg that can be used as an index
or, if not strict, if it is a pseudo reg. */
-#define INDEX_REGISTER_P(X, STRICT)
-(GET_CODE (X) == REG && (!(STRICT) || REGNO_OK_FOR_INDEX_P (REGNO (X))))
+#define INDEX_REGISTER_P(X, STRICT) \
+ (GET_CODE (X) == REG && (!(STRICT) || REGNO_OK_FOR_INDEX_P (REGNO (X))))
/* Nonzero if X is a hard reg that can be used as a base reg
or, if not strict, if it is a pseudo reg. */
-#define BASE_REGISTER_P(X, STRICT)
-(GET_CODE (X) == REG && (!(STRICT) || REGNO_OK_FOR_BASE_P (REGNO (X))))
+#define BASE_REGISTER_P(X, STRICT) \
+ (GET_CODE (X) == REG && (!(STRICT) || REGNO_OK_FOR_BASE_P (REGNO (X))))
#ifdef NO_EXTERNAL_INDIRECT_ADDRESS
@@ -1278,7 +1278,7 @@ legitimate_address_p (enum machine_mode
&& nonindexed_address_p (xfoo0, strict))
return 1;
- /* Handle offset(reg)[index] with offset added outermost */ \
+ /* Handle offset(reg)[index] with offset added outermost */
if (indirectable_constant_address_p (xfoo0)
&& (BASE_REGISTER_P (xfoo1, strict)
@@ -1291,7 +1291,7 @@ legitimate_address_p (enum machine_mode
return 1;
return 0;
-}
+}
/* Return 1 if x (a legitimate address expression) has an effect that
depends on the machine mode it is used for. On the VAX, the predecrement
|