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]

Re: A sh-elf c++ problem


On Mar 12, 2001, Franz Sirl <Franz.Sirl-kernel@lauterbach.com> wrote:

> At 06:36 10.03.2001, Alexandre Oliva wrote:
>> On Mar  9, 2001, kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:
>> 
>> > I found the another implementations like alpha set the TYPE_NAME of
>> > this node at the corresponding place to sh_built_va_list.
>> > With copying them into sh_build_va_list, the fault goes away.
>> > I'd like to attach the patch, though I don't know this is the right
>> > thing to do.
>> 
>> It is certainly right, but I believe it's obviated by the patch I
>> posted on Feb 4, that's still awaiting approval (hint, hint :-)
>> 
>> http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00187.html

> One thing I wanted to ask about this, maybe the patch is needed for
> array type va_list's too?

Even if there is any ABI that has va_list as an array type, it
probably still makes sense to have va_list be a distinct type from
that particular array type.  Otherwise, we might get odd error
messages in which the array type should be printed, but va_list is
printed instead.

I.e., array types should be copied, so the patch doesn't apply.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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