This is the mail archive of the gcc@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]

Re: Vector Extensions in GCC


On Wed, 11 Jul 2001, Mark Mitchell wrote:

> I've suggested that we first merge the C and C++ front-ends (this
> is not as far away as you might think)

Do you have something more concrete?  Over a third of the C front end is
now common code used also by C++, a lot more than in 2.95, and a lot more
is sufficiently similar that it ought to be shared, which is some sort of
incremental merge but hardly likely to yield a single front end in a
reasonable amount of time.  What about Objective-C?

> and then simply use templates.
> (Syntactically, they might not be that, but internally that's an
> easy way to get the right things to happen.)

Do you have an example of how templates would be used to implement one of
the <tgmath.h> functions?

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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