summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-03 09:52:26 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-03 09:52:26 +0000
commit6c7786cbe8dd7fbb879f099b276805dbfa5fa4e5 (patch)
tree7bda455c980f3d76ea3a4d1808551f0ee44fe54c /gcc/rtl.h
parent730483ad29695ff804c9aa54d1bc0b113acee374 (diff)
downloadgcc-6c7786cbe8dd7fbb879f099b276805dbfa5fa4e5.tar.gz
* rtl.h (NOTE_DATA): Refer to whole union.
* emit-rtl.c (emit_note): Use memset to clear NOTE_DATA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68874 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index de76ec2fa32..e3e41d23a56 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -778,7 +778,7 @@ extern const char * const reg_note_name[];
*/
/* Opaque data. */
-#define NOTE_DATA(INSN) XCINT (INSN, 4, NOTE)
+#define NOTE_DATA(INSN) RTL_CHECKC1 (INSN, 4, NOTE)
#define NOTE_SOURCE_FILE(INSN) XCSTR (INSN, 4, NOTE)
#define NOTE_BLOCK(INSN) XCTREE (INSN, 4, NOTE)
#define NOTE_EH_HANDLER(INSN) XCINT (INSN, 4, NOTE)