diff options
author | Neil Booth <neilb@earthling.net> | 2000-11-25 19:28:44 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-11-25 19:28:44 +0000 |
commit | a32f2771a5b1265435b332f15020b66bed552af4 (patch) | |
tree | 925e0c18e46eaa5d241ebbe1cd839d39fc0984a2 /gcc/objc | |
parent | 3e8aa6e31c6a745edcec9395021ef13ca0f0122f (diff) | |
download | gcc-a32f2771a5b1265435b332f15020b66bed552af4.zip gcc-a32f2771a5b1265435b332f15020b66bed552af4.tar.gz gcc-a32f2771a5b1265435b332f15020b66bed552af4.tar.bz2 |
c-common.c: Remove USE_CPPLIB conditional inclusions.
* c-common.c: Remove USE_CPPLIB conditional inclusions.
* c-common.h: Similarly.
* c-decl.c: Similarly.
* c-lang.c: Similarly.
* c-lex.c: Similarly.
* c-parse.in: Similarly.
* c-pragma.c: Similarly.
* c-pragma.h: Similarly.
* gcc.c: Similarly.
* toplev.c: Similarly.
* cp/cp-tree.h: Similarly.
* cp/decl2.c: Similarly.
* cp/lang-specs.h: Similarly.
* cp/lex.c: Similarly.
* cp/lex.h: Similarly.
* cp/spew.c: Similarly.
* java/lang-options.h: Similarly.
* objc/lang-specs.h: Similarly.
* objc/objc-act.c: Similarly.
* configure.in: Remove configure option.
* config.in: Regenerate.
* configure: Regenerate.
From-SVN: r37742
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/lang-specs.h | 10 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 11 |
2 files changed, 1 insertions, 20 deletions
diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h index f9e2c14..6fefc93 100644 --- a/gcc/objc/lang-specs.h +++ b/gcc/objc/lang-specs.h @@ -23,7 +23,6 @@ Boston, MA 02111-1307, USA. */ {".m", "@objective-c"}, {"@objective-c", -#if USE_CPPLIB /* cc1obj has an integrated ISO C preprocessor. We should invoke the external preprocessor if -save-temps or -traditional is given. */ "%{E|M|MM:%(trad_capable_cpp) -lang-objc %{ansi:-std=c89} %(cpp_options)}\ @@ -37,14 +36,7 @@ Boston, MA 02111-1307, USA. */ cc1obj -fpreprocessed %{!pipe:%g.mi} -lang-objc %(cc1_options) %{gen-decls}}\ %{!traditional:%{!ftraditional:%{!traditional-cpp:\ cc1obj -lang-objc %{ansi:-std=c89} %(cpp_options) %(cc1_options) %{gen-decls}}}}}\ - %{!fsyntax-only:%(invoke_as)}}}}" -#else /* ! USE_CPPLIB */ - "%(trad_capable_cpp) -lang-objc %{ansi:-std=c89} %(cpp_options)\ - %{!M:%{!MM:%{!E:%{!pipe:%g.mi} |\n\ - cc1obj -lang-objc %{!pipe:%g.mi} %(cc1_options) %{gen-decls}\ - %{!fsyntax-only:%(invoke_as)}}}}\n" -#endif /* ! USE_CPPLIB */ - }, + %{!fsyntax-only:%(invoke_as)}}}}"}, {".mi", "@objc-cpp-output"}, {"@objc-cpp-output", "%{!M:%{!MM:%{!E:cc1obj -lang-objc %i %(cc1_options) %{gen-decls}\ diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index b1b0279..2eff6e7 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -55,11 +55,8 @@ Boston, MA 02111-1307, USA. */ #include "output.h" #include "toplev.h" #include "ggc.h" - -#if USE_CPPLIB #include "cpplib.h" extern cpp_reader parse_in; -#endif /* This is the default way of generating a method name. */ /* I am not sure it is really correct. @@ -698,21 +695,13 @@ generate_struct_by_value_array () void lang_init_options () { -#if USE_CPPLIB cpp_init (); cpp_reader_init (&parse_in, CLK_GNUC89); -#endif } void lang_init () { -#if !USE_CPPLIB - /* The beginning of the file is a new line; check for #. - With luck, we discover the real source file's name from that - and put it in input_filename. */ - ungetc (check_newline (), finput); -#endif /* Force the line number back to 0; check_newline will have raised it to 1, which will make the builtin functions appear not to be built in. */ |