[AArch64 costs 18/18] Dump a message if we are unable to cost an insn.

gcc/

	* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
	where we were unable to cost an RTX.

From-SVN: r210510
This commit is contained in:
James Greenhalgh 2014-05-16 09:27:55 +00:00 committed by James Greenhalgh
parent 909734beb7
commit 88d4fbcf50
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
where we were unable to cost an RTX.
2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF,

View File

@ -5787,7 +5787,11 @@ cost_plus:
/* Fall through. */
default:
break;
if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file,
"\nFailed to cost RTX. Assuming default cost.\n");
return true;
}
return false;
}