From bf6b5685176e53950e7aa41b8739861cebb01582 Mon Sep 17 00:00:00 2001
From: rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sat, 18 Oct 2003 18:45:16 +0000
Subject: 	* rtl.h (rtl_size): Declare. 	(rtunion): Remove rtwint. 
 (rtx_def): Replace 'fld' with a union of an rtunion or a HOST_WIDE_INT. 
 (RTX_HDR_SIZE, RTX_SIZE): New macros. 	(RTL_CHECK1): Adjust for new rtx_def
 layout. 	(RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2): Likewise. 
 (XWINT, XCWINT): Likewise.  Access the rtx structure directly. 
 (X0WINT): Remove. 	(X0ANY): New macro. 	* rtl.def: Adjust comments for
 new rtx_def layout. 	* ggc.h (ggc_alloc_rtx): Take the rtx code as
 argument, not the 	number of slots. 	* rtl.c (rtx_size): New array.
 	(rtx_alloc): Adjust call to ggc_alloc_rtx.  Use RTX_HDR_SIZE. 
 (copy_rtx): Use RTX_HDR_SIZE.  Adjust for new rtx_def layout. 
 (shallow_copy_rtx): Adjust call to ggc_alloc_rtx.  Use RTX_SIZE. 	*
 integrate.c (copy_rtx_and_substitute): Use X0ANY to copy '0' fields. 	*
 emit-rtl.c (copy_most_rtx): Likewise. 	(copy_rtx_if_shared): Use RTX_SIZE. 
 (copy_insn_1): Use RTX_HDR_SIZE.  Adjust for new rtx_def layout. 	*
 gengenrtl.c (gendef): Adjust ggc_alloc_rtx call.  Use RTX_HDR_SIZE. 	*
 gengtype.c (write_rtx_next): Use RTX_HDR_SIZE. 
 (adjust_field_rtx_def): Expect "rtx_def" to be a union rather than 	an
 array.  Adjust output for new rtx_def layout. 	* ggc-page.c (RTL_SIZE): Use
 RTX_HDR_SIZE. 	* reload1.c (eliminate_regs): Use RTX_SIZE. 	* rtlanal.c
 (loc_mentioned_in_p): Adjust for new rtx_def layout. 	* gdbinit.in (pi):
 Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72647 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/rtl.def | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'gcc/rtl.def')

diff --git a/gcc/rtl.def b/gcc/rtl.def
index 3f5bcef90df..a7de17beea5 100644
--- a/gcc/rtl.def
+++ b/gcc/rtl.def
@@ -39,7 +39,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    These names are stored in rtx_name[].
    By convention these are the internal (field 1) names in lower_case.
 
-   3.  The print format, and type of each rtx->fld[] (field) in this rtx.
+   3.  The print format, and type of each rtx->u.fld[] (field) in this rtx.
    These formats are stored in rtx_format[].
    The meaning of the formats is documented in front of this array in rtl.c
    
@@ -598,7 +598,7 @@ DEF_RTL_EXPR (ATTR_FLAG, "attr_flag", "s", 'x')
    All formats must start with "iuu" to handle the chain.
    Each insn expression holds an rtl instruction and its semantics
    during back-end processing.
-   See macros's in "rtl.h" for the meaning of each rtx->fld[].
+   See macros's in "rtl.h" for the meaning of each rtx->u.fld[].
 
    ---------------------------------------------------------------------- */
 
@@ -606,14 +606,14 @@ DEF_RTL_EXPR (ATTR_FLAG, "attr_flag", "s", 'x')
 DEF_RTL_EXPR(INSN, "insn", "iuuBieiee", 'i')
 
 /* An instruction that can possibly jump.
-   Fields ( rtx->fld[] ) have exact same meaning as INSN's.  */
+   Fields ( rtx->u.fld[] ) have exact same meaning as INSN's.  */
 DEF_RTL_EXPR(JUMP_INSN, "jump_insn", "iuuBieiee0", 'i')
 
 /* An instruction that can possibly call a subroutine
    but which will not change which instruction comes next
    in the current function.
-   Field ( rtx->fld[9] ) is CALL_INSN_FUNCTION_USAGE.
-   All other fields ( rtx->fld[] ) have exact same meaning as INSN's.  */
+   Field ( rtx->u.fld[9] ) is CALL_INSN_FUNCTION_USAGE.
+   All other fields ( rtx->u.fld[] ) have exact same meaning as INSN's.  */
 DEF_RTL_EXPR(CALL_INSN, "call_insn", "iuuBieieee", 'i')
 
 /* A marker that indicates that control will not flow through.  */
-- 
cgit v1.2.1

