2019-08-05  Arvind Sankar  <nived...@alum.mit.edu>

        gcc/ChangeLog:

        * dwarf2out.c: Convert GET_CODE (..) == SYMBOL_REF to
        SYMBOL_REF_P (..).

 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index b2b4f6d82b2..ea38963d177 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -23747,8 +23747,7 @@ gen_variable_die (tree decl, tree origin, dw_die_ref 
context_die)
                      if (single_element_loc_list_p (loc)
                          && loc->expr->dw_loc_opc == DW_OP_addr
                          && loc->expr->dw_loc_next == NULL
-                         && GET_CODE (loc->expr->dw_loc_oprnd1.v.val_addr)
-                            == SYMBOL_REF)
+                         && SYMBOL_REF_P (loc->expr->dw_loc_oprnd1.v.val_addr))
                        {
                          rtx x = loc->expr->dw_loc_oprnd1.v.val_addr;
                          loc->expr->dw_loc_oprnd1.v.val_addr
-- 
2.21.0

Reply via email to