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: Baby's First AldyVec/AltiVec patch



On 23 Dec, 2003, at 14.35, Mark Mitchell wrote:



Also, note that the only real syntactic extension being proposed here
are the
context-sensitive keywords.  The cast expression

(type)(1, 2, 3, 4)

is _already_ legal in C and C++; all the AltiVec patch does is change
its _semantics_

That, I think, is precisely the objection that people raised -- this construct does not mean what some people expect it to mean.

Yes, and it's a sensible objection, intellectually speaking. Unfortunately,
we are dealing with an established standard that has been used for over 5 years
now, and which is supported by all shipping compilers _except_ FSF GCC. :-(


Similary, there are many dark corners of C and C++ (one such corner was revealed
during the -fwritable-strings discussion) which, while intellectually dubious,
must continue to be supported because they are part of the standard. :-)



However, I refuse to be drawn further into this debate or made out to be
the obstacle to accepting this patch. :-)

Fair enough. :-)


--Zem
--------------------------------------------------------------
Ziemowit Laski                 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group        Cupertino, CA USA  95014-2083
Apple Computer, Inc.           +1.408.974.6229  Fax .5477


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