Re: [cc65] testsuite results ...

From: Ullrich von Bassewitz <>
Date: 2009-09-08 22:37:00
On Tue, Sep 08, 2009 at 12:31:58AM +0200, Groepaz wrote:
> yes, it doesnt produce that error here either with versin 4120 - i added
> a "start of test here" message because of it :) and yes, the code (and
> especially the generated asm) is kinda horrible =D

The compiled code doesn't run with version 2.12.0 either. It does also contain
code which triggers undefined behavior. Which is not the cause of the problem,
because cc65 should be able to cope with it, but it shows how weird the code

Finding the problem using the yacc.c source module seems to be a real lot of
trouble. I've spent almost two hours to just find the place where the compiler
breaks it with no success.

> ps: btw, are you interisted in the output generated when compiling cc65
> itself... like the warnings it produces? (i am running on amd64 here, and i
> am seeing one or two related warnings)

Yes, please send it in private mail.

> ../../../include/geos/gstruct.h(123): Error: Size of data type is unknown
> ../../../include/geos/gstruct.h(136): Error: Size of data type is unknown
> ../../../include/geos/gstruct.h(142): Error: Size of data type is unknown
> all of them failing because of
> sometype_t  arg[];

Yes, thanks! Flexible array members were adversely affected when working on
the bit-field stuff. It is fixed now.

> sidenote: one of my little test programs that dont fit into the testsuite (i
> should put those online too ...), which is a simple mandelbrot calculated in
> 16 bit fixedpoint, runs in ~1800 seconds now, as opposed to ~2500 seconds
> with the older compiler. quite a nice improvement =)

Fixing the remaining errors would also be a nice improvement :-)



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Sep 8 22:39:55 2009

This archive was generated by hypermail 2.1.8 : 2009-09-08 22:39:57 CEST