* c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
commit1fcd08b185406bf47bb33b56a0ed3d343144f5d9
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Sep 2000 22:24:34 +0000 (7 22:24 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Sep 2000 22:24:34 +0000 (7 22:24 +0000)
treea9b9cd034b9b3c1cc173cb5e609c95a9d4411d72
parentfa88dd2b056ac00a80273ea1076961c862067420
* c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
REGISTER_TARGET_PRAGMAS is defined.  Duplicate some
definitions from cpplib.h.
* cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
already done it.
* tm.texi: Document HANDLE_PRAGMA as no longer supported.  Add
documentation for REGISTER_TARGET_PRAGMAS.

* c-lex.c: Include cpplib.h before c-pragma.h.  Define a
default-pragma callback to implement -Wunknown-pragmas if
USE_CPPLIB.
* c-parse.in: Move all includes to top of file.
* c-pragma.c: Include cpplib.h before c-pragma.h.  Include
tm_p.h.
(dispatch_pragma): Put the namespace in the -Wunknown-pragmas
warning.
(init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.

* arm.h, arm-protos.h, arm.c,
  c4x.h, c4x-protos.h, c4x.c,
  h8300.h, h8300-protos.h, h8300.c,
  i370.h, i370-protos.h, i370.c,
  i960.h, i960-protos.h, i960.c,
  sh.h, sh-protos.h, sh.c,
  v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.

* d30v.h: Don't mention HANDLE_PRAGMA in comment.  Add
multiple include guard.
* i370.md (untyped_call): Use GEN_CALL.
(umodsi3): Remove unused variable.
* sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
* v850.c (output_move_single, output_move_double): Constify
return value.
(print_operand): Constify a char *.
* v850.h (struct small_memory_info): Constify name member.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36249 138bc75d-0d04-0410-961f-82ee72b054a4
31 files changed:
gcc/ChangeLog
gcc/c-lex.c
gcc/c-parse.in
gcc/c-pragma.c
gcc/c-pragma.h
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/c4x/c4x-protos.h
gcc/config/c4x/c4x.c
gcc/config/c4x/c4x.h
gcc/config/d30v/d30v.h
gcc/config/h8300/h8300-protos.h
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.h
gcc/config/i370/i370-protos.h
gcc/config/i370/i370.c
gcc/config/i370/i370.h
gcc/config/i370/i370.md
gcc/config/i960/i960-protos.h
gcc/config/i960/i960.c
gcc/config/i960/i960.h
gcc/config/sh/elf.h
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/v850/v850-protos.h
gcc/config/v850/v850.c
gcc/config/v850/v850.h
gcc/cpplib.h
gcc/tm.texi