OSDN Git Service

PR driver/45731
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Feb 2011 21:29:14 +0000 (21:29 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Feb 2011 21:29:14 +0000 (21:29 +0000)
* gcc.c (asm_options): Correct spec matching --target-help.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170091 138bc75d-0d04-0410-961f-82ee72b054a4

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.  */