projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipa-cp.c (ipcp_cloning_candidate_p): Use opt_for_fn.
[gcc.git]
/
gcc
/
reload1.c
diff --git
a/gcc/reload1.c
b/gcc/reload1.c
index dab8a7532e01333c53e0b440ba9c7edd05054f1f..7d5bad51d88ad5b165179e56762dd7580f9cfee4 100644
(file)
--- a/
gcc/reload1.c
+++ b/
gcc/reload1.c
@@
-2968,6
+2968,11
@@
eliminate_regs_1 (rtx x, machine_mode mem_mode, rtx insn,
rtx
eliminate_regs (rtx x, machine_mode mem_mode, rtx insn)
{
+ if (reg_eliminate == NULL)
+ {
+ gcc_assert (targetm.no_register_allocation);
+ return x;
+ }
return eliminate_regs_1 (x, mem_mode, insn, false, false);
}