Commit 3028a95c by Joseph Myers Committed by Joseph Myers

gcc.c (trad_capable_cpp, [...]): Don't handle -ftraditional.

	* gcc.c (trad_capable_cpp, default_compilers): Don't handle
	-ftraditional.

objc:
	* lang-specs.h: Don't handle -ftraditional.

From-SVN: r167385
parent c6c34cb4
2010-12-02 Joseph Myers <joseph@codesourcery.com> 2010-12-02 Joseph Myers <joseph@codesourcery.com>
* gcc.c (trad_capable_cpp, default_compilers): Don't handle
-ftraditional.
2010-12-02 Joseph Myers <joseph@codesourcery.com>
* config/alpha/freebsd.h (LINK_SPEC): Don't handle -Wl,. * config/alpha/freebsd.h (LINK_SPEC): Don't handle -Wl,.
* config/bfin/bfin.h (ASM_SPEC): Don't handle -Wa,. * config/bfin/bfin.h (ASM_SPEC): Don't handle -Wa,.
* config/frv/frv.h (ASM_SPEC): Don't handle -Wa,. * config/frv/frv.h (ASM_SPEC): Don't handle -Wa,.
...@@ -709,7 +709,7 @@ static const char *sysroot_hdrs_suffix_spec = SYSROOT_HEADERS_SUFFIX_SPEC; ...@@ -709,7 +709,7 @@ static const char *sysroot_hdrs_suffix_spec = SYSROOT_HEADERS_SUFFIX_SPEC;
call cc1 (or cc1obj in objc/lang-specs.h) from the main specs so call cc1 (or cc1obj in objc/lang-specs.h) from the main specs so
that we default the front end language better. */ that we default the front end language better. */
static const char *trad_capable_cpp = static const char *trad_capable_cpp =
"cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}"; "cc1 -E %{traditional|traditional-cpp:-traditional-cpp}";
/* We don't wrap .d files in %W{} since a missing .d file, and /* We don't wrap .d files in %W{} since a missing .d file, and
therefore no dependency entry, confuses make into thinking a .o therefore no dependency entry, confuses make into thinking a .o
...@@ -903,7 +903,7 @@ static const struct compiler default_compilers[] = ...@@ -903,7 +903,7 @@ static const struct compiler default_compilers[] =
external preprocessor if -save-temps is given. */ external preprocessor if -save-temps is given. */
"%{E|M|MM:%(trad_capable_cpp) %(cpp_options) %(cpp_debug_options)}\ "%{E|M|MM:%(trad_capable_cpp) %(cpp_options) %(cpp_debug_options)}\
%{!E:%{!M:%{!MM:\ %{!E:%{!M:%{!MM:\
%{traditional|ftraditional:\ %{traditional:\
%eGNU C no longer supports -traditional without -E}\ %eGNU C no longer supports -traditional without -E}\
%{save-temps*|traditional-cpp|no-integrated-cpp:%(trad_capable_cpp) \ %{save-temps*|traditional-cpp|no-integrated-cpp:%(trad_capable_cpp) \
%(cpp_options) -o %{save-temps*:%b.i} %{!save-temps*:%g.i} \n\ %(cpp_options) -o %{save-temps*:%b.i} %{!save-temps*:%g.i} \n\
......
2010-12-02 Joseph Myers <joseph@codesourcery.com>
* lang-specs.h: Don't handle -ftraditional.
2010-12-02 Nicola Pero <nicola.pero@meta-innovation.com> 2010-12-02 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (objc_build_throw_stmt): Return error_mark_node and * objc-act.c (objc_build_throw_stmt): Return error_mark_node and
......
/* Definitions for specs for Objective-C. /* Definitions for specs for Objective-C.
Copyright (C) 1998, 1999, 2002, 2002, 2003, 2005, 2007 Copyright (C) 1998, 1999, 2002, 2002, 2003, 2005, 2007, 2010
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -24,10 +24,10 @@ along with GCC; see the file COPYING3. If not see ...@@ -24,10 +24,10 @@ along with GCC; see the file COPYING3. If not see
{".m", "@objective-c", 0, 0, 0}, {".m", "@objective-c", 0, 0, 0},
{"@objective-c", {"@objective-c",
"%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}\ "%{E|M|MM:cc1obj -E %{traditional|traditional-cpp:-traditional-cpp}\
%(cpp_options) %(cpp_debug_options)}\ %(cpp_options) %(cpp_debug_options)}\
%{!E:%{!M:%{!MM:\ %{!E:%{!M:%{!MM:\
%{traditional|ftraditional|traditional-cpp:\ %{traditional|traditional-cpp:\
%eGNU Objective C no longer supports traditional compilation}\ %eGNU Objective C no longer supports traditional compilation}\
%{save-temps|no-integrated-cpp:cc1obj -E %(cpp_options) -o %{save-temps:%b.mi} %{!save-temps:%g.mi} \n\ %{save-temps|no-integrated-cpp:cc1obj -E %(cpp_options) -o %{save-temps:%b.mi} %{!save-temps:%g.mi} \n\
cc1obj -fpreprocessed %{save-temps:%b.mi} %{!save-temps:%g.mi} %(cc1_options) %{print-objc-runtime-info} %{gen-decls}}\ cc1obj -fpreprocessed %{save-temps:%b.mi} %{!save-temps:%g.mi} %(cc1_options) %{print-objc-runtime-info} %{gen-decls}}\
...@@ -35,10 +35,10 @@ along with GCC; see the file COPYING3. If not see ...@@ -35,10 +35,10 @@ along with GCC; see the file COPYING3. If not see
cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls}}}\ cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls}}}\
%{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0}, %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
{"@objective-c-header", {"@objective-c-header",
"%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}\ "%{E|M|MM:cc1obj -E %{traditional|traditional-cpp:-traditional-cpp}\
%(cpp_options) %(cpp_debug_options)}\ %(cpp_options) %(cpp_debug_options)}\
%{!E:%{!M:%{!MM:\ %{!E:%{!M:%{!MM:\
%{traditional|ftraditional|traditional-cpp:\ %{traditional|traditional-cpp:\
%eGNU Objective C no longer supports traditional compilation}\ %eGNU Objective C no longer supports traditional compilation}\
%{save-temps|no-integrated-cpp:cc1obj -E %(cpp_options) -o %{save-temps:%b.mi} %{!save-temps:%g.mi} \n\ %{save-temps|no-integrated-cpp:cc1obj -E %(cpp_options) -o %{save-temps:%b.mi} %{!save-temps:%g.mi} \n\
cc1obj -fpreprocessed %b.mi %(cc1_options) %{print-objc-runtime-info} %{gen-decls}\ cc1obj -fpreprocessed %b.mi %(cc1_options) %{print-objc-runtime-info} %{gen-decls}\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment