regparm & other gcc bug

Martynas Kunigelis martynas@nm3.ktu.lt
Sat Sep 6 05:19:00 GMT 1997


Kamil Iskra wrote:
> 
> On Thu, 4 Sep 1997, Martynas Kunigelis wrote:
> 
> > Anyway,
> > there's a bug
> > in gcc I have reported maybe a year and a half ago, still nobody at FSF
> > cared to
> > fix it. The bug is that if you specify multiple attributes for a
> > function (didn't try
> > the variables and structs though), only the last one in the list is
> > taken into account.
> 
> I can't confirm that. That's true, that there is such a bug in the public
> 2.7.x sources, but it's been fixed in the development sources a long time
> ago:
> 
> Mon May  6 16:41:08 1996  Stan Cox  (coxs@dg-rtp.dg.com)
> 
>         * c-common.c (decl_attributes): Chain multiple attributes correctly.

Oh, I'm sorry. That's just about the date I reported it... Again:
sorry for the confusion.

> 
> Note: I'm talking about a machine-independant bug, perhaps there's another
> one in the i386 backend (I use m68k), but I doubt it.
> 

I doubt it too. Thanks for the correction and sorry for confusion!

-Martynas



More information about the Gcc mailing list