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: SIMPLE: A language-independent tree IR


On Wed, Jan 02, 2002 at 02:05:31PM -0800, Per Bothner wrote:
> Perhaps not, but for most of the other _STMT nodes it is perfectly
> reasonable to use them as expressions, and there are existing
> languages out there where such forms *are* expressions, including
> most languages in the Lisp family.

I don't care.  For the purposes of the language-independant
tree nodes, expressions shall have no side effects.  Transfer
of control is a side effect, and thus shall be a statement.


r~


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