This is the mail archive of the
mailing list for the GCC project.
Re: fix regparm testcases
On Wed, Feb 25, 2004 at 02:14:15PM -0800, Zack Weinberg wrote:
> I was thinking of the other way round ...
> static void __attribute((regparm(1))) foo(int x);
> void bar()
> static void foo(int x)
> printf("%d", x);
Granted, that works. If we can reliably detect things in
this direction (earliest declaration must contain regparm),
then I'd be in amenable to that.