diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-03-11 06:42:21 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-03-11 06:42:21 +0000 |
commit | cb60f38d5b06fd610dbf5216d8751f8db0274edd (patch) | |
tree | 4a61a1ebad36b280444ec7dd62765959ac5bd940 /gcc/cp | |
parent | 5858cd26b2a70d195dd6cac584a154a6550d8cf0 (diff) | |
download | gcc-cb60f38d5b06fd610dbf5216d8751f8db0274edd.zip gcc-cb60f38d5b06fd610dbf5216d8751f8db0274edd.tar.gz gcc-cb60f38d5b06fd610dbf5216d8751f8db0274edd.tar.bz2 |
Makefile.in: Update.
* Makefile.in: Update.
* c-common.c: Don't include real.h or except.h.
(REGISTER_PREFIX): Remove.
(builtin_define_std, builtin_define_with_value,
builtin_define_with_int_value, builtin_define_with_hex_fp_value,
builtin_define_type_max, builtin_define_type_precision,
builtin_define_float_constants): Move to c-cppbuiltin.c.
(c_stddef_cpp_builtins): New.
* c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
* c-cppbuiltin.c: New, extracted from c-common.c.
(define__GNUC__): New.
* cppspec.c (lang_specific_driver): Remove support of -no-gcc.
* gcc.c: Remove support of %v1, %v2 and %v3 specs.
(cpp_unique_options): Don't support no-gcc.
(do_spec_1): Remove support of version specs.
* doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
* doc/passes.texi: Update.
* doc/tm.texi: Update.
cp:
* Make-lang.in (CXX_C_OBJS): Update.
* lang-specs.h: Don't define __GNUG__ here.
From-SVN: r64162
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/Make-lang.in | 2 | ||||
-rw-r--r-- | gcc/cp/lang-specs.h | 14 |
3 files changed, 12 insertions, 9 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4595203..c3299d7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-03-11 Neil Booth <neil@daikokuya.co.uk> + + * Make-lang.in (CXX_C_OBJS): Update. + * lang-specs.h: Don't define __GNUG__ here. + 2003-03-10 Mark Mitchell <mark@codesourcery.com> * call.c (perform_overload_resolution): New function. diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index e15f71e..39e8415 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -80,7 +80,7 @@ g++-cross$(exeext): g++$(exeext) # Shared with C front end: CXX_C_OBJS = attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o \ c-dump.o $(CXX_TARGET_OBJS) c-pretty-print.o c-opts.o c-pch.o \ - c-incpath.o cppdefault.o c-ppoutput.o + c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o # Language-specific object files. CXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \ diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index 4c140fd..8a871d8 100644 --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -36,24 +36,22 @@ Boston, MA 02111-1307, USA. */ {".H", "@c++-header", 0}, {".hh", "@c++-header", 0}, {"@c++-header", - "%{E|M|MM:cc1plus -E %{!no-gcc:-D__GNUG__=%v1}\ - %(cpp_options) %2 %(cpp_debug_options)}\ + "%{E|M|MM:cc1plus -E %(cpp_options) %2 %(cpp_debug_options)}\ %{!E:%{!M:%{!MM:\ - %{save-temps:cc1plus -E %{!no-gcc:-D__GNUG__=%v1}\ + %{save-temps:cc1plus -E\ %(cpp_options) %2 %b.ii \n}\ cc1plus %{save-temps:-fpreprocessed %b.ii}\ - %{!save-temps:%(cpp_unique_options) %{!no-gcc:-D__GNUG__=%v1}}\ + %{!save-temps:%(cpp_unique_options)}\ %(cc1_options) %2 %{+e1*}\ -o %g.s %{!o*:--output-pch=%i.gch} %W{o*:--output-pch=%*}%V}}}", CPLUSPLUS_CPP_SPEC}, {"@c++", - "%{E|M|MM:cc1plus -E %{!no-gcc:-D__GNUG__=%v1}\ - %(cpp_options) %2 %(cpp_debug_options)}\ + "%{E|M|MM:cc1plus -E %(cpp_options) %2 %(cpp_debug_options)}\ %{!E:%{!M:%{!MM:\ - %{save-temps|no-integrated-cpp:cc1plus -E %{!no-gcc:-D__GNUG__=%v1}\ + %{save-temps|no-integrated-cpp:cc1plus -E\ %(cpp_options) %2 %{save-temps:%b.ii} %{!save-temps:%g.ii} \n}\ cc1plus %{save-temps|no-integrated-cpp:-fpreprocessed %{save-temps:%b.ii} %{!save-temps:%g.ii}}\ - %{!save-temps:%{!no-integrated-cpp:%(cpp_unique_options) %{!no-gcc:-D__GNUG__=%v1}}}\ + %{!save-temps:%{!no-integrated-cpp:%(cpp_unique_options)}}\ %(cc1_options) %2 %{+e1*}\ %{!fsyntax-only:%(invoke_as)}}}}", CPLUSPLUS_CPP_SPEC}, |