diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2014-05-16 09:27:55 +0000 |
---|---|---|
committer | James Greenhalgh <jgreenhalgh@gcc.gnu.org> | 2014-05-16 09:27:55 +0000 |
commit | 88d4fbcf507b3a19905f87310a241d8bc6523836 (patch) | |
tree | 6fcd4629f8bcdc95ef5e5983b7f3f964ded29ffa /gcc | |
parent | 909734beb71dbf888dfda464541f5acd614e5d25 (diff) | |
download | gcc-88d4fbcf507b3a19905f87310a241d8bc6523836.zip gcc-88d4fbcf507b3a19905f87310a241d8bc6523836.tar.gz gcc-88d4fbcf507b3a19905f87310a241d8bc6523836.tar.bz2 |
[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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e7c085..1815d4b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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, HIGH, LO_SUM. diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 9eff2fd..6eb2303 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -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; } |