aboutsummaryrefslogtreecommitdiff
path: root/gcc/m2/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/m2/ChangeLog')
-rw-r--r--gcc/m2/ChangeLog59
1 files changed, 59 insertions, 0 deletions
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index 694b062..a4b19a4 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,62 @@
+2025-03-25 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/119449
+ * gm2-compiler/M2GCCDeclare.def (TryDeclareType): Remove tokenno
+ parameter.
+ * gm2-compiler/M2GCCDeclare.mod (TryDeclareType): Ditto.
+ * gm2-compiler/M2GenGCC.mod (FoldTBitsize): Remove op2 and
+ rename op1 as res and op3 as type.
+ (FoldStandardFunction): Call FoldTBitsize omitting op2.
+ * gm2-compiler/M2Quads.mod (GetTypeMin): Rewrite.
+ (GetTypeMinLower): New procedure function.
+ (GetTypeMax): Rewrite.
+ (GetTypeMaxLower): New procedure function.
+ * gm2-compiler/M2Range.mod (CheckCancelled): Comment out.
+ * gm2-compiler/M2System.mod (CreateMinMaxFor): Add realtype
+ parameter.
+ (MapType): Rewrite to use realtype.
+ (CreateType): Ditto.
+ (AttemptToCreateType): Ditto.
+ (MakeFixedSizedTypes): Add realtype boolean.
+ (InitPIMTypes): Ditto.
+ (InitISOTypes): Ditto.
+ (MakeExtraSystemTypes): Ditto.
+ * gm2-gcc/m2pp.cc (m2pp_nop_expr): Remove code.
+ * gm2-gcc/m2type.cc (IsGccRealType): New function.
+ (m2type_GetMinFrom): Rewrite.
+ (m2type_GetMaxFrom): Ditto.
+ (do_min_real): Declare static.
+ (do_max_real): Declare static.
+
+2025-03-20 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/118600
+ * gm2-compiler/M2GenGCC.mod (PerformCodeBecomes): New procedure.
+ (CodeBecomes): Refactor and call PerformCodeBecomes.
+ * gm2-gcc/m2builtins.cc (gm2_strncpy_node): New global variable.
+ (DoBuiltinStrNCopy): New function.
+ (m2builtins_BuiltinStrNCopy): New function.
+ (m2builtins_init): Initialize gm2_strncpy_node.
+ * gm2-gcc/m2builtins.def (BuiltinStrNCopy): New procedure
+ function.
+ * gm2-gcc/m2builtins.h (m2builtins_BuiltinStrNCopy): New
+ function.
+ * gm2-gcc/m2statement.cc (copy_record_fields): New function.
+ (copy_array): Ditto.
+ (copy_strncpy): Ditto.
+ (copy_memcpy): Ditto.
+ (CopyByField_Lower): Ditto.
+ (m2statement_CopyByField): Ditto.
+ * gm2-gcc/m2statement.def (CopyByField): New procedure function.
+ * gm2-gcc/m2statement.h (m2statement_CopyByField): New function.
+ * gm2-gcc/m2type.cc (check_record_fields): Ditto.
+ (check_array_types): Ditto.
+ (m2type_IsGccStrictTypeEquivalent): Ditto.
+ * gm2-gcc/m2type.def (IsGccStrictTypeEquivalent): New procedure
+ function.
+ * gm2-gcc/m2type.h (m2type_IsAddress): Replace return type int
+ with bool.
+
2025-03-16 Gaius Mulley <gaiusmod2@gmail.com>
PR modula2/115111