This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Re: unapplied PATCH for Altivec vector literal syntax]
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: segher at chello dot nl
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 18 Feb 2002 10:26:54 +1100
- Subject: Re: [Re: unapplied PATCH for Altivec vector literal syntax]
- References: <3C6AF941.1F65652B@chello.nl>
>>>>> "Segher" == Segher Boessenkool <segher@chello.nl> writes:
>>
>> This patch implements the Altivec vector literal syntax, i.e.
>>
>> (vector int)(1, 2, 3, 4)
>>
>> I'm not checking it in, as with my FSF maintainer hat on I can't accept it;
>> the C99 compound literal syntax accomplishes the same thing, and doesn't
>> suffer the ambiguities of this syntax. But if people have code written to
>> the Altivec spec, they can apply this patch to their compiler until such
>> time as they migrate their code to use the C99 syntax.
> It might be useful to put this patch into the source tree (as an actual
> patch file, of course), prefixed with a little piece of text stating why it
> is a bad thing to use this, where in the manual to find info about how to
> change your sources so that you don't need this, and other discouragements?
Absolutely! Are you volunteering? ;-)
aldy