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;