diff options
Diffstat (limited to 'gcc/rtl-error.c')
-rw-r--r-- | gcc/rtl-error.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rtl-error.c b/gcc/rtl-error.c index 72ef094..16d5350 100644 --- a/gcc/rtl-error.c +++ b/gcc/rtl-error.c @@ -59,10 +59,14 @@ location_for_asm (rtx insn) asmop = NULL; if (asmop) +#ifdef USE_MAPPED_LOCATION + loc = ASM_OPERANDS_SOURCE_LOCATION (asmop); +#else { loc.file = ASM_OPERANDS_SOURCE_FILE (asmop); loc.line = ASM_OPERANDS_SOURCE_LINE (asmop); } +#endif else loc = input_location; return loc; |