aboutsummaryrefslogtreecommitdiff
path: root/gcc/m2
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2023-01-27 00:17:53 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2023-01-27 00:17:53 +0000
commit2371d100b946ec96384e4541235fb87e0659d87b (patch)
tree179db70dc8a4588bc986cb7fe7dd88ae7fe3ed46 /gcc/m2
parent94673a121cfc7f9d51c9d05e31795477f4dc8dc7 (diff)
downloadgcc-2371d100b946ec96384e4541235fb87e0659d87b.zip
gcc-2371d100b946ec96384e4541235fb87e0659d87b.tar.gz
gcc-2371d100b946ec96384e4541235fb87e0659d87b.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/m2')
-rw-r--r--gcc/m2/ChangeLog68
1 files changed, 68 insertions, 0 deletions
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index 92eacaf..b8e2a37 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,71 @@
+2023-01-26 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * gm2-compiler/M2GCCDeclare.mod: Import IsProcedureNoReturn.
+ (DeclareProcedureToGccWholeProgram): New variable declared and set
+ returnType. Pass returnType to BuildEndFunctionDeclaration.
+ Extra parameter IsProcedureNoReturn passed to
+ BuildEndFunctionDeclaration.
+ * gm2-compiler/M2Quads.mod (BuildM2MainFunction): Correct
+ scaffold comment and add extra return 0.
+ * gm2-compiler/P2Build.bnf: Import BuildNoReturnAttribute.
+ (ProcedureHeading): Process EndBuildFormalParameters before
+ parsing AttributeNoReturn.
+ (DefProcedureHeading): Process EndBuildFormalParameters before
+ parsing AttributeNoReturn.
+ (AttributeNoReturn): Call BuildNoReturnAttribute.
+ * gm2-compiler/P2SymBuild.def (BuildNoReturnAttribute): New
+ procedure.
+ * gm2-compiler/P2SymBuild.mod (BuildNoReturnAttribute): New
+ procedure.
+ * gm2-compiler/SymbolTable.def (PutProcedureInline): Corrected
+ comment.
+ (PutProcedureNoReturn): New procedure.
+ (IsProcedureNoReturn): New procedure function.
+ * gm2-compiler/SymbolTable.mod (SymProcedure): IsNoReturn
+ new field.
+ (MakeProcedure): Initialize IsNoReturn to FALSE.
+ (PutProcedureNoReturn): New procedure.
+ (IsProcedureNoReturn): New procedure function.
+ * gm2-gcc/m2decl.cc (m2decl_BuildEndFunctionDeclaration):
+ Add extra parameter isnoreturn. Set TREE_THIS_VOLATILE
+ to isnoreturn.
+ * gm2-gcc/m2decl.def (BuildEndFunctionDeclaration): Add
+ extra parameter isnoreturn.
+ * gm2-gcc/m2decl.h (m2decl_BuildEndFunctionDeclaration): Add
+ extra parameter isnoreturn.
+ * gm2-gcc/m2except.cc (m2except_InitExceptions): Change all
+ function decl to pass an extra parameter isnoreturn.
+
+2023-01-26 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * m2.flex (splitSlashStar): Fix comment so that /* does not
+ appear inside the comment.
+
+2023-01-26 Iain Sandoe <iain@sandoe.co.uk>
+
+ PR modula2/108553
+ * gm2-lang.cc (gm2_langhook_init_options): Remove debug code.
+
+2023-01-26 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * Make-lang.in (m2/gm2config.h): Rewrite rule to be
+ dependent upon m2/gm2config.aci.
+ (m2/gm2config.aci): Newrule.
+ * configure.ac (AC_CONFIG_HEADERS): Change destination
+ to gm2config.aci.
+ * configure: Regenerate.
+ * gm2-libs/config-host: Regenerate.
+ * gm2-compiler/M2GCCDeclare.mod (AddSymToWatch): Comment
+ out.
+ * gm2-compiler/M2Quads.mod (BuildConstHighFromSym): Remove
+ Dim.
+ (StartBuildWith): Call BuildStmtNoteTok.
+ (BuildStmtNoteTok): New procedure.
+ (BuildStmtNote): Re-implement re-factor into two
+ procedures and call BuildStmtNoteTok.
+ * gm2config.h.in: Remove.
+ * gm2config.aci.in: New file.
+
2023-01-25 Iain Sandoe <iain@sandoe.co.uk>
PR modula2/102343