diff options
author | James E Wilson <wilson@specifixinc.com> | 2005-08-10 17:28:04 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2005-08-10 17:28:04 -0700 |
commit | 907f033f983dec0caa1d17d13557ef5c61e407e3 (patch) | |
tree | 038204f80ab095d72be4cf2f13301c8365aa9608 /gcc | |
parent | 40b8e7e68bf644470bc7a9ce8d636caff463afce (diff) | |
download | gcc-907f033f983dec0caa1d17d13557ef5c61e407e3.zip gcc-907f033f983dec0caa1d17d13557ef5c61e407e3.tar.gz gcc-907f033f983dec0caa1d17d13557ef5c61e407e3.tar.bz2 |
Fix problem reported by Mike Stump on the gcc list, useless default defintion.
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.c | 2 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.h | 5 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.h | 5 | ||||
-rw-r--r-- | gcc/defaults.h | 11 |
5 files changed, 9 insertions, 22 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b26eee5..8faec78 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 0e90b8d..7d8faa5 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -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 diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index d00e1bb..91689fb 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -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) \ diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index cefed69..4e3a280 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -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 diff --git a/gcc/defaults.h b/gcc/defaults.h index 8474978..af3e237 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -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 |