revised varargs patch with references

Richard Henderson rth@cygnus.com
Wed Mar 29 01:11:00 GMT 2000


On Tue, Mar 28, 2000 at 11:59:26AM -0800, Geoff Keating wrote:
> This patch uses references to make it clear when the va_start and
> va_copy macros change their first argument.  It works surprisingly
> well, even in C (once you explain to convert_for_assignment what
> references are).

Yes, this is much cleaner.

> Tested with no varargs failures on x86 linux...

Except that it crashes quite hard on alpha, right in
the middle of the reference widgetry you added.  :-(


r~


More information about the Gcc-patches mailing list