Fix POLY_INT_CST/CONST_POLY_INT typo (PR 89631)
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 8 Mar 2019 18:18:23 +0000 (18:18 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 8 Mar 2019 18:18:23 +0000 (18:18 +0000)
2019-03-08  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
PR debug/89631
* dwarf2cfi.c (dwarf2out_frame_debug_expr): Use CONST_POLY_INT
instead of POLY_INT_CST.

From-SVN: r269500

gcc/ChangeLog
gcc/dwarf2cfi.c

index ad486b4d862bc556ec356289a55dacbe0a33e167..fc347dc9cc24489b0f44b754ef0f1e4f24bcbc1a 100644 (file)
@@ -1,3 +1,9 @@
+2019-03-08  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR debug/89631
+       * dwarf2cfi.c (dwarf2out_frame_debug_expr): Use CONST_POLY_INT
+       instead of POLY_INT_CST.
+
 2019-03-08  Andre Vieira  <andre.simoesdiasvieira@arm.com>
 
        * config/arm/arm.h (TARGET_FP16_TO_DOUBLE): Add TARGET_VFP_DOUBLE
index 86b88c61ffe7c9497ab7dfb24211a2c8db9bfee5..d6aed358484594fd2f741d97e7c3447f9ee7655a 100644 (file)
@@ -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;