This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RTL consistency questions
- To: Zack Weinberg <zack at rabi dot columbia dot edu>
- Subject: Re: RTL consistency questions
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Mon, 05 Apr 1999 03:07:30 -0600
- cc: egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199904030234.VAA15819@blastula.phys.columbia.edu>you write:
>
> Part of integrate.c appears to assume this, but it's not documented:
>
> If code is an RTX code, and GET_RTX_CLASS (code) is '1', 'b', or '3',
> is GET_RTX_FORMAT (code) guaranteed to begin with 'e'?
If it's not documented, then it should be documented. Some of the classes
are known to have specific forms.
> If x is a valid RTX, and GET_RTX_FORMAT (GET_CODE (x)) is a string
> beginning with 'e', is GET_MODE (XEXP (x, 0)) guaranteed to be other
> than VOIDmode?
I don't think so. Consider an EXPR_LIST or INSN_LIST.
jeff