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: new __builtin_choose_type (patch)


On Tue, 2001-10-02 at 15:29, Dale Johannesen wrote:
> 
> On Tuesday, October 2, 2001, at 12:02 PM, dewar@gnat.com wrote:
> 
> > This seems a bit of a kludgy feature to me. Do we really need to add
> > overloading to C for this purpose? If so, surely it should be done
> > in a manner that is coherent with the rest of the language.
> 
> Well, the Altivec extensions require overloading, but this doesn't
> necessarily have to be visible to everybody else.  Motorola's approach
> (also used by Apple, at least for now) was to define a hook for
> target-dependent builtins, so the overloading stuff could be hidden

are these hooks in the middle/front end?  last i heard apple/motorola
were doing all sorts of crazy stuff modifying a myraid of files NOT in
config/rs6000/.  if so, i like that approach even less.

-- 
Aldy Hernandez					E-mail: aldyh@redhat.com
Professional Gypsy on a Motorcycle
Red Hat, Inc.


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