]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix problem reported by Mike Stump on the gcc list, useless default defintion.
authorJames E Wilson <wilson@specifixinc.com>
Thu, 11 Aug 2005 00:28:04 +0000 (17:28 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 11 Aug 2005 00:28:04 +0000 (17:28 -0700)
* defaults.h, config/alpha/alpha.h, config/ia64/ia64.h
(ASM_OUTPUT_ADDR_VEC_ELT): Delete.
* config/alpha/alpha.c (alpha_arg_partial_bytes): Change "(CUM)." to
"cum->".

From-SVN: r102970

gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/alpha/alpha.h
gcc/config/ia64/ia64.h
gcc/defaults.h

index b26eee5542f6c58a74f574ee1516cd00316d17f9..8faec781f8bb33a9e4298589cc0ce35a1f4f05ed 100644 (file)
@@ -1,3 +1,11 @@
+2005-08-10  James E Wilson  <wilson@specifix.com>
+
+       * defaults.h, config/alpha/alpha.h, config/ia64/ia64.h
+       (ASM_OUTPUT_ADDR_VEC_ELT): Delete.
+
+       * config/alpha/alpha.c (alpha_arg_partial_bytes): Change "(CUM)." to
+       "cum->".
+
 2005-08-10  Eric Christopher  <echristo@apple.com>
 
        * config/rs6000/rs6000.c (mems_ok_for_quad_peep): Rewrite.
index 0e90b8dcc01dd609d892b9324d01c35ef403a576..7d8faa551c40d97f0c236bfaf48675f575f3b35b 100644 (file)
@@ -5684,7 +5684,7 @@ alpha_arg_partial_bytes (CUMULATIVE_ARGS *cum ATTRIBUTE_UNUSED,
 #if TARGET_ABI_OPEN_VMS
   if (cum->num_args < 6
       && 6 < cum->num_args + ALPHA_ARG_SIZE (mode, type, named))
-    words = 6 - (CUM).num_args;
+    words = 6 - cum->num_args;
 #elif TARGET_ABI_UNICOSMK
   /* Never any split arguments.  */
 #elif TARGET_ABI_OSF
index d00e1bbc17f139406e7e4a92355820c589d8e8fb..91689fbb5649d0bbf8fb1eb6acb9a5bf1d85a5fb 100644 (file)
@@ -1365,11 +1365,6 @@ do {                                             \
   }                                                                          \
   while (0)
 
-/* This is how to output an element of a case-vector that is absolute.
-   (Alpha does not use such vectors, but we must define this macro anyway.)  */
-
-#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) gcc_unreachable ()
-
 /* This is how to output an element of a case-vector that is relative.  */
 
 #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
index cefed69cf89f90eeda29d997902f6f7f0646c64d..4e3a280031003d19c8488a8b3c6897542b304ee2 100644 (file)
@@ -1772,11 +1772,6 @@ do {                                                                     \
     fprintf (STREAM, "\tdata8 @pcrel(.L%d)\n", VALUE);         \
   } while (0)
 
-/* This is how to output an element of a case-vector that is absolute.
-   (Ia64 does not use such vectors, but we must define this macro anyway.)  */
-
-#define ASM_OUTPUT_ADDR_VEC_ELT(STREAM, VALUE) gcc_unreachable ()
-
 /* Jump tables only need 8 byte alignment.  */
 
 #define ADDR_VEC_ALIGN(ADDR_VEC) 3
index 8474978774469bc33b9e4a9e6f32e99ea7295f44..af3e237227deae956ce2b1e027eae81231f8fb41 100644 (file)
@@ -61,17 +61,6 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
   } while (0)
 #endif
 
-/* This is how to output an element of a case-vector that is absolute.
-   Some targets don't use this, but we have to define it anyway.  */
-
-#ifndef ASM_OUTPUT_ADDR_VEC_ELT
-#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE)  \
-do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_UNIT, TRUE), FILE); \
-     (*targetm.asm_out.internal_label) (FILE, "L", (VALUE));                   \
-     fputc ('\n', FILE);                                               \
-   } while (0)
-#endif
-
 /* Choose a reasonable default for ASM_OUTPUT_ASCII.  */
 
 #ifndef ASM_OUTPUT_ASCII