From: Travis Snoozy Date: Mon, 14 Oct 2013 11:24:17 +0000 (+0000) Subject: re PR target/58716 ([PATCH] MSP430X check is inverted) X-Git-Tag: releases/gcc-4.9.0~3529 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a6dbd0f72b75340ceb96ea55ec18c01b6bee4ef2;p=thirdparty%2Fgcc.git re PR target/58716 ([PATCH] MSP430X check is inverted) PR target/58716 * config/msp430/msp430.c (msp430_option_override): Correct thinko scanning for msp430x targets. From-SVN: r203520 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 70d49b9641c1..08c99309870b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-10-14 Travis Snoozy + + PR target/58716 + * config/msp430/msp430.c (msp430_option_override): Correct thinko + scanning for msp430x targets. + 2013-10-14 Eric Botcazou PR bootstrap/58509 diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c index a1e2f81e648a..fe692ca81b9c 100644 --- a/gcc/config/msp430/msp430.c +++ b/gcc/config/msp430/msp430.c @@ -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;