[m-rev.] Compiler bug: Uncaught Mercury exception

Volker Wysk post at volker-wysk.de
Wed Jan 3 03:47:04 AEDT 2024


Hi

I get the following when I compile my program:

./mmc-make 
Making Mercury/int3s/colipa.int3
Making Mercury/ints/colipa.int
Making Mercury/cs/colipa.c
Uncaught Mercury exception:
Software Error: predicate `ll_backend.liveness.require_equal'/4: Unexpected:
branches of if-then-else disagree on liveness
First: HeadVar__4_4, QueryFunction_6, Arguments_7, Arg_8, Values_9,
ArgDesc_10, MDef_11, Default_12, TypeClassInfo_for_argument_42,
TypeInfo_43_43
Rest:  HeadVar__4_4, QueryFunction_6, Arguments_7, Arg_8, Values_9,
ArgDesc_10, MDef_11, Default_12, TypeInfo_43_43

I've attached the three files that are involved.

This time it *really* is a bug. :)

Cheers,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colipa.m
Type: text/x-matlab
Size: 133169 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20240102/c66a3d04/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmc-make
Type: application/x-shellscript
Size: 810 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20240102/c66a3d04/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.m
Type: text/x-matlab
Size: 7977 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20240102/c66a3d04/attachment-0005.bin>


More information about the reviews mailing list