On Dienstag 08 September 2009, Ullrich von Bassewitz wrote: > On Tue, Sep 08, 2009 at 10:54:32PM +0200, Groepaz wrote: > > ( http://hitmen.c02.at/temp/testsuite/html/c89-o-Osir.strptr.diff.html > > and http://hitmen.c02.at/temp/testsuite/html/strptr.c.html already are > > there :)) > > strptr.c is fixed now, thanks! The test suite is really invaluable. Once > all this is over, I will check if any of my own test programs can be > converted to run as part of your suite. just send them over and i'll add them :) i rechecked with 4139, strptr indeed works and nothing else broke :) i looked a bit further into yacc.c too... (what a horrible program =P) i added more verbose debug output and traced the problem down to the innerloop of the yylook() function. however, at some point after adding more debug output the damn thing suddenly worked! (with the debug output enabled that is) - which to me clearly indicates some kind of stack problem =P out of curiosity i compiled it with debug output enabled and disabled and checked the differences, and indeed, there seem to be a couple of things done differently in the non working one. i cant tell if those would be normal because of the missing fprintf calls, but you probably can, so here they are: http://hitmen.c02.at/temp/testsuite/yacc-nodebug.s (not working) http://hitmen.c02.at/temp/testsuite/yacc-debug.s (produces correct output) http://hitmen.c02.at/temp/testsuite/yacc.c (compiled with -Osir) -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org Some people say that I must be a horrible person, but that's not true. I have the heart of a small boy --- in a jar on my desk <Stephen King> ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed Sep 9 04:07:58 2009
This archive was generated by hypermail 2.1.8 : 2009-09-09 04:08:05 CEST