diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-10-19 19:39:57 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-10-19 19:39:57 +0000 |
commit | acf9cc0f52e816e6dc29095098cdef6d77ddb7de (patch) | |
tree | cadd6d77f295f77cebabbcfb06fed7ab77ce4536 /gcc/config | |
parent | 6894579f1447dc6c18560804bd1b1e9e293aa9b7 (diff) | |
download | gcc-acf9cc0f52e816e6dc29095098cdef6d77ddb7de.zip gcc-acf9cc0f52e816e6dc29095098cdef6d77ddb7de.tar.gz gcc-acf9cc0f52e816e6dc29095098cdef6d77ddb7de.tar.bz2 |
a29k-protos.h (literal_section): Prototype.
* a29k-protos.h (literal_section): Prototype.
* a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
* a29k.md: Ensure function pointers are prototyped.
* genattrtab.c (write_eligible_delay): Mark parameter with
ATTRIBUTE_UNUSED.
From-SVN: r46359
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/a29k/a29k-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/a29k/a29k.h | 2 | ||||
-rw-r--r-- | gcc/config/a29k/a29k.md | 10 |
3 files changed, 9 insertions, 5 deletions
diff --git a/gcc/config/a29k/a29k-protos.h b/gcc/config/a29k/a29k-protos.h index a2821e3..59d1dd2 100644 --- a/gcc/config/a29k/a29k-protos.h +++ b/gcc/config/a29k/a29k-protos.h @@ -61,3 +61,5 @@ extern int null_epilogue PARAMS ((void)); extern void print_operand PARAMS ((FILE *, rtx, int)); extern void a29k_compute_reg_names PARAMS ((void)); #endif /* RTX_CODE */ + +extern void literal_section PARAMS ((void)); diff --git a/gcc/config/a29k/a29k.h b/gcc/config/a29k/a29k.h index 4a63731..610e405 100644 --- a/gcc/config/a29k/a29k.h +++ b/gcc/config/a29k/a29k.h @@ -1316,7 +1316,7 @@ extern const char *a29k_function_name; /* Output at beginning of assembler file. */ #define ASM_FILE_START(FILE) \ -{ char *p, *after_dir = main_input_filename; \ +{ const char *p, *after_dir = main_input_filename; \ if (TARGET_29050) \ fprintf (FILE, "\t.cputype 29050\n"); \ for (p = main_input_filename; *p; p++) \ diff --git a/gcc/config/a29k/a29k.md b/gcc/config/a29k/a29k.md index a6c29d3..596aa47 100644 --- a/gcc/config/a29k/a29k.md +++ b/gcc/config/a29k/a29k.md @@ -1776,7 +1776,7 @@ { rtx general = gen_reg_rtx (SImode); rtx bp = gen_reg_rtx (PSImode); - rtx (*fcn) () + rtx (*fcn) PARAMS ((rtx, rtx, rtx, rtx)) = TARGET_BYTE_WRITES ? gen_storehihww : gen_storehinhww; rtx seq = (*fcn) (XEXP (operands[0], 0), gen_lowpart (SImode, operands[1]), @@ -1825,7 +1825,8 @@ (match_operand:PSI 2 "register_operand" "=b")])] "! TARGET_DW_ENABLE" " -{ rtx (*fcn) () = TARGET_BYTE_WRITES ? gen_storehihww : gen_storehinhww; +{ rtx (*fcn) PARAMS ((rtx, rtx, rtx, rtx)) = + TARGET_BYTE_WRITES ? gen_storehihww : gen_storehinhww; rtx seq = (*fcn) (a29k_get_reloaded_address (operands[0]), gen_lowpart (SImode, operands[1]), gen_rtx_REG (SImode, R_TAV), operands[2]); @@ -1906,7 +1907,7 @@ { rtx general = gen_reg_rtx (SImode); rtx bp = gen_reg_rtx (PSImode); - rtx (*fcn) () + rtx (*fcn) PARAMS ((rtx, rtx, rtx, rtx)) = TARGET_BYTE_WRITES ? gen_storeqihww : gen_storeqinhww; rtx seq = (*fcn) (XEXP (operands[0], 0), gen_lowpart (SImode, operands[1]), @@ -1955,7 +1956,8 @@ (match_operand:PSI 2 "register_operand" "=b")])] "! TARGET_DW_ENABLE" " -{ rtx (*fcn) () = TARGET_BYTE_WRITES ? gen_storeqihww : gen_storeqinhww; +{ rtx (*fcn) PARAMS ((rtx, rtx, rtx, rtx)) = + TARGET_BYTE_WRITES ? gen_storeqihww : gen_storeqinhww; rtx seq = (*fcn) (a29k_get_reloaded_address (operands[0]), gen_lowpart (SImode, operands[1]), gen_rtx_REG (SImode, R_TAV), operands[2]); |