[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] latest git commit
From: |
Christoph Schlegel |
Subject: |
Re: [Gm2] latest git commit |
Date: |
Thu, 27 Aug 2015 15:51:38 +0200 |
Hello Gaius,
gm2 builds under Cygwin32/Windows7 (tarball August 24), also makes paranoid.
I'll upload the logs soon.
$ CXXFLAGS=-g BOOT_CFLAGS=-g CFLAGS=-g ../gcc-4.7.4/configure
--prefix=$HOME/opt --libexecdir=$HOME/opt/lib --enable-shared
--enable-threads=posix --enable-clocale=gnu --enable-languages=c,c++,gm2
--disable-multilib --disable-bootstrap --enable-checking --enable-libgm2
--disable-sjlj-exceptions
=== gm2 Summary ===
# of expected passes 9776
# of unexpected failures 114
# of unresolved testcases 78
By the way I noticed a few versioning inconsequences in git:
in Make-lang.in line 500 GCC-VERSION is still set to 4.7.3,
line 24 of configure.in points to gm2 version 1.0.5:
AC_INIT(gm2config.h.in, 1.0.5, address@hidden), therefore numerous references
to 1.0.5 in the configure script.
No problem at all as gm2 builds -
Regards
Christoph
On Tue, 25 Aug 2015 12:32:09 +0100
Gaius Mulley <address@hidden> wrote:
>
>
> Hello,
>
> here are the latest changes made to gm2 on the trunk. In summary
> there are bug fixes to allow:
>
> (i) 'a' to be passed as an actual parameter to a formal parameter
> ARRAY [0..19] OF CHAR. Also allows smaller constant
> strings to be passed which are nul padded.
> (ii) assignment of record, and array types to LOC, BYTE, WORD
> providing that the sizes match.
> (iii) valgrind to execute cc1gm2 without complaining about
> uninitialised values. Read missing initialisations added.
>
> regards,
> Gaius
>
>
> * gm2/examples/pge/examples/exampleBoxes.py: much more debugging
> added.
> * gm2/examples/pge/pge.py: more debugging added. Also correct
> lack of initialiser bugs. Many diagnostics added.
> * gm2/examples/pge/pgeif.def: added ValueOutOfRange exception.
> * gm2/examples/pge/pgeif.i: added skip_until procedure.
> * gm2/examples/pge/pgeif.mod: (check_range) New function
> procedure. get_xpos, get_ypos, box, poly3, poly4, poly5
> and poly6 all use check_range to check parameter values.
> * gm2/examples/pge/twoDsim.mod: added more trace information
> and test for object deletion.
> * gm2/gm2-compiler/M2Base.mod: added two more metatypes, rec
> and array. Check for these meta types and add their
> characteristics into the assignment and expression matrices.
> This allows ARRAY and RECORD of the correct size to be compatible
> with WORD, BYTE, LOC etc.
> * gm2/gm2-compiler/M2GCCDeclare.mod: use BuiltinsLocation during
> the construction of the base types.
> * gm2/gm2-compiler/M2GenGCC.mod: added internal debugging.
> (CodeIndirectCall) skip type aliases for the return type.
> * gm2/gm2-compiler/M2Scope.mod: added internal debugging.
> * gm2/gm2-compiler/SymbolTable.mod: added missing initialisation
> for ScopeQuad. This allows cc1gm2 to be run without errors by
> valgrind.
> * gm2/gm2-gcc/m2convert.c: convert_char_to_array (New function).
> convert_string_to_array (New function). BuildConvert changed
> to detect whether a const lit char or string is required to be
> converted into a fixed string length. This fixes a bug reported.
> * gm2/gm2-gcc/m2statement.c: tidied up code and fixed bug in
> (BuildReturnValueCode). This fixes a bug exposed by
> testsuite/gm2/pim/pass/typeequiv.mod.
> * gm2/gm2-gcc/m2type.c: (BuildArrayStringConstructor) now adds
> multiple nuls to the end of a string if length exceeds string.
> * gm2/gm2-libs/MemUtils.def: tidied up formatting.
> * gm2/p2c/p2c-src/src/pexpr.c: fixed bug so that constant strings
> have a LOW indice of 0 not 1.
> * gm2/pim/pass/typeequiv.mod: corrected date.
> * gm2/pim/pass/typeequiv2.mod: corrected date.
> * gm2/pim/pass/typeequiv3.mod: corrected date.
>
> * gm2/examples/pge/GC.mod: (gdbif) imported to aid debugging.
> Initialised callbacks to NIL (bugfix).
> * gm2/examples/pge/twoDsim.mod: removed debugging hook.
> * gm2/examples/shared/Makefile.in: corrected dates.
> * gm2/gm2-libs-iso/MemStream.mod: assign res to opened (bugfix).
> * gm2/gm2-libs/CmdArgs.def: corrected dates.
> * gm2/gm2-libs/CmdArgs.mod: corrected dates.
> * libgm2/libpim/Makefile.am: added SCmdArgs.def to be installed.
> * libgm2/libpim/Makefile.am: added SCmdArgs.mod to be built and
> installed.
>
> * gm2/gm2-compiler/M2GenGCC.mod: modified debugging hooks.
> * gm2/gm2-compiler/M2Quads.mod: (BuildConvert) allow record types
> to be converted as they might fit into a generic type.
> * gm2/gm2-gcc/m2convert.c: (same_size_types) New function.
> (converting_ISO_generic) only convert using short hand generic
> types if they are the correct size. (const_to_ISO_aggregate_type)
> New function.
> * gm2/gm2-lang.c: (convert) simplified.
>
> * gm2/README: corrected README to reflect prefered method of obtaining
> tar.gz file. Also improved the text. Removed the build instructions
> and replaced it with a reference to the documentation.
> * gm2/examples/pge/deviceIf.mod: added DebugTrace feature.
> * gm2/examples/pge/twoDsim.mod: added DebugTrace feature.
> * gm2/examples/pge/world.mod: useGroff by default.
> * gm2/gm2-compiler/M2Base.mod: fixed bug to allow BYTE to be parameter
> compatible with any BYTE sized type (including packed RECORD).
>
> _______________________________________________
> gm2 mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gm2
--
Christoph Schlegel <address@hidden>