Commit a6dbd0f7 by Travis Snoozy Committed by Nick Clifton

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
parent b5ccb9ed
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment