This is the mail archive of the gcc-patches@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: [Re: unapplied PATCH for Altivec vector literal syntax]


>>>>> "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


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