From noreply at github.com Sat Jan 4 05:37:27 2020 From: noreply at github.com (peter mckinna) Date: Fri, 03 Jan 2020 20:37:27 -0800 Subject: [M3commit] [modula3/cm3] c12dfa: Fix Packed debug types, calling convention for Win... Message-ID: Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: c12dfa937de3d95744264a35c92ef6467d6b4e52 https://github.com/modula3/cm3/commit/c12dfa937de3d95744264a35c92ef6467d6b4e52 Author: peter mckinna Date: 2020-01-04 (Sat, 04 Jan 2020) Changed paths: M m3-sys/llvm/llvm9/src/M3CG_LLVM.m3 Log Message: ----------- Fix Packed debug types, calling convention for Windows set calls and add volatile attribute for loads and stores to prevent bad optimisations around exception handling. Commit: 232e71f63d35d45a283959a111905d0e77ad6e16 https://github.com/modula3/cm3/commit/232e71f63d35d45a283959a111905d0e77ad6e16 Author: peter mckinna Date: 2020-01-04 (Sat, 04 Jan 2020) Changed paths: M m3-sys/llvm/llvm9/src/Main.m3 Log Message: ----------- Fix data-rep for windows Commit: d1307416b67f18eec908cee796f4b9032c4f12d2 https://github.com/modula3/cm3/commit/d1307416b67f18eec908cee796f4b9032c4f12d2 Author: peter mckinna Date: 2020-01-04 (Sat, 04 Jan 2020) Changed paths: M m3-sys/llvm/llvm9/src/M3CG_LLVM.m3 Log Message: ----------- Fix calling convention for windows runtime set calls Compare: https://github.com/modula3/cm3/compare/693a5392915e...d1307416b67f From noreply at github.com Sat Jan 4 23:00:17 2020 From: noreply at github.com (Rodney M. Bates) Date: Sat, 04 Jan 2020 14:00:17 -0800 Subject: [M3commit] [modula3/cm3] 3b4092: Add more missing runtime failures, for mixed & nes... Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 3b409212e7fca50cb02defadf43c198c7d476576 https://github.com/modula3/cm3/commit/3b409212e7fca50cb02defadf43c198c7d476576 Author: Rodney Bates Date: 2020-01-04 (Sat, 04 Jan 2020) Changed paths: M m3-sys/m3front/src/exprs/ArrayExpr.i3 M m3-sys/m3front/src/exprs/ArrayExpr.m3 M m3-sys/m3front/src/exprs/ConsExpr.m3 M m3-sys/m3front/src/exprs/RecordExpr.i3 M m3-sys/m3front/src/exprs/RecordExpr.m3 M m3-sys/m3front/src/exprs/SetExpr.i3 M m3-sys/m3front/src/exprs/SetExpr.m3 M m3-sys/m3front/src/stmts/AssignStmt.m3 Log Message: ----------- Add more missing runtime failures, for mixed & nested constructors. Runtime assignability failures that were previously only warned at CT but never raised at RT. For mix & match nestings of constant constructors. From noreply at github.com Sat Jan 4 23:06:17 2020 From: noreply at github.com (Rodney M. Bates) Date: Sat, 04 Jan 2020 14:06:17 -0800 Subject: [M3commit] [modula3/cm3] dd4583: Test case for more missing runtime failures, mixed... Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: dd45832116ec49b3958093227a67908e7a78dd78 https://github.com/modula3/cm3/commit/dd45832116ec49b3958093227a67908e7a78dd78 Author: Rodney Bates Date: 2020-01-04 (Sat, 04 Jan 2020) Changed paths: M m3-sys/m3tests/src/m3makefile A m3-sys/m3tests/src/p2/p273/Main.m3 A m3-sys/m3tests/src/p2/p273/m3makefile A m3-sys/m3tests/src/p2/p273/m3overrides A m3-sys/m3tests/src/p2/p273/stderr.build A m3-sys/m3tests/src/p2/p273/stderr.pgm A m3-sys/m3tests/src/p2/p273/stdout.build A m3-sys/m3tests/src/p2/p273/stdout.pgm Log Message: ----------- Test case for more missing runtime failures, mixed & nested constructors. Test for runtime assignability failures that were previously only warned at CT but never raised at RT. For mix & match nestings of constant constructors. From noreply at github.com Sun Jan 5 19:13:20 2020 From: noreply at github.com (Rodney M. Bates) Date: Sun, 05 Jan 2020 10:13:20 -0800 Subject: [M3commit] [modula3/cm3] 8294bf: Add test p274, values of nested mixtures of constr... Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 8294bf8288e3775e2d68116f53c97b35cdee6992 https://github.com/modula3/cm3/commit/8294bf8288e3775e2d68116f53c97b35cdee6992 Author: Rodney Bates Date: 2020-01-05 (Sun, 05 Jan 2020) Changed paths: A m3-sys/m3tests/src/p2/p274/Main.m3 A m3-sys/m3tests/src/p2/p274/m3makefile A m3-sys/m3tests/src/p2/p274/m3overrides A m3-sys/m3tests/src/p2/p274/stderr.build A m3-sys/m3tests/src/p2/p274/stderr.pgm A m3-sys/m3tests/src/p2/p274/stdout.build A m3-sys/m3tests/src/p2/p274/stdout.pgm Log Message: ----------- Add test p274, values of nested mixtures of constructors. From noreply at github.com Thu Jan 9 18:36:04 2020 From: noreply at github.com (Rodney M. Bates) Date: Thu, 09 Jan 2020 09:36:04 -0800 Subject: [M3commit] [modula3/cm3] 93b451: A few minor additions and fixes in m3tests. Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 93b4512f3444a107a6ddd115b54b429634c4f831 https://github.com/modula3/cm3/commit/93b4512f3444a107a6ddd115b54b429634c4f831 Author: Rodney Bates Date: 2020-01-09 (Thu, 09 Jan 2020) Changed paths: M m3-sys/m3tests/src/m3makefile M m3-sys/m3tests/src/p0/p050/stdout.build M m3-sys/m3tests/src/p0/p076/stdout.build A m3-sys/m3tests/src/p0/p076/stdout.build32 M m3-sys/m3tests/src/p0/p076/stdout.build64 M m3-sys/m3tests/src/p2/p264/Main.m3 M m3-sys/m3tests/src/p2/p264/stdout.pgm Log Message: ----------- A few minor additions and fixes in m3tests. From noreply at github.com Thu Jan 9 18:48:29 2020 From: noreply at github.com (Rodney M. Bates) Date: Thu, 09 Jan 2020 09:48:29 -0800 Subject: [M3commit] [modula3/cm3] 7ebd64: Fixes to mixed constructors Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 7ebd64c549e7d53c0e6919c6fca40a243be16f47 https://github.com/modula3/cm3/commit/7ebd64c549e7d53c0e6919c6fca40a243be16f47 Author: Rodney Bates Date: 2020-01-09 (Thu, 09 Jan 2020) Changed paths: M m3-sys/m3front/src/builtinOps/Subarray.m3 M m3-sys/m3front/src/exprs/ArrayExpr.i3 M m3-sys/m3front/src/exprs/ArrayExpr.m3 M m3-sys/m3front/src/exprs/CastExpr.m3 M m3-sys/m3front/src/exprs/ConsExpr.m3 M m3-sys/m3front/src/exprs/Expr.i3 M m3-sys/m3front/src/exprs/Expr.m3 M m3-sys/m3front/src/exprs/NamedExpr.m3 M m3-sys/m3front/src/exprs/RecordExpr.m3 M m3-sys/m3front/src/exprs/SetExpr.m3 M m3-sys/m3front/src/exprs/SubscriptExpr.m3 M m3-sys/m3front/src/stmts/AssignStmt.m3 M m3-sys/m3front/src/types/OpenArrayType.i3 M m3-sys/m3front/src/types/OpenArrayType.m3 M m3-sys/m3front/src/values/Constant.m3 M m3-sys/m3front/src/values/Formal.m3 Log Message: ----------- Fixes to mixed constructors Including: - Failures to look past NamedExpr and ConsExpr nodes above constructors - Undetected RT assignability errors, only warned at CT - Bad overlapping assignments From noreply at github.com Mon Jan 13 19:47:58 2020 From: noreply at github.com (Rodney M. Bates) Date: Mon, 13 Jan 2020 10:47:58 -0800 Subject: [M3commit] [modula3/cm3] 5e4655: Add test p275 -- packed sets in records. Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 5e465587043a0bb83657e8f8389f348bf90e8de2 https://github.com/modula3/cm3/commit/5e465587043a0bb83657e8f8389f348bf90e8de2 Author: Rodney Bates Date: 2020-01-13 (Mon, 13 Jan 2020) Changed paths: A m3-sys/m3tests/src/p2/p275/Main.m3 A m3-sys/m3tests/src/p2/p275/m3makefile A m3-sys/m3tests/src/p2/p275/stderr.build A m3-sys/m3tests/src/p2/p275/stderr.pgm A m3-sys/m3tests/src/p2/p275/stdout.build A m3-sys/m3tests/src/p2/p275/stdout.pgm Log Message: ----------- Add test p275 -- packed sets in records. A modification of p158, with small sets not on byte boundaries. From noreply at github.com Mon Jan 13 20:05:09 2020 From: noreply at github.com (Rodney M. Bates) Date: Mon, 13 Jan 2020 11:05:09 -0800 Subject: [M3commit] [modula3/cm3] d2a2fa: Misc small updates to test cases: p011, p031, p136... Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: d2a2faf0451b6473e4cd0153a094f07899c862f7 https://github.com/modula3/cm3/commit/d2a2faf0451b6473e4cd0153a094f07899c862f7 Author: Rodney Bates Date: 2020-01-13 (Mon, 13 Jan 2020) Changed paths: M m3-sys/m3tests/src/p0/p011/stdout.pgm M m3-sys/m3tests/src/p0/p011/stdout.pgm64 M m3-sys/m3tests/src/p0/p031/SetsInst.i3 M m3-sys/m3tests/src/p1/p136/Main.m3 M m3-sys/m3tests/src/p2/p206/Main.m3 M m3-sys/m3tests/src/p2/p207/Main.m3 M m3-sys/m3tests/src/p2/p207/stdout.build M m3-sys/m3tests/src/p2/p274/Main.m3 M m3-sys/m3tests/src/p2/p274/stdout.pgm Log Message: ----------- Misc small updates to test cases: p011, p031, p136, p206, p207, p274 target word size adaptations, compile failures in p-tests, updates to expected outputs, agreement with compiler support of sub-word-sized sets. From noreply at github.com Tue Jan 14 19:29:04 2020 From: noreply at github.com (Rodney M. Bates) Date: Tue, 14 Jan 2020 10:29:04 -0800 Subject: [M3commit] [modula3/cm3] a6445d: Add test p269, nested array constructors. Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: a6445d3cc531549b59463f363b878c08790d5149 https://github.com/modula3/cm3/commit/a6445d3cc531549b59463f363b878c08790d5149 Author: Rodney Bates Date: 2020-01-14 (Tue, 14 Jan 2020) Changed paths: M m3-sys/m3tests/src/m3makefile A m3-sys/m3tests/src/p2/p269/Checks.ig A m3-sys/m3tests/src/p2/p269/Checks.mg A m3-sys/m3tests/src/p2/p269/Checks0.ig A m3-sys/m3tests/src/p2/p269/Checks0.mg A m3-sys/m3tests/src/p2/p269/Checks1_EI16_S7_6_5_4_3_2.m3 A m3-sys/m3tests/src/p2/p269/Checks1_EI4_S4_4_4_4_4_4.m3 A m3-sys/m3tests/src/p2/p269/Checks2_EI16_S7_6_5_4_3_2.m3 A m3-sys/m3tests/src/p2/p269/Checks2_EI4_S4_4_4_4_4_4.m3 A m3-sys/m3tests/src/p2/p269/Checks3_EI16_S7_6_5_4_3_2.m3 A m3-sys/m3tests/src/p2/p269/Checks3_EI4_S4_4_4_4_4_4.m3 A m3-sys/m3tests/src/p2/p269/Checks4_EI16_S7_6_5_4_3_2.m3 A m3-sys/m3tests/src/p2/p269/Checks4_EI4_S4_4_4_4_4_4.m3 A m3-sys/m3tests/src/p2/p269/Checks5_EI16_S7_6_5_4_3_2.m3 A m3-sys/m3tests/src/p2/p269/Checks5_EI4_S4_4_4_4_4_4.m3 A m3-sys/m3tests/src/p2/p269/Checks6_EI16_S7_6_5_4_3_2.m3 A m3-sys/m3tests/src/p2/p269/Checks6_EI4_S4_4_4_4_4_4.m3 A m3-sys/m3tests/src/p2/p269/Common.i3 A m3-sys/m3tests/src/p2/p269/Common.m3 A m3-sys/m3tests/src/p2/p269/Constants.i3 A m3-sys/m3tests/src/p2/p269/Constants.m3 A m3-sys/m3tests/src/p2/p269/Dim0.ig A m3-sys/m3tests/src/p2/p269/Dim0.mg A m3-sys/m3tests/src/p2/p269/Dim1.ig A m3-sys/m3tests/src/p2/p269/Dim1.mg A m3-sys/m3tests/src/p2/p269/Dim2.ig A m3-sys/m3tests/src/p2/p269/Dim2.m3 A m3-sys/m3tests/src/p2/p269/Dim2.mg A m3-sys/m3tests/src/p2/p269/Dim3.ig A m3-sys/m3tests/src/p2/p269/Dim3.mg A m3-sys/m3tests/src/p2/p269/Dim4.ig A m3-sys/m3tests/src/p2/p269/Dim4.mg A m3-sys/m3tests/src/p2/p269/Dim5.ig A m3-sys/m3tests/src/p2/p269/Dim5.mg A m3-sys/m3tests/src/p2/p269/Dim6.ig A m3-sys/m3tests/src/p2/p269/Dim6.mg A m3-sys/m3tests/src/p2/p269/Dynamic.i3 A m3-sys/m3tests/src/p2/p269/Dynamic.m3 A m3-sys/m3tests/src/p2/p269/EltsI16.i3 A m3-sys/m3tests/src/p2/p269/EltsI4.i3 A m3-sys/m3tests/src/p2/p269/Globals.i3 A m3-sys/m3tests/src/p2/p269/Main.m3 A m3-sys/m3tests/src/p2/p269/README A m3-sys/m3tests/src/p2/p269/SegList.i3 A m3-sys/m3tests/src/p2/p269/SegList.m3 A m3-sys/m3tests/src/p2/p269/Shape4_4_4_4_4_4.i3 A m3-sys/m3tests/src/p2/p269/Shape7_6_5_4_3_2.i3 A m3-sys/m3tests/src/p2/p269/Support.i3 A m3-sys/m3tests/src/p2/p269/Support.m3 A m3-sys/m3tests/src/p2/p269/Tests.ig A m3-sys/m3tests/src/p2/p269/Tests.mg A m3-sys/m3tests/src/p2/p269/UnsafeUtils.i3 A m3-sys/m3tests/src/p2/p269/UnsafeUtils.m3 A m3-sys/m3tests/src/p2/p269/m3makefile A m3-sys/m3tests/src/p2/p269/stderr.build A m3-sys/m3tests/src/p2/p269/stderr.pgm A m3-sys/m3tests/src/p2/p269/stdout.build A m3-sys/m3tests/src/p2/p269/stdout.pgm Log Message: ----------- Add test p269, nested array constructors. From noreply at github.com Tue Jan 14 21:11:11 2020 From: noreply at github.com (Rodney M. Bates) Date: Tue, 14 Jan 2020 12:11:11 -0800 Subject: [M3commit] [modula3/cm3] 7d74a8: Add support for sub-word-sized sets. Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 7d74a83577250fbb156b02a1f914fd696842fb68 https://github.com/modula3/cm3/commit/7d74a83577250fbb156b02a1f914fd696842fb68 Author: Rodney Bates Date: 2020-01-14 (Tue, 14 Jan 2020) Changed paths: M m3-sys/m3front/src/exprs/AddExpr.m3 M m3-sys/m3front/src/exprs/ArrayExpr.m3 M m3-sys/m3front/src/exprs/NegateExpr.m3 M m3-sys/m3front/src/exprs/PlusExpr.m3 M m3-sys/m3front/src/exprs/SetExpr.m3 M m3-sys/m3front/src/misc/CG.i3 M m3-sys/m3front/src/misc/CG.m3 M m3-sys/m3front/src/stmts/AssignStmt.i3 M m3-sys/m3front/src/stmts/AssignStmt.m3 M m3-sys/m3front/src/types/EnumType.m3 M m3-sys/m3front/src/types/SetType.m3 M m3-sys/m3front/src/types/SubrangeType.m3 M m3-sys/m3front/src/types/Type.m3 M m3-sys/m3front/src/values/Constant.m3 M m3-sys/m3front/src/values/Variable.m3 M m3-sys/m3middle/src/M3CG_Ops.i3 M m3-sys/m3tests/src/p0/p031/SetsInst.i3 Log Message: ----------- Add support for sub-word-sized sets. Both compiler-selected natural sizes (8, 16, 32) and packed. From noreply at github.com Fri Jan 17 20:16:38 2020 From: noreply at github.com (Rodney M. Bates) Date: Fri, 17 Jan 2020 11:16:38 -0800 Subject: [M3commit] [modula3/cm3] 481c00: Bugfix. Previous commit would'nt compile itself Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 481c0049d9d8e02369fd9418890ec8f84bea3037 https://github.com/modula3/cm3/commit/481c0049d9d8e02369fd9418890ec8f84bea3037 Author: Rodney Bates Date: 2020-01-17 (Fri, 17 Jan 2020) Changed paths: M m3-sys/m3front/src/stmts/AssignStmt.m3 Log Message: ----------- Bugfix. Previous commit would'nt compile itself From noreply at github.com Fri Jan 17 22:23:47 2020 From: noreply at github.com (Rodney M. Bates) Date: Fri, 17 Jan 2020 13:23:47 -0800 Subject: [M3commit] [modula3/cm3] ed2dc1: Update execution output for test p172. Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: ed2dc12d4741064f11f26b390b6143c16e88f4de https://github.com/modula3/cm3/commit/ed2dc12d4741064f11f26b390b6143c16e88f4de Author: Rodney Bates Date: 2020-01-17 (Fri, 17 Jan 2020) Changed paths: M m3-sys/m3tests/src/p1/p172/stderr.pgm Log Message: ----------- Update execution output for test p172. From noreply at github.com Thu Jan 23 00:23:06 2020 From: noreply at github.com (Rodney M. Bates) Date: Wed, 22 Jan 2020 15:23:06 -0800 Subject: [M3commit] [modula3/cm3] 740d58: Revert fully qualified names in debug info. Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 740d58614cc156026a72ed0a06102e387419e8fe https://github.com/modula3/cm3/commit/740d58614cc156026a72ed0a06102e387419e8fe Author: Rodney Bates Date: 2020-01-22 (Wed, 22 Jan 2020) Changed paths: M m3-sys/m3front/src/values/Constant.m3 M m3-sys/m3front/src/values/Variable.m3 Log Message: ----------- Revert fully qualified names in debug info. This seemed like a good idea, and improved readability of m3cgcat output. But the unanticipated consequence was to undrmine m3gdb's ability to find variables. Other places not involving debug info remain fully qualified. From noreply at github.com Thu Jan 23 00:27:12 2020 From: noreply at github.com (Rodney M. Bates) Date: Wed, 22 Jan 2020 15:27:12 -0800 Subject: [M3commit] [modula3/cm3] f23b91: Correct inaccurate comments and a confusing name. Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: f23b91405b8f2875db79e3ba7581e453f18ed0a6 https://github.com/modula3/cm3/commit/f23b91405b8f2875db79e3ba7581e453f18ed0a6 Author: Rodney Bates Date: 2020-01-22 (Wed, 22 Jan 2020) Changed paths: M m3-sys/m3front/src/misc/CG.i3 M m3-sys/m3front/src/misc/CG.m3 M m3-sys/m3front/src/stmts/AssignStmt.m3 Log Message: ----------- Correct inaccurate comments and a confusing name. CG.Set_range and Set_singleton were incorrect. AssignStmt.RTCheckProcedure departed from a pattern. From noreply at github.com Sun Jan 26 22:12:18 2020 From: noreply at github.com (Rodney M. Bates) Date: Sun, 26 Jan 2020 13:12:18 -0800 Subject: [M3commit] [modula3/cm3] 8606dc: Fix error recovery NIL-deref bug. Message-ID: Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 8606dcf499ab42af1bd85de2822deb4d29a19ec7 https://github.com/modula3/cm3/commit/8606dcf499ab42af1bd85de2822deb4d29a19ec7 Author: Rodney Bates Date: 2020-01-26 (Sun, 26 Jan 2020) Changed paths: M m3-sys/m3front/src/exprs/SubscriptExpr.m3 M m3-sys/m3front/src/misc/Scope.m3 Log Message: ----------- Fix error recovery NIL-deref bug. Recently introduced by beefed-up qualified names in front-end output. Commit: fc8597ecda66227c639a207d9ae28327e0aa972c https://github.com/modula3/cm3/commit/fc8597ecda66227c639a207d9ae28327e0aa972c Author: Rodney Bates Date: 2020-01-26 (Sun, 26 Jan 2020) Changed paths: M m3-sys/m3front/src/types/Type.m3 M m3-sys/m3front/src/values/Variable.m3 Log Message: ----------- Fix spurious warning about type of undefined variable being NULL. This is an interesting bug. Type.IsEqual considers ErrType.T to be equal to any type. This is what one wants when the equality is expected to be TRUE and a message will be produced otherwise. When the equality is expected to be FALSE and a meessage is produced if equal, this is incorrect behavour. In the subject instance, the type of an undefined variable produces an unwanted warning, claiming, inaccurately, that the type is NULL. Fixed here by replacing IsEqual by plain pointer equality with Null.T. Now all calls on Type.IsEqual need to be vetted to see if some others need this change. There are quite a few, and many are comparing to a predefined type. Compare: https://github.com/modula3/cm3/compare/f23b91405b8f...fc8597ecda66