re PR driver/45731 (Header missing for assembler option help.)
authorJoseph Myers <joseph@codesourcery.com>
Sat, 12 Feb 2011 21:29:14 +0000 (21:29 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sat, 12 Feb 2011 21:29:14 +0000 (21:29 +0000)
PR driver/45731
* gcc.c (asm_options): Correct spec matching --target-help.

From-SVN: r170091

gcc/ChangeLog
gcc/gcc.c

index 91bb370..258e84c 100644 (file)
@@ -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
index c31dafc..9b6f2fb 100644 (file)
--- 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.  */