Commit 2710d6d7 by Ollie Wild Committed by Ollie Wild

c-opts.c (c_common_handle_option): Support -fno-directives-only.

	gcc/
	* c-opts.c (c_common_handle_option): Support -fno-directives-only.
	* gcc.c (default_compilers): Add -fno-directives-only to
	@assembler-with-cpp.

From-SVN: r127952
parent fef511b5
2007-08-30 Ollie Wild <aaw@google.com>
* c-opts.c (c_common_handle_option): Support -fno-directives-only.
* gcc.c (default_compilers): Add -fno-directives-only to
@assembler-with-cpp.
2007-08-30 Sandra Loosemore <sandra@codesourcery.com>
PR middle-end/33211
......
......@@ -619,7 +619,7 @@ c_common_handle_option (size_t scode, const char *arg, int value)
break;
case OPT_fdirectives_only:
cpp_opts->directives_only = 1;
cpp_opts->directives_only = value;
break;
case OPT_fdollars_in_identifiers:
......
......@@ -1025,12 +1025,12 @@ static const struct compiler default_compilers[] =
{".S", "@assembler-with-cpp", 0, 1, 0},
{"@assembler-with-cpp",
#ifdef AS_NEEDS_DASH_FOR_PIPED_INPUT
"%(trad_capable_cpp) -lang-asm %(cpp_options)\
"%(trad_capable_cpp) -lang-asm %(cpp_options) -fno-directives-only\
%{E|M|MM:%(cpp_debug_options)}\
%{!M:%{!MM:%{!E:%{!S:-o %|.s |\n\
as %(asm_debug) %(asm_options) %|.s %A }}}}"
#else
"%(trad_capable_cpp) -lang-asm %(cpp_options)\
"%(trad_capable_cpp) -lang-asm %(cpp_options) -fno-directives-only\
%{E|M|MM:%(cpp_debug_options)}\
%{!M:%{!MM:%{!E:%{!S:-o %|.s |\n\
as %(asm_debug) %(asm_options) %m.s %A }}}}"
......
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