Files
mercury/tests/valid
Zoltan Somogyi 18e222656f Stop common_struct from interfering with mark_static_terms.
This fixes Mantis bug #493.

compiler/common.m:
    Don't apply the common_struct optimization if doing so could possibly
    invalidate the annotations generated by mark_static_terms.m, which the
    MLDS code generator relies on.

    Move the tests for the applicability of the common_struct optimization
    for both construction and deconstruction unifications next to each other.

    Add XXXs about possible problems this code may have when applied to code
    that does region based memory allocation.

tests/valid/bug493.m:
    A simplified version of the Mantis test case.

tests/valid/Mmakefile:
tests/valid/Mercury.options:
    Enable the new test case, and specify the options that originally caused
    the bug to manifest itself.
2020-01-22 22:10:43 +11:00
..
2019-07-10 02:50:46 +02:00
2017-01-20 00:28:19 +11:00
2019-08-20 10:29:04 +10:00
2019-09-29 12:16:30 +10:00
2016-03-13 01:11:05 +11:00
2018-10-01 06:54:00 +10:00
2016-03-13 01:11:05 +11:00
2019-05-28 23:04:35 +02:00
2018-01-11 23:09:08 -05:00