aboutsummaryrefslogtreecommitdiff
path: root/gcc/gengtype.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-07-29 19:48:03 +0000
committerJakub Jelinek <jakub@redhat.com>2010-07-29 19:48:03 +0000
commit4509d7b6af5b98e884cb408f8cd0e9e621529f55 (patch)
treedf50901c9debec4fa8d492287c8d48e3d498b2d3 /gcc/gengtype.c
parent3160eaab7af336a44536bdcabd904eec73ba67df (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@162692 138bc75d-0d04-0410-961f-82ee72b054a4
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 b26476d50f0..9cdc6a46bf0 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";