gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Another one, TestCase19.mod


From: Gaius Mulley
Subject: Re: [Gm2] Another one, TestCase19.mod
Date: Mon, 10 Jan 2011 14:36:05 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Dragiša Durić <address@hidden> writes:

> % cat TestCase19.mod
> MODULE TestCase19;
>
> CONST
>   True = TextRep.True;
>
> BEGIN
> END TestCase19.
>
> % gm2 -c -fiso TestCase19.mod
> Internal error: Segmentation fault
> Please report this crash to the GNU Modula-2 mailing list <address@hidden>

Hi,

now fixed in the latest cvs (together with testcase18).  I've rewritten
the typed constant mechanism.  Many thanks for all the testcases!

regards,
Gaius


  * fixed many constant type related bugs reported by 
    DragiÅ¡a DuriÄ<U+0087> (dragisa-duric/testcase18 and
    dragisa-duric/testcase19).
  * gm2/Make-lang.in:  modified texi2html build rule.
  * gm2/bnf/m2-c.bnf:  major number of changes to incorporate
    parsing const expressions to deduce their types.
  * gm2/gm2-compiler/M2Base.mod:  added return types to the
    builtin procedure functions so that if they are used in
    constant expressions m2-c can determine their types.
  * gm2/gm2-compiler/M2Comp.mod:  ResolveConstType is now
    exported from PCSymBuild rather than P2SymBuild.
  * gm2/gm2-compiler/M2GenGCC.mod:  allow procedures to be
    assigned to constants.
  * gm2/gm2-compiler/M2Quads.def:  export new procedure
    function Top.
  * gm2/gm2-compiler/M2Quads.mod:  implement new procedure
    function Top.
  * gm2/gm2-compiler/M2StackAddress.mod:  fixed bug in
    M2StackAddress.NoOfItemsInStackAddress.
  * gm2/gm2-compiler/M2StackWord.mod:  fixed same bug in
    M2StackWord.NoOfItemsInStackAddress.
  * gm2/gm2-compiler/P2SymBuild.def:  removed many of the
    constant type resolution procedures and moved them to
    PCSymBuild.
  * gm2/gm2-compiler/PCSymBuild.def:  export many constant
    type related procedures.
  * gm2/gm2-compiler/PCSymBuild.mod:  major reimplementation
    to allow constant expression trees to be built so that
    types can be deduced.
  * gm2/init/gm2-gccinit:  added new M2Const.
  * gm2/www/index.ms:  web page now contains info relating
    to release 1.0.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]