aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i960
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-01-01 12:27:02 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-01-01 12:27:02 +0000
commitc58b209a5dbfc740b7fa58b54fcf876fe37fd941 (patch)
tree084056090b17ca08c6d590d93ec42d45ceee9b53 /gcc/config/i960
parent7347c2c511c96c1300b8eaa1570107f4a5251016 (diff)
downloadgcc-c58b209a5dbfc740b7fa58b54fcf876fe37fd941.zip
gcc-c58b209a5dbfc740b7fa58b54fcf876fe37fd941.tar.gz
gcc-c58b209a5dbfc740b7fa58b54fcf876fe37fd941.tar.bz2
c-pragma.c (c_register_pragma): New.
* c-pragma.c (c_register_pragma): New. (init_pragma): Use it. * c-pragma.h (cpp_register_pragma): Don't declare. (c_register_pragma): New. * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H. * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update. * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update. * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update. * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update. * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update. * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update. * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update. * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update. * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update. * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update. * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update cp: * lex.c: Remove superfluous include of cpplib.h. (CONSTRAINT): Define without conditions. (init_cp_pragma): Use c_register_pragma. From-SVN: r60740
Diffstat (limited to 'gcc/config/i960')
-rw-r--r--gcc/config/i960/i960.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h
index 3ce98e2..3b84d04 100644
--- a/gcc/config/i960/i960.h
+++ b/gcc/config/i960/i960.h
@@ -130,9 +130,9 @@ Boston, MA 02111-1307, USA. */
extern int i960_maxbitalignment;
extern int i960_last_maxbitalignment;
-#define REGISTER_TARGET_PRAGMAS(PFILE) do { \
- cpp_register_pragma (PFILE, 0, "align", i960_pr_align); \
- cpp_register_pragma (PFILE, 0, "noalign", i960_pr_noalign); \
+#define REGISTER_TARGET_PRAGMAS() do { \
+ c_register_pragma (0, "align", i960_pr_align); \
+ c_register_pragma (0, "noalign", i960_pr_noalign); \
} while (0)
/* Run-time compilation parameters selecting different hardware subsets. */