[BUG] GCC 3.4-20041224: __attribute__ ((regparm)) misbehaviour
Giovanni Bajo
giovannibajo@libero.it
Tue Dec 28 04:08:00 GMT 2004
Denis Zaitsev <zzz@anda.ru> wrote:
> static
> int x(int y)
> __attribute__ ((regparm(1)));
>
> static
> int x(int y)
> {
> return y;
> }
>
>
> can't be compiled with GCC 3.4.4 20041224. The compiler complains:
It's just a new behaviour in GCC 3.4. I think we ought to document this in
http://gcc.gnu.org/gcc-3.4/changes.html.
Giovanni Bajo
More information about the Gcc
mailing list