tm.texi (TARGET_GET_PCH_VALIDITY, [...]): Tweak the documentation to make it more...
commit8d932be3e1502485e9fb78695b7c2c4bdb7653cd
authorRichard Sandiford <rsandifo@redhat.com>
Tue, 31 May 2005 15:51:42 +0000 (31 15:51 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 31 May 2005 15:51:42 +0000 (31 15:51 +0000)
tree6493f351baf9a917bfbcf8a8a1c3c4db18abd2ed
parent4ea73bfac370705eaf74e204264bf994c51bdfd9
tm.texi (TARGET_GET_PCH_VALIDITY, [...]): Tweak the documentation to make it more future-proof.

* doc/tm.texi (TARGET_GET_PCH_VALIDITY, TARGET_PCH_VALID_P): Tweak
the documentation to make it more future-proof.
(TARGET_CHECK_PCH_TARGET_FLAGS): Document this new hook.
* target.h (gcc_target): Add check_pch_target_flags.
* target-def.h (TARGET_CHECK_PCH_TARGET_FLAGS): New macro.
(TARGET_INITIALIZER): Include it.
* toplev.c (default_pch_valid_p): Use targetm.check_pch_target_flags.
* config/sh/sh.h (sh_pch_valid_p): Delete.
* config/sh/sh.c (TARGET_PCH_VALID_P, sh_pch_valid_p): Delete.
(sh_check_pch_target_flags): New function.
(TARGET_CHECK_PCH_TARGET_FLAGS): Override default.

From-SVN: r100392
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/doc/tm.texi
gcc/target-def.h
gcc/target.h
gcc/toplev.c