aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 35d1fe6..9f76f89 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -888,12 +888,12 @@ static const char *asm_options =
static const char *invoke_as =
#ifdef AS_NEEDS_DASH_FOR_PIPED_INPUT
-"%{!fwpa:\
+"%{!fwpa*:\
%{fcompare-debug=*|fdump-final-insns=*:%:compare-debug-dump-opt()}\
%{!S:-o %|.s |\n as %(asm_options) %|.s %A }\
}";
#else
-"%{!fwpa:\
+"%{!fwpa*:\
%{fcompare-debug=*|fdump-final-insns=*:%:compare-debug-dump-opt()}\
%{!S:-o %|.s |\n as %(asm_options) %m.s %A }\
}";
@@ -3651,6 +3651,10 @@ driver_handle_option (struct gcc_options *opts,
validated = true;
break;
+ case OPT_fwpa:
+ flag_wpa = "";
+ break;
+
default:
/* Various driver options need no special processing at this
point, having been handled in a prescan above or being