According to Nick Cremelie:
Nothing changes, I still get the same nasty Internal Compiler Error line. The problem might be not that simple...
Okay, so I see no other way out than remote debugging ... :-(
Please try to find out where in the GPC source the crash occurs. If you have no other possibility to do so, please add lines like
fprintf (stderr, "1\n");
in `parse.y', between the C lines in `implicit_module_constructor'. If it turns out that the crash occurs in, say, `start_function()', use the same method to find out where in `start_function()', and so on. (If somebody donates me an AIX workstation, I can do it for you.;-)-:
[...] I tried simple programs, large programs, but to no avail. I was under the impression that the compilation of the programs was actually carried out and that the crash always occurred during a final phase of the compilation.
According to `-dy', it occurs while compiling the unit constructor (an empty one in the case of `rts-base.p') which is at the end of the unit, but still inside the actual compilation (in contrast to some cleanup).
Peter