aboutsummaryrefslogtreecommitdiff
path: root/gcc/m2/ChangeLog
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2024-02-03 00:18:26 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2024-02-03 00:18:26 +0000
commit4b7d4d8a4af7e37cf510eaa5c705f61fefd31f2c (patch)
tree9abbc97e827026a3dfb8850f1aa9eede19a31cfa /gcc/m2/ChangeLog
parent686b5eb9c9ee623a604dde5c49fa11c23f384c62 (diff)
Daily bump.
Diffstat (limited to 'gcc/m2/ChangeLog')
-rw-r--r--gcc/m2/ChangeLog36
1 files changed, 36 insertions, 0 deletions
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index abac63bedf0..afd5bffec06 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,39 @@
+2024-02-03 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/113730
+ * gm2-compiler/M2Base.mod (IsUserType): New procedure function.
+ (MixTypes): Use IsUserType instead of IsType before calling MixTypes.
+ * gm2-compiler/M2GenGCC.mod (GetTypeMode): Remove and import from
+ SymbolTable.
+ (CodeBinaryCheck): Replace call to MixTypes with MixTypesBinary.
+ (CodeBinary): Replace call to MixTypes with MixTypesBinary.
+ (CodeIfLess): Replace MixTypes with ComparisonMixTypes.
+ (CodeIfGre): Replace MixTypes with ComparisonMixTypes.
+ (CodeIfLessEqu): Replace MixTypes with ComparisonMixTypes.
+ (CodeIfGreEqu): Replace MixTypes with ComparisonMixTypes.
+ (CodeIfEqu): Replace MixTypes with ComparisonMixTypes.
+ (CodeIfNotEqu): Replace MixTypes with ComparisonMixTypes.
+ (ComparisonMixTypes): New procedure function.
+ * gm2-compiler/M2Quads.mod (BuildEndFor): Replace GenQuadO
+ with GenQuadOtok and pass tokenpos for the operands to the AddOp
+ and XIndrOp.
+ (CheckRangeIncDec): Check etype against NulSym and dtype for a
+ pointer and set etype to Address.
+ (BuildAddAdrFunction): New variable opa. Convert operand to an
+ address and save result in opa. Replace GenQuad with GenQuadOtok.
+ (BuildSubAdrFunction): New variable opa. Convert operand to an
+ address and save result in opa. Replace GenQuad with GenQuadOtok.
+ (BuildDiffAdrFunction): New variable opa. Convert operand to an
+ address and save result in opa. Replace GenQuad with GenQuadOtok.
+ (calculateMultipicand): Replace GenQuadO with GenQuadOtok.
+ (ConvertToAddress): New procedure function.
+ (BuildDynamicArray): Convert index to address before adding to
+ the base.
+ * gm2-compiler/SymbolTable.def (GetTypeMode): New procedure function.
+ * gm2-compiler/SymbolTable.mod (GetTypeMode): New procedure
+ function implemented (moved from M2GenGCC.mod).
+ * gm2-libs/SArgs.mod (GetArg): Replace cast to PtrToChar with ADDRESS.
+
2024-02-01 Gaius Mulley <gaiusmod2@gmail.com>
PR modula2/111627