[jhc] bug report: "Alias still
John Meacham
john at repetae.net
Fri Sep 4 21:13:27 EDT 2009
On Fri, Sep 04, 2009 at 07:18:53AM -0400, David Roundy wrote:
> When I remove the strictness annotations and compile and run the code,
> I get the following runtime error:
>
> demo_code.c:2863: case fell off
>
> I know how to leave the C code, so I can see where this error comes
> from, but it's opaque enough that I've no idea what's going wrong. :(
Hmm.. this shouldn't happen. When debugging it is also a good idea to do
a -dgrin-final and -dc, reading the final grin code is often easier than
the c, variable numbers stay the same between the versions, so finding
cooresponding places is pretty easy just by searching for the variable
names.
I tried to reproduce your test case but wasn't able to. do you have a
version that reliably triggers this? are you compiling with -flint? that
is usually a good thing to do if you suspect a bug in the compiler.
John
--
John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/
More information about the jhc
mailing list