This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SIMPLE: A language-independent tree IR
- From: Joe Buck <jbuck at synopsys dot COM>
- To: toon at moene dot indiv dot nluug dot nl (Toon Moene)
- Cc: jsm28 at cam dot ac dot uk (Joseph S. Myers),dnovillo at redhat dot com (Diego Novillo), gcc at gcc dot gnu dot org
- Date: Wed, 2 Jan 2002 15:16:15 -0800 (PST)
- Subject: Re: SIMPLE: A language-independent tree IR
Joseph:
> > There may be other C assumptions in the current tree forms to consider and
> > maybe change - for example, are the C rules that overflow of signed
> > integer arithmetic is undefined appropriate for all languages, or is this
> > another matter that should be explicitly represented in the various forms?
Toon:
> Fortran doesn't even define the concept of overflowing of INTEGERs
> (which are always signed in arithmetic context).
... which is the same as C (behavior of int addition overflow is not
defined, so the fortran and C compilers generate integer addition
instructions and the user gets whatever the machine does).