diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2013-03-23 12:11:10 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2013-03-23 12:11:10 +0000 |
commit | b64925dc4b75d48fe36c0fcd41fd02151a5ffa55 (patch) | |
tree | 17531e80a4ee959e96e3b55b923dbe168f1daa80 /gcc/dwarf2out.c | |
parent | b9aaf52e25a78e5b150ecc7a8b5226392e569b5e (diff) | |
download | gcc-b64925dc4b75d48fe36c0fcd41fd02151a5ffa55.zip gcc-b64925dc4b75d48fe36c0fcd41fd02151a5ffa55.tar.gz gcc-b64925dc4b75d48fe36c0fcd41fd02151a5ffa55.tar.bz2 |
avr.c, [...]: Where applicable...
* config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c,
config/epiphany/epiphany.c, config/frv/frv.c, config/ia64/ia64.c,
config/iq2000/iq2000.c, config/mcore/mcore.c, config/mep/mep.c,
config/mmix/mmix.c, config/pa/pa.c, config/rs6000/rs6000.c,
config/s390/s390.c, config/sparc/sparc.c, config/spu/spu.c,
config/stormy16/stormy16.c, config/v850/v850.c, config/xtensa/xtensa.c,
dwarf2out.c, hw-doloop.c, resource.c, rtl.h : Where applicable, use
the predicates NOTE_P, NONJUMP_INSN_P, JUMP_P, CALL_P, LABEL_P, and
BARRIER_P instead of GET_CODE.
From-SVN: r197005
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index b298cd9..8cf3b76 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -5059,7 +5059,7 @@ add_var_loc_to_decl (tree decl, rtx loc_note, const char *label) if (temp->last && temp->first == temp->last && TREE_CODE (decl) == PARM_DECL - && GET_CODE (temp->first->loc) == NOTE + && NOTE_P (temp->first->loc) && NOTE_VAR_LOCATION_DECL (temp->first->loc) == decl && DECL_INCOMING_RTL (decl) && NOTE_VAR_LOCATION_LOC (temp->first->loc) @@ -13475,7 +13475,7 @@ dw_loc_list (var_loc_list *loc_list, tree decl, int want_address) *listp = new_loc_list (descr, node->label, endname, secname); if (TREE_CODE (decl) == PARM_DECL && node == loc_list->first - && GET_CODE (node->loc) == NOTE + && NOTE_P (node->loc) && strcmp (node->label, endname) == 0) (*listp)->force = true; listp = &(*listp)->dw_loc_next; @@ -20702,7 +20702,7 @@ dwarf2out_var_location (rtx loc_note) next_note = NEXT_INSN (loc_note); if (! next_note || INSN_DELETED_P (next_note) - || GET_CODE (next_note) != NOTE + || ! NOTE_P (next_note) || (NOTE_KIND (next_note) != NOTE_INSN_VAR_LOCATION && NOTE_KIND (next_note) != NOTE_INSN_CALL_ARG_LOCATION)) next_note = NULL_RTX; |