diff options
Diffstat (limited to 'gcc/config/arm/aarch-common.c')
-rw-r--r-- | gcc/config/arm/aarch-common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/arm/aarch-common.c b/gcc/config/arm/aarch-common.c index 0dbdc56f542..67343fe4025 100644 --- a/gcc/config/arm/aarch-common.c +++ b/gcc/config/arm/aarch-common.c @@ -534,7 +534,7 @@ rtx_insn * arm_md_asm_adjust (vec<rtx> &outputs, vec<rtx> & /*inputs*/, vec<machine_mode> & /*input_modes*/, vec<const char *> &constraints, vec<rtx> & /*clobbers*/, - HARD_REG_SET & /*clobbered_regs*/) + HARD_REG_SET & /*clobbered_regs*/, location_t loc) { bool saw_asm_flag = false; @@ -547,7 +547,7 @@ arm_md_asm_adjust (vec<rtx> &outputs, vec<rtx> & /*inputs*/, con += 4; if (strchr (con, ',') != NULL) { - error ("alternatives not allowed in %<asm%> flag output"); + error_at (loc, "alternatives not allowed in %<asm%> flag output"); continue; } @@ -608,7 +608,7 @@ arm_md_asm_adjust (vec<rtx> &outputs, vec<rtx> & /*inputs*/, mode = CC_Vmode, code = NE; break; default: - error ("unknown %<asm%> flag output %qs", constraints[i]); + error_at (loc, "unknown %<asm%> flag output %qs", constraints[i]); continue; } @@ -618,7 +618,7 @@ arm_md_asm_adjust (vec<rtx> &outputs, vec<rtx> & /*inputs*/, machine_mode dest_mode = GET_MODE (dest); if (!SCALAR_INT_MODE_P (dest_mode)) { - error ("invalid type for %<asm%> flag output"); + error_at (loc, "invalid type for %<asm%> flag output"); continue; } |