aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arc/arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/arc/arc.c')
-rw-r--r--gcc/config/arc/arc.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
index 113395bd5de..0aa43c2ce2e 100644
--- a/gcc/config/arc/arc.c
+++ b/gcc/config/arc/arc.c
@@ -66,6 +66,7 @@ along with GCC; see the file COPYING3. If not see
#include "context.h"
#include "pass_manager.h"
#include "wide-int.h"
+#include "builtins.h"
/* Which cpu we're compiling for (A5, ARC600, ARC601, ARC700). */
static const char *arc_cpu_string = "";
@@ -750,7 +751,7 @@ arc_init (void)
error ("-mmul32x16 supported only for ARC600 or ARC601");
if (!TARGET_DPFP && TARGET_DPFP_DISABLE_LRSR)
- error ("-mno-dpfp-lrsr suppforted only with -mdpfp");
+ error ("-mno-dpfp-lrsr supported only with -mdpfp");
/* FPX-1. No fast and compact together. */
if ((TARGET_DPFP_FAST_SET && TARGET_DPFP_COMPACT_SET)
@@ -6051,7 +6052,7 @@ arc_reorg (void)
continue;
/* Now check if the jump is beyond the s9 range. */
- if (find_reg_note (insn, REG_CROSSING_JUMP, NULL_RTX))
+ if (CROSSING_JUMP_P (insn))
continue;
offset = branch_dest (insn) - INSN_ADDRESSES (INSN_UID (insn));
@@ -8722,7 +8723,7 @@ static struct machine_function *
arc_init_machine_status (void)
{
struct machine_function *machine;
- machine = ggc_alloc_cleared_machine_function ();
+ machine = ggc_cleared_alloc<machine_function> ();
machine->fn_type = ARC_FUNCTION_UNKNOWN;
machine->force_short_suffix = -1;
@@ -9206,7 +9207,7 @@ arc_decl_pretend_args (tree decl)
/* Without this, gcc.dg/tree-prof/bb-reorg.c fails to assemble
when compiling with -O2 -freorder-blocks-and-partition -fprofile-use
- -D_PROFILE_USE; delay branch scheduling then follows a REG_CROSSING_JUMP
+ -D_PROFILE_USE; delay branch scheduling then follows a crossing jump
to redirect two breqs. */
static bool
@@ -9216,7 +9217,7 @@ arc_can_follow_jump (const_rtx follower, const_rtx followee)
union { const_rtx c; rtx r; } u;
u.c = follower;
- if (find_reg_note (followee, REG_CROSSING_JUMP, NULL_RTX))
+ if (CROSSING_JUMP_P (followee))
switch (get_attr_type (u.r))
{
case TYPE_BRCC: