]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")
authorNeil Booth <neil@daikokuya.demon.co.uk>
Wed, 22 May 2002 05:40:22 +0000 (05:40 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 22 May 2002 05:40:22 +0000 (05:40 +0000)
commite5f3b786ed1ab1daea46751e22534c9fee73cd8a
tree393799da65fb9425b665931be188539dc56ed666
parentfd0a39154fe74a1ce787b3e3b9fb51f8f8f06b99
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
16 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/c-common.c
gcc/c-lang.c
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/cp-lang.c
gcc/cp/cp-tree.h
gcc/cp/lex.c
gcc/hooks.c
gcc/hooks.h
gcc/langhooks-def.h
gcc/langhooks.h
gcc/objc/Make-lang.in
gcc/objc/objc-lang.c
gcc/toplev.c