From 3a3998f36a6b8f0c3eb90a8c6f6970f4be3cde79 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 8 Mar 2019 18:18:23 +0000 Subject: [PATCH] Fix POLY_INT_CST/CONST_POLY_INT typo (PR 89631) 2019-03-08 Richard Sandiford gcc/ PR debug/89631 * dwarf2cfi.c (dwarf2out_frame_debug_expr): Use CONST_POLY_INT instead of POLY_INT_CST. From-SVN: r269500 --- gcc/ChangeLog | 6 ++++++ gcc/dwarf2cfi.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ad486b4..fc347dc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-03-08 Richard Sandiford + + PR debug/89631 + * dwarf2cfi.c (dwarf2out_frame_debug_expr): Use CONST_POLY_INT + instead of POLY_INT_CST. + 2019-03-08 Andre Vieira * config/arm/arm.h (TARGET_FP16_TO_DOUBLE): Add TARGET_VFP_DOUBLE diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c index 86b88c6..d6aed35 100644 --- a/gcc/dwarf2cfi.c +++ b/gcc/dwarf2cfi.c @@ -1778,7 +1778,7 @@ dwarf2out_frame_debug_expr (rtx expr) /* Rule 6 */ case CONST_INT: - case POLY_INT_CST: + case CONST_POLY_INT: cur_trace->cfa_temp.reg = dwf_regno (dest); cur_trace->cfa_temp.offset = rtx_to_poly_int64 (src); break; -- 2.7.4