[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] latest cvs changes
From: |
Gaius Mulley |
Subject: |
[Gm2] latest cvs changes |
Date: |
Sat, 19 Dec 2009 14:45:46 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Hi,
here are the latest CVS changes (fixes to FOR loop checking, and
a fix to large set SHIFTs).
* gm2/gm2-libs/SYSTEM.mod: fixed an off by one bug in
ShiftLeft and ShiftRight.
* gm2.paranoid builds on LP64
* gm2/patches/gcc/4.1.2/01.gaius_patch_gcc: removed
m2pp.o from being linked in with cc1 and cc1dummy.
* gm2/gm2-compiler/M2GenGCC.mod: (CodeEndFile) remove
PopScope again as the quadruple coding ordering needs to
be fixed before this code will work. The CodeStartDefFile,
CodeStartModFile, CodeEndFile need to be placed at the start
and end of the module and collected in the CodeScope.
Renamed CompilingMainModule to CompilingMainModuleStack.
* gm2/gm2-compiler/M2Quads.mod: (doConvert) New function.
BuildForToByDo call doConvert to convert expressions e1 and
e2 before they are used to calculate the iteration final
value. Fixes a bug reported by James Cox
<address@hidden>.
(testsuite/gm2/switches/check-all/run/pass/forcheck.mod).
* gm2/m2pp.c: new function (m2pp_integer). m2pp_type and
m2pp_simple_type call m2pp_integer.
(m2pp_simple_expression)
corrected '-' binary operator written.
* gm2/bnf/m2-3.bnf: removed unused procedure
(CollectConstructor).
* gm2/bnf/m2-h.bnf: fixed ConstSetOrQualidentOrFunction
to use ConstActualParameters.
the large set shift was an off by one bug - I'd be interested to hear
if the regression test testsuite/gm2/isolib/run/pass/shift3.mod now
passes on other architectures.
regards,
Gaius