aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gcc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 91bb370..258e84c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-12 Joseph Myers <joseph@codesourcery.com>
+
+ PR driver/45731
+ * gcc.c (asm_options): Correct spec matching --target-help.
+
2011-02-12 Martin Jambor <mjambor@suse.cz>
* tree-cfg.c (verify_gimple_call): Return true upon invalid argument
diff --git a/gcc/gcc.c b/gcc/gcc.c
index c31dafc..9b6f2fb 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -775,7 +775,7 @@ static const char *cc1_options =
%{coverage:-fprofile-arcs -ftest-coverage}";
static const char *asm_options =
-"%{--target-help:%:print-asm-header()} "
+"%{-target-help:%:print-asm-header()} "
#if HAVE_GNU_AS
/* If GNU AS is used, then convert -w (no warnings), -I, and -v
to the assembler equivalents. */