aboutsummaryrefslogtreecommitdiff
path: root/gcc/gengtype.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-07-29 21:48:03 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-07-29 21:48:03 +0200
commit0f953f83c264764697ed852c41c5cfca66147883 (patch)
treedf50901c9debec4fa8d492287c8d48e3d498b2d3 /gcc/gengtype.c
parent8b522befbf2eed8d9ce2f51098bc152787e16ead (diff)
downloadgcc-0f953f83c264764697ed852c41c5cfca66147883.zip
gcc-0f953f83c264764697ed852c41c5cfca66147883.tar.gz
gcc-0f953f83c264764697ed852c41c5cfca66147883.tar.bz2
revert: rtl.def (NOTE): Swap operands 4 and 5.
Revert: * rtl.def (NOTE): Swap operands 4 and 5. * rtl.h (NOTE_DATA, NOTE_DELETED_LABEL_NAME, NOTE_BLOCK, NOTE_EH_HANDLER, NOTE_BASIC_BLOCK, NOTE_VAR_LOCATION, NOTE_KIND): Adjust accordingly. * gengtype.c (adjust_field_rtx_def): Swap operands 4 and 5 of NOTEs. From-SVN: r162692
Diffstat (limited to 'gcc/gengtype.c')
-rw-r--r--gcc/gengtype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gengtype.c b/gcc/gengtype.c
index b26476d..9cdc6a4 100644
--- a/gcc/gengtype.c
+++ b/gcc/gengtype.c
@@ -1112,9 +1112,9 @@ adjust_field_rtx_def (type_p t, options_p ARG_UNUSED (opt))
else if (i == LABEL_REF
&& (aindex == 1 || aindex == 2))
t = rtx_tp, subname = "rt_rtx";
- else if (i == NOTE && aindex == 5)
- t = note_union_tp, subname = "";
else if (i == NOTE && aindex == 4)
+ t = note_union_tp, subname = "";
+ else if (i == NOTE && aindex == 5)
t = scalar_tp, subname = "rt_int";
else if (i == NOTE && aindex >= 7)
t = scalar_tp, subname = "rt_int";