diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-05-22 05:40:22 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-05-22 05:40:22 +0000 |
commit | e5f3b786ed1ab1daea46751e22534c9fee73cd8a (patch) | |
tree | 393799da65fb9425b665931be188539dc56ed666 /gcc/hooks.c | |
parent | fd0a39154fe74a1ce787b3e3b9fb51f8f8f06b99 (diff) | |
download | gcc-e5f3b786ed1ab1daea46751e22534c9fee73cd8a.zip gcc-e5f3b786ed1ab1daea46751e22534c9fee73cd8a.tar.gz gcc-e5f3b786ed1ab1daea46751e22534c9fee73cd8a.tar.bz2 |
re PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")
PR preprocessor/6517
* Makefile.in: Update.
* c-common.c (c_common_post_options): Add preprocessor
errors to the error count.
* c-lang.c (c_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* hooks.h: Add header guards.
* langhooks-def.h: Include hooks.h.
(LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options.
* toplev.c (parse_options_and_default_flags): Update.
cp:
* cp-lang.c (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* cp-tree.h (cxx_post_options): Kill.
* cp-lex.c (cxx_post_options): Kill.
objc:
* objc-lang.c (objc_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
From-SVN: r53724
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index 1ceeef6..508e29c 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -26,6 +26,12 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "system.h" #include "hooks.h" +/* Generic hook that does absolutely zappo. */ +void +hook_void_void () +{ +} + /* Generic hook that takes no arguments and returns false. */ bool hook_void_bool_false () |