This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rtl


On Thursday, October 3, 2002, at 11:51 PM, N V Krishna wrote:
the definition of rtx, the field fld is an array of size 1, declared as :

rtunion fld[1];

However, I see that there are uses as :

#define SET_DEST(RTX) ((RTX)->fld[0].rtx)
#define SET_SRC(RTX) ((RTX)->fld[1].rtx)

Am I missing something obvious?
I'd just recommend ignoring it, unless you want to learn more than you wanted to know. If you want to learn, set a breakpoint at something that allocates an rtx and say step. You will then `see' how this works. This is only one weird thing out of the thousands of weird things gcc does.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]