aboutsummaryrefslogtreecommitdiff
path: root/gcc/read-rtl-function.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/read-rtl-function.c')
-rw-r--r--gcc/read-rtl-function.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/read-rtl-function.c b/gcc/read-rtl-function.c
index 2a1fb4b..941d1e1 100644
--- a/gcc/read-rtl-function.c
+++ b/gcc/read-rtl-function.c
@@ -1082,7 +1082,7 @@ function_reader::read_rtx_operand_r (rtx x)
"orig:%i", ORIGINAL_REGNO (rtx).
Consume it, we don't set ORIGINAL_REGNO, since we can
get that from the 2nd copy later. */
- if (strncmp (desc, "orig:", 5) == 0)
+ if (startswith (desc, "orig:"))
{
expect_original_regno = true;
desc_start += 5;
@@ -1491,7 +1491,6 @@ function_reader::consolidate_singletons (rtx x)
case PC: return pc_rtx;
case RETURN: return ret_rtx;
case SIMPLE_RETURN: return simple_return_rtx;
- case CC0: return cc0_rtx;
case REG:
return consolidate_reg (x);
@@ -1862,7 +1861,7 @@ test_loading_labels ()
/* Ensure that label names read from a dump are GC-managed
and are found through the insn. */
- forcibly_ggc_collect ();
+ ggc_collect (GGC_COLLECT_FORCE);
ASSERT_TRUE (ggc_marked_p (insn_200));
ASSERT_TRUE (ggc_marked_p (LABEL_NAME (insn_200)));
}