From noreply at github.com Wed Aug 8 22:27:45 2018 From: noreply at github.com (GitHub) Date: Wed, 08 Aug 2018 13:27:45 -0700 Subject: [M3commit] [modula3/cm3] 9343e3: packedVars branch, initial commit. Message-ID: <5b6b5241f51f_670a2b1e14abcf7c40537@hookshot-fe-d2afb11.cp1-iad.github.net.mail> Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 9343e3f917bc76672f1f9b9efda80e64ac3895ca https://github.com/modula3/cm3/commit/9343e3f917bc76672f1f9b9efda80e64ac3895ca Author: Rodney Bates Date: 2018-08-08 (Wed, 08 Aug 2018) Changed paths: M m3-sys/m3front/src/builtinAtomic/CompareSwap.mg M m3-sys/m3front/src/builtinOps/Dec.m3 M m3-sys/m3front/src/builtinOps/Inc.m3 M m3-sys/m3front/src/builtinOps/IsType.m3 M m3-sys/m3front/src/builtinOps/Narrow.m3 M m3-sys/m3front/src/builtinOps/New.m3 M m3-sys/m3front/src/builtinOps/Subarray.m3 M m3-sys/m3front/src/builtinTypes/EReel.m3 M m3-sys/m3front/src/builtinTypes/ErrType.m3 M m3-sys/m3front/src/builtinTypes/Int.m3 M m3-sys/m3front/src/builtinTypes/LInt.m3 M m3-sys/m3front/src/builtinTypes/LReel.m3 M m3-sys/m3front/src/builtinTypes/Reel.m3 M m3-sys/m3front/src/builtinWord/Extract.mg M m3-sys/m3front/src/builtinWord/Insert.mg M m3-sys/m3front/src/exprs/AddExpr.m3 M m3-sys/m3front/src/exprs/ArrayExpr.m3 M m3-sys/m3front/src/exprs/CastExpr.m3 M m3-sys/m3front/src/exprs/ConcatExpr.m3 M m3-sys/m3front/src/exprs/DerefExpr.m3 M m3-sys/m3front/src/exprs/DivideExpr.m3 M m3-sys/m3front/src/exprs/EqualExpr.m3 M m3-sys/m3front/src/exprs/Expr.i3 M m3-sys/m3front/src/exprs/Expr.m3 M m3-sys/m3front/src/exprs/ExprParse.m3 M m3-sys/m3front/src/exprs/ExprRep.i3 M m3-sys/m3front/src/exprs/MethodExpr.m3 M m3-sys/m3front/src/exprs/ModExpr.m3 M m3-sys/m3front/src/exprs/MultiplyExpr.m3 M m3-sys/m3front/src/exprs/NarrowExpr.m3 M m3-sys/m3front/src/exprs/QualifyExpr.m3 M m3-sys/m3front/src/exprs/SetExpr.m3 M m3-sys/m3front/src/exprs/SubscriptExpr.m3 M m3-sys/m3front/src/exprs/SubtractExpr.m3 M m3-sys/m3front/src/exprs/VarExpr.m3 M m3-sys/m3front/src/misc/CG.i3 M m3-sys/m3front/src/misc/CG.m3 M m3-sys/m3front/src/misc/Jmpbufs.m3 M m3-sys/m3front/src/misc/Marker.m3 M m3-sys/m3front/src/stmts/AssignStmt.i3 M m3-sys/m3front/src/stmts/AssignStmt.m3 M m3-sys/m3front/src/stmts/TryFinStmt.m3 M m3-sys/m3front/src/stmts/TryStmt.m3 M m3-sys/m3front/src/stmts/TypeCaseStmt.m3 M m3-sys/m3front/src/types/ArrayType.i3 M m3-sys/m3front/src/types/ArrayType.m3 M m3-sys/m3front/src/types/EnumType.m3 M m3-sys/m3front/src/types/NamedType.m3 M m3-sys/m3front/src/types/ObjectType.m3 M m3-sys/m3front/src/types/OpaqueType.m3 M m3-sys/m3front/src/types/OpenArrayType.i3 M m3-sys/m3front/src/types/OpenArrayType.m3 M m3-sys/m3front/src/types/PackedType.i3 M m3-sys/m3front/src/types/PackedType.m3 M m3-sys/m3front/src/types/ProcType.m3 M m3-sys/m3front/src/types/RecordType.i3 M m3-sys/m3front/src/types/RecordType.m3 M m3-sys/m3front/src/types/RefType.m3 M m3-sys/m3front/src/types/SetType.m3 M m3-sys/m3front/src/types/SubrangeType.m3 M m3-sys/m3front/src/types/Type.i3 M m3-sys/m3front/src/types/Type.m3 M m3-sys/m3front/src/types/TypeRep.i3 M m3-sys/m3front/src/types/UserProc.m3 M m3-sys/m3front/src/values/Constant.m3 M m3-sys/m3front/src/values/Exceptionz.m3 M m3-sys/m3front/src/values/Formal.m3 M m3-sys/m3front/src/values/Module.m3 M m3-sys/m3front/src/values/Variable.m3 M m3-sys/m3middle/src/M3CG.i3 M m3-sys/m3middle/src/M3CG_Check.m3 M m3-sys/m3middle/src/M3CG_Ops.i3 M m3-sys/m3middle/src/TWord.i3 M m3-sys/m3middle/src/TWord.m3 M m3-sys/m3middle/src/Target.i3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- packedVars branch, initial commit. A start toward fixing many compiler failures, error detection failures, limitations on packed fields/elements, etc. This started with the highly mistaken notion that only a few patches here and there would be needed. After months, this is clearly not so. It is time to get the many changes already made committed, but there is more to do, so this is a new branch. As of this commit, the front group recompiles itself twice and handles some additional uses of packed types. Currently, most fetches and stores work. A packed scalar field/element is handled if it does not cross a word boundary, and a packed field/element that is a record or array is handled if either the entire aggregate lies within one word, or it is byte-aligned and every packed field/element within follows this rule recursively. There is more to do for subarrays, parameters, and constructors, at least. There are also new regressions in the compiler test suite. There are several new test cases, but these are not commited as of now. The concept of alignment in the front end has had to be expanded into alignment of a type and alignment of a variable, which are sometimes different. Also in CG, an independent alignment system for postponed computations has had to be expanded into three kinds. **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. From noreply at github.com Sun Aug 12 18:50:59 2018 From: noreply at github.com (GitHub) Date: Sun, 12 Aug 2018 09:50:59 -0700 Subject: [M3commit] [modula3/cm3] 6f0962: Circumvent undefined SYSTEM_CXXC Message-ID: <5b70657348c10_42a72af3ae3b2f78118c2@hookshot-fe-cace476.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 6f0962aaf423ea14830d36a07ca91caab92a18d8 https://github.com/modula3/cm3/commit/6f0962aaf423ea14830d36a07ca91caab92a18d8 Author: Rodney Bates Date: 2018-08-12 (Sun, 12 Aug 2018) Changed paths: M m3-sys/cminstall/src/config-no-install/Linux.common Log Message: ----------- Circumvent undefined SYSTEM_CXXC Commit: 4b5ddd7e9cae867555f8094aa05b2da6ac51fecd https://github.com/modula3/cm3/commit/4b5ddd7e9cae867555f8094aa05b2da6ac51fecd Author: Rodney Bates Date: 2018-08-12 (Sun, 12 Aug 2018) Log Message: ----------- Merge git://github.com/modula3/cm3 Merge from github Compare: https://github.com/modula3/cm3/compare/78d6b6465ec1...4b5ddd7e9cae **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. From noreply at github.com Sun Aug 12 19:56:27 2018 From: noreply at github.com (GitHub) Date: Sun, 12 Aug 2018 10:56:27 -0700 Subject: [M3commit] [modula3/cm3] 48490c: Fix compiler crash after emitting error "SUBARRAY:... Message-ID: <5b7074cb36f36_5ff82aadadf82f8467652@hookshot-fe-dfcc362.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 48490cbcc04b3c0ffdb18136ec868c3ac62d582b https://github.com/modula3/cm3/commit/48490cbcc04b3c0ffdb18136ec868c3ac62d582b Author: Rodney Bates Date: 2018-08-12 (Sun, 12 Aug 2018) Changed paths: M m3-sys/m3front/src/builtinOps/Subarray.m3 Log Message: ----------- Fix compiler crash after emitting error "SUBARRAY: first argument must be an array" **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. From noreply at github.com Tue Aug 14 03:27:20 2018 From: noreply at github.com (GitHub) Date: Mon, 13 Aug 2018 18:27:20 -0700 Subject: [M3commit] [modula3/cm3] 7b8409: Add test case e040 for compiler crash fix of 48490... Message-ID: <5b722ff897760_5ff82af40c016ec418876@hookshot-fe-88eb02d.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 7b84091ed2a13bb6b4c795008294d7ccc97b97b9 https://github.com/modula3/cm3/commit/7b84091ed2a13bb6b4c795008294d7ccc97b97b9 Author: Rodney Bates Date: 2018-08-13 (Mon, 13 Aug 2018) Changed paths: A m3-sys/m3tests/src/e0/e040/Main.m3 A m3-sys/m3tests/src/e0/e040/m3makefile A m3-sys/m3tests/src/e0/e040/stderr.build A m3-sys/m3tests/src/e0/e040/stdout.build M m3-sys/m3tests/src/m3makefile Log Message: ----------- Add test case e040 for compiler crash fix of 48490cbcc04b3c0ffdb18136ec868c3ac62d582b **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. From noreply at github.com Fri Aug 17 22:34:06 2018 From: noreply at github.com (GitHub) Date: Fri, 17 Aug 2018 13:34:06 -0700 Subject: [M3commit] [modula3/cm3] c99a83: Fix one call on Load_indirect, size param accident... Message-ID: <5b77313ec710e_35f62aab32958ed8865e0@hookshot-fe-da92815.cp1-iad.github.net.mail> Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: c99a831cfda82470ad58ed6edec6b4ea2f6dc569 https://github.com/modula3/cm3/commit/c99a831cfda82470ad58ed6edec6b4ea2f6dc569 Author: Rodney Bates Date: 2018-08-15 (Wed, 15 Aug 2018) Changed paths: M m3-sys/m3front/src/values/Exceptionz.m3 Log Message: ----------- Fix one call on Load_indirect, size param accidentally deleted. Commit: 4921e2ce1a6137bff559e3bf0f3eb0f7d8e6788d https://github.com/modula3/cm3/commit/4921e2ce1a6137bff559e3bf0f3eb0f7d8e6788d Author: Rodney Bates Date: 2018-08-15 (Wed, 15 Aug 2018) Changed paths: M m3-sys/m3front/src/types/RefType.m3 M m3-sys/m3front/src/types/SetType.m3 Log Message: ----------- Fix assert fail checking multi-word sets for word straddles. For purposes of the word-straddling rules, multi-word sets, at code generation level, are like arrays or records, not like scalars, This fixes p157, p159, p160, p162. Compare: https://github.com/modula3/cm3/compare/9343e3f917bc...4921e2ce1a61 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. From noreply at github.com Fri Aug 17 23:31:30 2018 From: noreply at github.com (GitHub) Date: Fri, 17 Aug 2018 14:31:30 -0700 Subject: [M3commit] [modula3/cm3] 6f8221: Fix incorrect multi-open-dim array assignment to/f... Message-ID: <5b773eb247ccf_40602ac2c70c6ebc90535@hookshot-fe-cace476.cp1-iad.github.net.mail> Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 6f8221512ec0b5a0737ee41d3564935fa343f392 https://github.com/modula3/cm3/commit/6f8221512ec0b5a0737ee41d3564935fa343f392 Author: Rodney Bates Date: 2018-08-17 (Fri, 17 Aug 2018) Changed paths: M m3-sys/m3front/src/stmts/AssignStmt.m3 Log Message: ----------- Fix incorrect multi-open-dim array assignment to/from fixed. One array has > 1 open dimension, the other has only fixed dimensions. Assigning between them, either way only got the innermost open dimension's elemeht count. This fixes p075. **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. From noreply at github.com Mon Aug 20 01:15:59 2018 From: noreply at github.com (GitHub) Date: Sun, 19 Aug 2018 16:15:59 -0700 Subject: [M3commit] [modula3/cm3] 779a9a: Remove a line of temporary testing code. Message-ID: <5b79fa2f85c6_3bd22b0494aaaec4144e4@hookshot-fe-7191cb1.cp1-iad.github.net.mail> Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 779a9a18b33d01a2ce4bf181458bb797a588b53a https://github.com/modula3/cm3/commit/779a9a18b33d01a2ce4bf181458bb797a588b53a Author: Rodney Bates Date: 2018-08-19 (Sun, 19 Aug 2018) Changed paths: M m3-sys/m3front/src/types/PackedType.m3 Log Message: ----------- Remove a line of temporary testing code. This fixes a failure of test p170. **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. From noreply at github.com Sat Aug 25 02:26:49 2018 From: noreply at github.com (GitHub) Date: Fri, 24 Aug 2018 17:26:49 -0700 Subject: [M3commit] [modula3/cm3] bc2091: Revert overly stingy record and array size limits. Message-ID: <5b80a249a0183_7d532abcbe9c4ed826265@hookshot-fe-b0febf1.cp1-iad.github.net.mail> Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: bc2091a6824cdd4f7729df199a8a5b9967265666 https://github.com/modula3/cm3/commit/bc2091a6824cdd4f7729df199a8a5b9967265666 Author: Rodney Bates Date: 2018-08-24 (Fri, 24 Aug 2018) Changed paths: M m3-sys/m3middle/src/Target.i3 M m3-sys/m3middle/src/Target.m3 M m3-sys/m3middle/src/TargetMap.m3 Log Message: ----------- Revert overly stingy record and array size limits. Limits on record and array sizes were too low to be able to compile TextLiteral.i3 on a 32-bit host machine. Note: ArrayType.m3 and RecordType.m3 need to be reworked to use TInt for compile-time size computations. As is, a cross-compile from 32-bit host to 64-bit target won't be able to handle very large aggregates. OTOH, this is unlikely to happen. **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. From noreply at github.com Sat Aug 25 02:31:48 2018 From: noreply at github.com (GitHub) Date: Fri, 24 Aug 2018 17:31:48 -0700 Subject: [M3commit] [modula3/cm3] 72632f: Revert overly stingy record and array size limits... Message-ID: <5b80a3743d883_27cab2b20ac8d2ed897714@hookshot-fe-dfcc362.cp1-iad.github.net.mail> Branch: refs/heads/packedVars Home: https://github.com/modula3/cm3 Commit: 72632f96231f02e02e1466b8ce71b2d483a803ec https://github.com/modula3/cm3/commit/72632f96231f02e02e1466b8ce71b2d483a803ec Author: Rodney Bates Date: 2018-08-24 (Fri, 24 Aug 2018) Changed paths: M m3-sys/m3front/src/types/ArrayType.m3 M m3-sys/m3front/src/types/RecordType.m3 Log Message: ----------- Revert overly stingy record and array size limits. Limits on record and array sizes were too low to be able to compile TextLiteral.i3 on a 32-bit host machine. Note: ArrayType.m3 and RecordType.m3 need to be reworked to use TInt for compile-time size computations. As is, a cross-compile from 32-bit host to 64-bit target won't be able to handle very large aggregates. OTOH, this is unlikely to happen. **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. From noreply at github.com Wed Aug 29 02:04:37 2018 From: noreply at github.com (GitHub) Date: Tue, 28 Aug 2018 17:04:37 -0700 Subject: [M3commit] [modula3/cm3] b18177: Fix some atomic asserts Message-ID: <5b85e315f35c_17f72b181e3dcec4481b5@hookshot-fe-da92815.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: b1817795f45ed24605c860ab789887d0fec14bd6 https://github.com/modula3/cm3/commit/b1817795f45ed24605c860ab789887d0fec14bd6 Author: peter mckinna Date: 2018-08-29 (Wed, 29 Aug 2018) Changed paths: M m3-sys/llvm5.0/src/M3CG_LLVM.m3 Log Message: ----------- Fix some atomic asserts Commit: ef4679bf3c2749aa73d250c84969e30eaea41980 https://github.com/modula3/cm3/commit/ef4679bf3c2749aa73d250c84969e30eaea41980 Author: peter mckinna Date: 2018-08-29 (Wed, 29 Aug 2018) Changed paths: R m3-libs/m3core/tests/text/src/tmp Log Message: ----------- unused tmp dir Compare: https://github.com/modula3/cm3/compare/7b84091ed2a1...ef4679bf3c27 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.