This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Target-specific Front-Ends? (Was: front end changes for altivec)
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Stan Shebs <shebs at apple dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Tue, 27 Nov 2001 21:26:55 +0000 (GMT)
- Subject: Re: Target-specific Front-Ends? (Was: front end changes for altivec)
On Tue, 27 Nov 2001, Stan Shebs wrote:
> All at www.altivec.org, including the 260-page programming interface
> specification. I'm sure you'll find plenty of loopholes in it
> though.
It doesn't include anything in the way of textual changes to the standards
or details of which syntax productions what new features are supposed to
go in. This means such fundamental information is missing as:
* With context-sensitive keywords, after "typedef int vector;", is vector
a keyword or a typedef?
* With context-sensitive keywords, after "int vector;", is "(vector)+1" to
be interpreted as addition, or a cast (which would seem to parse according
to the syntax, but violate constraints)?
* Do vector literals bind more or less tightly than sizeof? GCC used to
handle compound literals incorrectly in this case
(gcc.c-torture/compile/20010124-1.c).
--
Joseph S. Myers
jsm28@cam.ac.uk