Re: [cc65] bug report: pass-by-value of structs destroys stack

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-11-29 23:24:22
Hi!

On Tue, Nov 29, 2005 at 10:56:40PM +0100, Sidney Cadot wrote:
> .... Passing a struct as a function parameter destroys the stack -
> probably a simple offset problem.

Passing structs by value is not supported. I admit that the compiler should
refuse the input instead of generating invalid code.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Nov 29 23:24:35 2005

This archive was generated by hypermail 2.1.8 : 2005-11-29 23:24:38 CET