diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2023-10-12 00:17:24 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2023-10-12 00:17:24 +0000 |
commit | 6febf76c4e19cc86a4d8020f9f0349ba05aba223 (patch) | |
tree | df1c4ecfe98e020385478332f96b2b20b093bf36 /gcc/m2/ChangeLog | |
parent | 06f36c1d83a7e8b6da47d3c5b325a963baee6aab (diff) | |
download | gcc-6febf76c4e19cc86a4d8020f9f0349ba05aba223.zip gcc-6febf76c4e19cc86a4d8020f9f0349ba05aba223.tar.gz gcc-6febf76c4e19cc86a4d8020f9f0349ba05aba223.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc/m2/ChangeLog')
-rw-r--r-- | gcc/m2/ChangeLog | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 4116dd1..dc59819 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,38 @@ +2023-10-11 Gaius Mulley <gaiusmod2@gmail.com> + + * gm2-compiler/M2GCCDeclare.mod (DeclareSubrange): Check + the base type of the subrange against the ZTYPE and call + DeclareSubrangeNarrow if necessary. + (DeclareSubrangeNarrow): New procedure function. + +2023-10-11 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/111675 + * gm2-compiler/M2CaseList.mod (appendTree): Replace + InitStringCharStar with InitString. + * gm2-compiler/M2GCCDeclare.mod: Import AreConstantsEqual. + (DeclareSubrange): Add zero alignment test and call + BuildSmallestTypeRange if necessary. + (WalkSubrangeDependants): Walk the align expression. + (IsSubrangeDependants): Test the align expression. + * gm2-compiler/M2Quads.mod (BuildStringAdrParam): Correct end name. + * gm2-compiler/P2SymBuild.mod (BuildTypeAlignment): Allow subranges + to be zero aligned (packed). + * gm2-compiler/SymbolTable.mod (Subrange): Add Align field. + (MakeSubrange): Set Align to NulSym. + (PutAlignment): Assign Subrange.Align to align. + (GetAlignment): Return Subrange.Align. + * gm2-gcc/m2expr.cc (noBitsRequired): Rewrite. + (calcNbits): Rename ... + (m2expr_calcNbits): ... to this and test for negative values. + (m2expr_BuildTBitSize): Replace calcNBits with m2expr_calcNbits. + * gm2-gcc/m2expr.def (calcNbits): Export. + * gm2-gcc/m2expr.h (m2expr_calcNbits): New prototype. + * gm2-gcc/m2type.cc (noBitsRequired): Remove. + (m2type_BuildSmallestTypeRange): Call m2expr_calcNbits. + (m2type_BuildSubrangeType): Create range_type from + build_range_type (type, lowval, highval). + 2023-09-29 Gaius Mulley <gaiusmod2@gmail.com> * gm2-compiler/M2Quads.mod (EndBuildFor): Improve |