Re: [cc65] Overflows in signed comparisions

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-10-08 00:14:51


On Tuesday 07 October 2003 15:33, Ullrich von Bassewitz wrote:
> On Mon, Oct 06, 2003 at 01:54:39AM +0200, Groepaz wrote:
> > its not an overflow i think, rather a real serious bug :=P i added some
> > of sdcc's regression tests to the testsuite last nite (and i hope i'll
> > manage to get the rest added this nite) and all the tests which involve
> > signed comparisons do fail :=P
>
> And didn't find the time to look at the test suite - sorry.

no problem :=) just trying to make it run all through without getting stuck at 
certain tests, so the only required interaction is closing the emu when 
everything is done :) (still thinking about some whacked up patch to x64 so 
the program can close the emu .... )

> > i think to be more precise, and to avoid confusion it should say
> > something like
> >
> > "C functions can not take structs as parameters by value. Structs can not
> > be returned by value. Struct assignment is possible."
>
> Which is still wrong, since assembler functions *can* return structs by
> value, provided they have a size of 1, 2 or 4 bytes :-)

woha....and that doesnt make it exactly less confusing either :=P however it 
should be made clear in the docs :)

gpz

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-10-08 00:22:49 CEST