]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/58716 ([PATCH] MSP430X check is inverted)
authorTravis Snoozy <quandary@remstate.com>
Mon, 14 Oct 2013 11:24:17 +0000 (11:24 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 14 Oct 2013 11:24:17 +0000 (11:24 +0000)
PR target/58716
* config/msp430/msp430.c (msp430_option_override): Correct thinko
scanning for msp430x targets.

From-SVN: r203520

gcc/ChangeLog
gcc/config/msp430/msp430.c

index 70d49b9641c19db616fbbb467e11f9ed8a71aa9e..08c99309870babe98ae24d95ca95b1cb1c9f8f92 100644 (file)
@@ -1,3 +1,9 @@
+2013-10-14  Travis Snoozy  <quandary@remstate.com>
+
+       PR target/58716
+       * config/msp430/msp430.c (msp430_option_override): Correct thinko
+       scanning for msp430x targets.
+
 2013-10-14  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR bootstrap/58509
index a1e2f81e648a031aa1a5dcc2b0227234dd0f8f0e..fe692ca81b9cf57e7f4517d3e450c0efc09f4e67 100644 (file)
@@ -182,7 +182,7 @@ msp430_option_override (void)
       unsigned i;
 
       for (i = ARRAY_SIZE (msp430x_names); i--;)
-       if (strcasecmp (target_cpu, msp430x_names[i]))
+       if (strcasecmp (target_cpu, msp430x_names[i]) == 0)
          {
            msp430x = true;
            break;