gm2
[Top][All Lists]
Advanced

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

[Gm2] canonicalize array fix


From: Gaius Mulley
Subject: [Gm2] canonicalize array fix
Date: Sun, 17 Oct 2010 18:39:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

john o goyo <address@hidden> writes:

> Gmake check-gm2 reports the following (with the appropriate source
> modifications).
>
> # of expected passes            9177
> # of unexpected failures        39
>
> Full results to Gaius as usual.
>
> john

Hi John,

I've made some changes which fixes the canonicalize array problem you
reported - I wonder if you could possibly build and run the tests under
Solaris to check it works on this platform?

Thanks for the original bug report.

Changelog entries:

  * gm2/gccgm2.c:  renamed gccgm2_BuildArrayType to
    gm2_build_array_type as it is no longer exported.
    gccgm2_BuildEndArrayType has an extra parameter, type.
    gccgm2_BuildStringConstant uses stricter parameter
    declaration.  build_m2_iso_byte_node,
    build_m2_iso_word_node, build_m2_word16_type_node,
    build_m2_word32_type_node, build_m2_word64_type_node
    all have a front end type parameter so that
    We can canonicalize array declarations.
    (New functions) gccgm2_InitSystemTypes.
    Use gm2_canonicalize_array instead of
    canonicalize_array and skip type declarations during
    construction of array types.
    This fixes a bug reported by John O Goyo.
  * gm2/examples/gravity/Makefile.in:  run the more interesting
    test testsim2.py rather than testsim.py.
  * gm2/gm2-compiler/M2GCCDeclare.mod:  pass the front end type
    to gccgm2 array building functions.
  * gm2/gm2-compiler/M2System.mod:  only build GCC ISO types
    based on LOC once LOC is declared.
    * gm2/gm2-compiler/gccgm2.def:  add the extra type parameter
    to the array building functions.  Also export the new function
    InitSystemTypes.
          
regards,
Gaius



reply via email to

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