diff mbox series

[committed] Fix POLY_INT_CST/CONST_POLY_INT typo (PR 89631)

Message ID mpttvgd44b0.fsf@arm.com
State New
Headers show
Series [committed] Fix POLY_INT_CST/CONST_POLY_INT typo (PR 89631) | expand

Commit Message

Richard Sandiford March 8, 2019, 6:19 p.m. UTC
Tested on aarch64-linux-gnu (with SVE) and x86_64-linux-gnu.
Applied as obvious.

Richard


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.
------------------------------------------------------------------------------
diff mbox series

Patch

Index: gcc/dwarf2cfi.c
===================================================================
--- gcc/dwarf2cfi.c	2019-03-08 18:15:36.700740351 +0000
+++ gcc/dwarf2cfi.c	2019-03-08 18:17:35.892287413 +0000
@@ -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;