SAS/C 5.10 Compiler Guru
05-Oct-90 21:25:57
Sb: #1221-SAS/C 5.10 Compiler Guru
Fm: Alan Bland 72707,3662
To: Mike Spille/Manx 71545,1466
Mike, you make a good point about how an "obvious" bug can slip through.
That's the first thing I thought when SAS crashed trying to compile a very
simple BltBitMap call. But it turns out that the bug only shows up on
68000 Amigas when one of the parameters passed is an odd constant. It works
on 020's and 030's, it works if it's even, and it works if the value is
passed in as a variable. I could easily believe that SAS's test case for
this (assuming there was one) happened to use an even constant, or a
variable.
But there's no excuse for the getcwd() example I described in a previous
message. When compiled with registerized parameters, it always returned
NULL (or maybe it was a null string) regardless of the various combinations
of input parameters I tried. It was simply never tested.