[m-dev.] Compilation error

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Oct 2 11:08:24 AEST 2007


On Mon, 1 Oct 2007, Quan Phan wrote:

> Hi,
>
> I compiled the most recent compiler code into asm_fast.gc.rbmm grade using
> the rotd 27/09 compiler and got the following error.
>
> /cw/dtailocal/quan/mmcrotd/bin//mmc --compile-to-c --grade
> asm_fast.gc.rbmm  --mercury-linkage shared --flags LIB_FLAGS   --flags
> INTER_FLAGS  --inline-vars-threshold 10000
> --optimize-constructor-last-call   tree234 > tree234.err 2>&1
> gmake[1]: *** [tree234.c_date] Error 1
> gmake[1]: Leaving directory
> `/localhost/NoCsBack/dtai/quan/ws_1001/library'
> gmake: *** [library] Error 2
>
> In tree234.err:
> Uncaught Mercury exception:
> Software Error: rbmm.points_to_analysis.m: Sorry, not implemented:
> inter_analyse_goal_expr: generic_call not handled
> Stack dump not available in this grade.
>
> The error shows that the region points-to analysis has been run while
> compiling tree234.m, which is strange because it shouldn't.
>
> Could any one suggest what might be the cause and solution?

The grade component .rbmm implies the option `--use-regions' which
in turn enables the region points-to analysis.  You may need to add
an option that disables the region analysis and disable it for modules
for which it won't yet work, or handle generic calls in a more
robust fashion.

Cheers,
Julien.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list