[PATCH v3 15/19] modula2 front end: cc1gm2 additional non modula2 source files

2022-12-06 Thread Gaius Mulley via Gcc-patches
2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at

[PATCH v3 4/19] modula2 front end: libgm2/libm2pim contents

2022-12-06 Thread Gaius Mulley via Gcc-patches
s to miscellaneous math functions. + +Copyright (C) 2005-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as publ

[PATCH v3 17/19] modula2 front end: dejagnu expect library scripts

2022-12-06 Thread Gaius Mulley via Gcc-patches
E. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GCC; see the file COPYING3. If not see +# <http://www.gnu.org/licenses/>. + +# This file was written by Gaius Mulley (gaius.mul...@southwales.ac

[PATCH v3 3/19] modula2 front end: gm2 driver files.

2022-12-06 Thread Gaius Mulley via Gcc-patches
ithin GNU Modula-2. + +Copyright (C) 2007-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free S

[PATCH v3 8/19] modula2 front end: libgm2 contents

2022-12-06 Thread Gaius Mulley via Gcc-patches
eLog --- /dev/null 2022-08-24 16:22:16.88870 +0100 +++ gcc-git-devel-modula2/libgm2/ChangeLog 2022-12-06 02:56:51.428775868 + @@ -0,0 +1,506 @@ +2022-05-18 Gaius Mulley + + * Corrected dates on all source files. + * libm2pim/Selective.c: Reformatted comments.

[PATCH v3 1/19] modula2 front end: changes outside gcc/m2, libgm2 and gcc/testsuite.

2022-12-06 Thread Gaius Mulley via Gcc-patches
This patch set contains the non machine generated changes found in / for example the language die and documentation changes. It also contains the changes to the top level build Makefile infastructure and the install.texi sourcebuild.texi documentation.

[PATCH v3 9/19] modula2 front end: plugin source files

2022-12-06 Thread Gaius Mulley via Gcc-patches
0070 +0100 +++ gcc-git-devel-modula2/gcc/m2/plugin/m2rte.cc2022-12-06 02:56:51.380775219 + @@ -0,0 +1,335 @@ +/* m2rte.cc a plugin to detect runtime exceptions at compiletime. + +Copyright (C) 2017-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is pa

[PATCH v3 5/19] modula2 front end: libgm2/libm2iso contents

2022-12-06 Thread Gaius Mulley via Gcc-patches
lated system calls. + +Copyright (C) 2008-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software

[PATCH v3 6/19] modula2 front end: libgm2/libm2min contents

2022-12-06 Thread Gaius Mulley via Gcc-patches
fi ; \ + chmod 644 $(DESTDIR)$(inst_libdir)/$(MULTIDIR)$(M2LIBDIR)$$i ; \ + done + +force: diff -ruw /dev/null gcc-git-devel-modula2/libgm2/libm2min/libc.c --- /dev/null 2022-08-24 16:22:16.88870 +0100 +++ gcc-git-devel-modula2/libgm2/libm2min/libc.c2022-12-06

[PATCH v3 7/19] modula2 front end: libgm2/libm2log contents

2022-12-06 Thread Gaius Mulley via Gcc-patches
(C) 2004-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either vers

Re: [PATCH] 0/19 modula-2 front end patches overview

2022-12-05 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: >> >> I think it's important to get this (and the rust frontend) into the tree >> before >> Christmas holidays so it gets exposed to the more weird treatment of some >> of our users (build wise). This way we can develop either a negative or >> positive list of

Re: [PATCH v2 16/19] modula2 front end: bootstrap and documentation tools

2022-11-27 Thread Gaius Mulley via Gcc-patches
David Malcolm writes: >> Once modula-2 is in master I'd like to revisit rst in devel/modula-2 >> along with analyzer patches and m2 generics.  If successful then >> submit >> patches in early stage 1. > > Am I right in thinking the analyzer stuff would be an updated version > of the work you

Re: [PATCH v2 16/19] modula2 front end: bootstrap and documentation tools

2022-11-24 Thread Gaius Mulley via Gcc-patches
Martin Liška writes: > On 11/8/22 14:22, Gaius Mulley wrote: >> Martin Liška writes: >> >> should be good - I'll complete the rst output in the scripts, > > Hi. > Hi Martin, > As you probably noticed, the Sphinx migration didn't go well. Yes, sorry to s

Re: [PATCH] 8/19 modula2 front end: libgm2 contents

2022-11-24 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: > On Mon, Oct 10, 2022 at 5:35 PM Gaius Mulley via Gcc-patches > wrote: >> >> >> >> This patch set consists of the libgm2 makefile, autoconf sources >> necessary to build the libm2pim, libm2iso, libm2min, libm2cor >> and libm2log.

Re: [PATCH] 8/19 modula2 front end: libgm2 contents

2022-11-22 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: > On Mon, Oct 10, 2022 at 5:35 PM Gaius Mulley via Gcc-patches > wrote: >> >> >> >> This patch set consists of the libgm2 makefile, autoconf sources >> necessary to build the libm2pim, libm2iso, libm2min, libm2cor >> and libm2log

Re: [PATCH] 3/19 modula2 front end: gm2 driver files.

2022-11-21 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: [snip] > It feels like most of the above would usually be handled via lang specific > specs rather than open-coded in the driver? Is there a specific reason you > opted for explicit handling here? The last time submitting the patches I perhaps went overboard using

Re: [PATCH] 15/19 modula2 front end: cc1gm2 additional non modula2 source files

2022-11-19 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: >> +/* We don't use language_function. */ > > well ... oops, yes - I'll remove the comment! >> +struct GTY (()) language_function >> +{ >> + >> + /* While we are parsing the function, this contains information about >> + the statement-tree that we are building. */ >>

Re: [PATCH] 0/19 modula-2 front end patches overview

2022-11-14 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: > On Mon, Oct 10, 2022 at 5:32 PM Gaius Mulley via Gcc-patches > wrote: >> >> >> Here are the latest modula-2 front end patches for review. >> The status of the patches and their contents are also contained at: >> >>https:/

Re: [PATCH] 2/19 modula2 front end: Make-lang.in

2022-11-11 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: >> +M2_MAINTAINER = no >> + >> +CPP_GM2=-fpermissive -DIN_GCC -g > > Do we really need -fpermissive here? no not needed (and now removed) - thanks for spotting it. >> +GM2_1 = ./gm2 -B./stage1/m2 -g -fm2-g >> + >> +GM2_FOR_TARGET = $(STAGE_CC_WRAPPER) ./gm2 -B./

Re: [PATCH] 1/19 modula2 front end: changes outside gcc/m2, libgm2 and gcc/testsuite.

2022-11-11 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: > On Mon, Oct 10, 2022 at 5:36 PM Gaius Mulley via Gcc-patches > wrote: >> >> >> >> This patch set contains the non machine generated changes found in / >> for example the language die and documentation changes. It also >> c

Re: [PATCH v2 16/19] modula2 front end: bootstrap and documentation tools

2022-11-08 Thread Gaius Mulley via Gcc-patches
Martin Liška writes: > 1) I would prefer using ' instead of ": > > $ flake8 ./gcc/m2/tools-src/tidydates.py > ... > ./gcc/m2/tools-src/tidydates.py:124:30: Q000 Double quotes found but single > quotes preferred > ./gcc/m2/tools-src/tidydates.py:127:27: Q000 Double quotes found but single >

[PATCH v2 16/19] modula2 front end: bootstrap and documentation tools

2022-11-07 Thread Gaius Mulley via Gcc-patches
hTidy) +visitDir(".", ".py", bashTidy) +visitDir(".", ".c", cTidy) +visitDir(".", ".h", cTidy) +visitDir(".", ".def", m2Tidy) +visitDir(".", ".mod", m2Tidy) + + +main() diff -ruw /d

Re: [PATCH] 16/19 modula2 front end: bootstrap and documentation tools

2022-10-28 Thread Gaius Mulley via Gcc-patches
Martin Liška writes: > Hello. > > I noticed the devel/modula-2 branch contains the following dead links: > > - http://www.gccsummit.org/2006 > - http://www.gccsummit.org/2010/speakers.php?types=LIGHTNING > - http://floppsie.comp.glam.ac.uk/Papers/paper23/gaius-mulle

Re: [PATCH] 16/19 modula2 front end: bootstrap and documentation tools

2022-10-14 Thread Gaius Mulley via Gcc-patches
("%s:1:1 needs a Copyright notice..\n" % file) >> + >> + >> +# >> +# bashTidy - tidy up dates using '#' comment >> +# >> + >> +def bashTidy (file): > > Better putting comments here in function body. > >> +handleHeader(file,

Re: [DOCS] Python Language Conventions

2022-10-13 Thread Gaius Mulley via Gcc-patches
David Malcolm writes: > On Thu, 2022-10-13 at 11:44 +0200, Gerald Pfeifer wrote: >> Hi Martin, >> >> On Thu, 13 Oct 2022, Martin Liška wrote: >> > I think we should add how Python scripts should be formatted. I >> > noticed >> > that while reading the Modula-2 patchset where it follows the

Re: [PATCH] 0/19 modula-2 front end patches overview

2022-10-12 Thread Gaius Mulley via Gcc-patches
Rainer Orth writes: > Hi Gaius, > >> Testing >> === > [...] >> The devel/modula-2 branch has been bootstrapped on: >> > [...] >>sparc64 solaris >>sparc32 solaris > > which versions exactly did you run those bootstraps on? I'm asking > because for Solaris 11.4/SPARCV9

[PATCH] 15/19 modula2 front end: cc1gm2 additional non modula2 source files

2022-10-10 Thread Gaius Mulley via Gcc-patches
2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at

[PATCH] 16/19 modula2 front end: bootstrap and documentation tools

2022-10-10 Thread Gaius Mulley via Gcc-patches
ite the boilerplate with new dates. +# +# Copyright (C) 2018-2022 Free Software Foundation, Inc. +# Contributed by Gaius Mulley . +# +# This file is part of GNU Modula-2. +# +# GNU Modula-2 is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public Licen

[PATCH] 11/19 modula2 front end: gimple interface *[a-d]*.cc

2022-10-10 Thread Gaius Mulley via Gcc-patches
m2-gcc/m2assert.cc2022-10-07 20:21:18.650096940 +0100 @@ -0,0 +1,41 @@ +/* m2assert.cc provides a simple assertion for location. + +Copyright (C) 2012-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; yo

[PATCH] 4/19 modula2 front end: libgm2/libm2pim contents

2022-10-10 Thread Gaius Mulley via Gcc-patches
s to miscellaneous math functions. + +Copyright (C) 2005-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as publ

[PATCH] 5/19 modula2 front end: libgm2/libm2iso contents

2022-10-10 Thread Gaius Mulley via Gcc-patches
lated system calls. + +Copyright (C) 2008-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software

[PATCH] 17/19 modula2 front end: dejagnu expect library scripts

2022-10-10 Thread Gaius Mulley via Gcc-patches
E. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GCC; see the file COPYING3. If not see +# <http://www.gnu.org/licenses/>. + +# This file was written by Gaius Mulley (gaius.mul...@southwales.ac

[PATCH] 13/19 modula2 front end: gimple interface *[g-m]*.cc

2022-10-10 Thread Gaius Mulley via Gcc-patches
la2/gcc/m2/gm2-gcc/m2linemap.cc 2022-10-07 20:21:18.650096940 +0100 @@ -0,0 +1,254 @@ +/* m2linemap.cc provides an interface to GCC linemaps. + +Copyright (C) 2012-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; yo

[PATCH] 9/19 modula2 front end: plugin source files

2022-10-10 Thread Gaius Mulley via Gcc-patches
0070 +0100 +++ gcc-git-devel-modula2/gcc/m2/plugin/m2rte.cc2022-10-07 20:21:18.682097332 +0100 @@ -0,0 +1,335 @@ +/* m2rte.cc a plugin to detect runtime exceptions at compiletime. + +Copyright (C) 2017-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is pa

[PATCH] 14/19 modula2 front end: gimple interface remainder

2022-10-10 Thread Gaius Mulley via Gcc-patches
m2/gm2-gcc/init.cc2022-10-07 20:21:18.650096940 +0100 @@ -0,0 +1,199 @@ +/* init.cc initializes the modules of the GNU Modula-2 front end. + +Copyright (C) 2012-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free

[PATCH] 1/19 modula2 front end: changes outside gcc/m2, libgm2 and gcc/testsuite.

2022-10-10 Thread Gaius Mulley via Gcc-patches
This patch set contains the non machine generated changes found in / for example the language die and documentation changes. It also contains the changes to the top level build Makefile infastructure and the install.texi sourcebuild.texi documentation.

[PATCH] 8/19 modula2 front end: libgm2 contents

2022-10-10 Thread Gaius Mulley via Gcc-patches
eLog --- /dev/null 2022-08-24 16:22:16.88870 +0100 +++ gcc-git-devel-modula2/libgm2/ChangeLog 2022-10-07 20:21:18.730097923 +0100 @@ -0,0 +1,506 @@ +2022-05-18 Gaius Mulley + + * Corrected dates on all source files. + * libm2pim/Selective.c: Reformatted comments.

[PATCH] 2/19 modula2 front end: Make-lang.in

2022-10-10 Thread Gaius Mulley via Gcc-patches
The makefile fragment for modula2 which builds the gm2 driver and cc1gm2. --8<--8<--8<--8<--8<--8< diff -ruw /dev/null gcc-git-devel-modula2/gcc/m2/Make-lang.in --- /dev/null 2022-08-24 16:22:16.88870 +0100 +++

[PATCH] 6/19 modula2 front end: libgm2/libm2min contents

2022-10-10 Thread Gaius Mulley via Gcc-patches
fi ; \ + chmod 644 $(DESTDIR)$(inst_libdir)/$(MULTIDIR)$(M2LIBDIR)$$i ; \ + done + +force: diff -ruw /dev/null gcc-git-devel-modula2/libgm2/libm2min/libc.c --- /dev/null 2022-08-24 16:22:16.88870 +0100 +++ gcc-git-devel-modula2/libgm2/libm2min/libc.c2022-10-07

[PATCH] 3/19 modula2 front end: gm2 driver files.

2022-10-10 Thread Gaius Mulley via Gcc-patches
ithin GNU Modula-2. + +Copyright (C) 2007-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free S

[PATCH] 7/19 modula2 front end: libgm2/libm2log contents

2022-10-10 Thread Gaius Mulley via Gcc-patches
(C) 2004-2022 Free Software Foundation, Inc. +Contributed by Gaius Mulley . + +This file is part of GNU Modula-2. + +GNU Modula-2 is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either vers

[PATCH] 0/19 modula-2 front end patches overview

2022-10-10 Thread Gaius Mulley via Gcc-patches
Here are the latest modula-2 front end patches for review. The status of the patches and their contents are also contained at: https://splendidisolation.ddns.net/public/modula2/patchsummary.html where they are also broken down into topic groups. In summary the high level changes from the

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-09-09 Thread Gaius Mulley via Gcc-patches
Martin Liška writes: >> gm2.texi. I see a few missing options (missing from gm2.texi) and also > > Do you have an example, please? -fscaffold-main was missing from gcc/doc/gm2.texi. I've git pushed a correction (and alphabetically sorted all options). >> I see problems with the libraries -

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-09-08 Thread Gaius Mulley via Gcc-patches
Martin Liška writes: > Note I've just converted the current Modula-2 manual to RST (Sphinx): > https://splichal.eu/scripts/sphinx/ > > It contains some minor issues, but in general it should be pretty fine. Note > pygments > contains a corresponding lexer: >

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-09-01 Thread Gaius Mulley via Gcc-patches
Martin Liška writes: > So please fix the crash I reported and I can convert GM2 texi manual. will do, regards, Gaius

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-08-31 Thread Gaius Mulley via Gcc-patches
Martin Liška writes: > How do you mean that? You should ideally generate .rst (Sphinx markup) > instead of the *.texi files. These will be then included in the converted > Sphinx manual similarly to how you include it now to the Texinfo manual. > > Does it make sense? > > Cheers, > Martin ah

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-08-30 Thread Gaius Mulley via Gcc-patches
Martin Liška writes: > On 8/30/22 13:03, Gaius Mulley via Gcc-patches wrote: >> >> Another very brief update to say that I'm now tidying up the code and >> primary platform testing >> >> regards, >> Gaius > > Hello. > > As you may know I'm

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-08-30 Thread Gaius Mulley via Gcc-patches
Another very brief update to say that I'm now tidying up the code and primary platform testing regards, Gaius

Progress of the new linking implementation

2022-07-29 Thread Gaius Mulley via Gcc-patches
Hello, the non shared library linking is complete and the gm2 driver has been rewritten using the fortran/c++ code base. Once the shared library scaffold is complete the focus will be on tidying up and platform/architecture testing. All 11.7k tests pass on amd64 and aarch64 debian regards,

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-07-25 Thread Gaius Mulley via Gcc-patches
Rainer Orth writes: >> I think this just leaves: >> >>> * While this lets the build finish on all of i386-pc-solaris2.11, >>> sparcv9-sun-solaris2.11, and x86_64-pc-linux-gnu, I get thousands of >>> testsuite failures, all of the same kind: >>> >>> Undefined first

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-07-12 Thread Gaius Mulley via Gcc-patches
Rainer Orth writes: Hi Rainer, many thanks for the patch and log of the failures. I've committed the patch and rebuilt all Makefile.in's which are affected by m2. I think this just leaves: > * While this lets the build finish on all of i386-pc-solaris2.11, > sparcv9-sun-solaris2.11, and

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-07-11 Thread Gaius Mulley via Gcc-patches
Rainer Orth writes: > Hi Gaius, > >> A very brief update to say that I've merged the new linking >> implementation back onto the devel/modula-2 branch, > > unfortunately, that branch doesn't bootstrap for me anywere: > > * On both x86_64-pc-linux-gnu and i386-pc-solaris2.11: > > libtool:

Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-07-09 Thread Gaius Mulley via Gcc-patches
A very brief update to say that I've merged the new linking implementation back onto the devel/modula-2 branch, regards, Gaius

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-06-27 Thread Gaius Mulley via Gcc-patches
Hi, all 11k regression tests pass with the new linking implementation (on devel/m2link). I plan to migrate the patches back to devel/modula-2 and then remove devel/m2link. Thereafter {polish,test} and generate new patch sets. Thanks for the clear explanation on how the dynamic scaffold

Re: [PATCH][wwwdocs] gcc-13: m2link branch

2022-06-21 Thread Gaius Mulley via Gcc-patches
Gerald Pfeifer writes: > Hi Gaius, > > On Tue, 21 Jun 2022, Gaius Mulley wrote: >> here is a proposed entry describing a new branch m2link containing the >> new scaffold development for modula-2. As the description says it is >> expected that this branch be sho

[PATCH][wwwdocs] gcc-13: m2link branch

2022-06-21 Thread Gaius Mulley via Gcc-patches
ned by +mailto:gaius.mul...@southwales.ac.uk;>Gaius Mulley. +Patches should be +prefixed with [m2link] in the subject line. + coarray_native This branch is for implementation of a shared memory implementation of Fortran coarrays. It is maintained by

Re: Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-06-17 Thread Gaius Mulley via Gcc-patches
New linking implementation is complete, gcc bootstraps and hello world links. I'll git push the changes, then test/debug/polish and produce new patch sets regards, Gaius

Modula-2: merge followup (brief update on the progress of the new linking implementation)

2022-06-11 Thread Gaius Mulley via Gcc-patches
Here is a brief synopsis of the new linking implementation. Completed: runtime module dependency resolution, IR scaffold and IR runtime dependency graph and the compiler driver. Todo: per module ctors. The proposed road map: once helloworld links using the new scheme I plan to git push the

Modula-2: merge followup re: patch-set 01..09

2022-06-07 Thread Gaius Mulley via Gcc-patches
thank you to the reviewers of the patch sets 01 though 09. As a brief followup/summary I propose rewriting linking as per Richard's suggestion: https://gcc.gnu.org/pipermail/gcc-patches/2022-May/595782.html Aside from the many technical advantages, logistically it also means: * the gm2

Re: [PATCH] Modula-2: merge proposal/review: 1/9 01.patch-set-01

2022-05-28 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: > On Wed, May 25, 2022 at 9:50 PM Gaius Mulley wrote: >> >> Richard Biener writes: >> >> > So is there a reason to have the 'scaffold' separate from the object >> > of hello.mod? >> >> Perhaps the major advantage i

Re: [PATCH] Modula-2: merge proposal/review: 1/9 01.patch-set-01

2022-05-25 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: > So is there a reason to have the 'scaffold' separate from the object > of hello.mod? Perhaps the major advantage is flexibility? But no we can by default produce the scaffold within the object of hello.mod (and give users the ability to disable scaffold generation

Re: [PATCH] Modula-2: merge proposal/review: 1/9 01.patch-set-01

2022-05-24 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: > On Sat, May 21, 2022 at 3:11 AM Gaius Mulley wrote: >> >> >> Hi, >> >> Gaius wrote: >> >> > the changes do raise questions. The reason for the changes here are to >> > allow easy linking for modula-2 users.

Re: [PATCH] Modula-2: merge proposal/review: 1/9 01.patch-set-01

2022-05-20 Thread Gaius Mulley via Gcc-patches
Hi, Gaius wrote: > the changes do raise questions. The reason for the changes here are to > allow easy linking for modula-2 users. > $ gm2 hello.mod > for example will compile and link with all dependent modules (dependants > are generated by analysing module source imports). The gm2

Re: [PATCH] Modula-2: merge proposal/review: 1/9 01.patch-set-01

2022-05-20 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: > On Wed, May 18, 2022 at 3:47 PM Gaius Mulley via Gcc-patches > wrote: >> >> hello, >> >> this file is part-01 of the patch set for the gm2 review. Hi Richard, > I think you did a better job last time splitting the patches. ah many

[PATCH] Modula-2: merge proposal/review: 8/9 08.patch-set-06 v2

2022-05-20 Thread Gaius Mulley via Gcc-patches
Hello, for completeness here is v2 of the patch set: (m2pp.c has been renamed m2pp.cc and a missing dependency added to m2rte). 6. gcc/m2/Make-lang.in == - New file: gcc/m2/Make-lang.in - #

Re: [PATCH] Modula-2: merge proposal/review: 7/9 07.patch-set-05

2022-05-19 Thread Gaius Mulley via Gcc-patches
Joseph Myers writes: > On Wed, 18 May 2022, Gaius Mulley via Gcc-patches wrote: > >> /* This is the contribution to the `documented_lang_options' array in >>toplev.c for gm2. */ > > I'm not sure what this is (an unused file?), but documented_lang_option

[PATCH] Modula-2: merge proposal/review: 2/9 02.patch-set-02 v2

2022-05-18 Thread Gaius Mulley via Gcc-patches
Hello, this email contains v2: 2. the top level /gm2tools contents. - New file: ./ChangeLog - 2022-05-18 Gaius Mulley * gm2l.1: Corrected default implementation/program module extension to .mod. * m2color.c

[PATCH] Modula-2: merge proposal/review: 9/9 09.patch-set-07

2022-05-18 Thread Gaius Mulley via Gcc-patches
@direntry * gm2: (gm2). A GCC-based compiler for the Modula-2 language @end direntry @end format @insertcopying @end ifinfo @titlepage @title The GNU Modula-2 Compiler @versionsubtitle @author Gaius Mulley @page @vskip 0pt plus 1filll Published by the Free Software Foundation @* 51

[PATCH] Modula-2: merge proposal/review: 8/9 08.patch-set-06

2022-05-18 Thread Gaius Mulley via Gcc-patches
Hello, this file contains: 6. gcc/m2/Make-lang.in == - New file: gcc/m2/Make-lang.in - # Top level -*- makefile -*- fragment for GNU M2. # Copyright (C) 2000-2022 Free Software Foundation, Inc.

[PATCH] Modula-2: merge proposal/review: 6/9 06.patch-set-04-3

2022-05-18 Thread Gaius Mulley via Gcc-patches
(* m2type.def definition module for m2type.cc. Copyright (C) 2011-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. GNU Modula-2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published

[PATCH] Modula-2: merge proposal/review: 1/9 01.patch-set-01

2022-05-18 Thread Gaius Mulley via Gcc-patches
hello, this file is part-01 of the patch set for the gm2 review. 1. all GCC files which have been patched. == The 'Only in' diff output was: Only in gcc-git-devel-modula2/gcc: m2 Only in gcc-git-devel-modula2/gcc/testsuite: gm2 Only in

[PATCH] Modula-2: merge proposal/review: 2/9 02.patch-set-02

2022-05-18 Thread Gaius Mulley via Gcc-patches
w file: gm2tools/ChangeLog --- 2022-05-17 Gaius Mulley * Corrected dates on all source files. 2021-06-14 Gaius Mulley * errors.c: (New file). * Makefile.am: (m2color.o) rule added include paths for gcc system h

Re: [committed] wwwdocs: readings: www.cmass.com is gone, remove

2022-04-11 Thread Gaius Mulley via Gcc-patches
Gerald Pfeifer writes: > I pushed this for now. > > Gaius, if you want to make changes to that section of readings.html, > absolutely be free doing so (and I'll be happy help, too). > > Gerald > > --- > htdocs/readings.html | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [PATCH] [wwwdocs] Update description of GM2 and document branch

2021-07-16 Thread Gaius Mulley via Gcc-patches
Gerald Pfeifer writes: >> +is fully operational with the GCC 10 and GCC 11 (on > > Here I'd omit "the", though I cannot (linguistically) explain why > and have to refer to established practice. thanks for catching the unnecessary "the" - all committed and pushed now, regards, Gaius

Re: [PATCH] [wwwdocs] Update description of GM2 and document branch

2021-07-12 Thread Gaius Mulley via Gcc-patches
@ in Git. Further information can be found on the https://github.com/Intrepid/GUPC;>GNU UPC page. + modula-2 + This branch is for the +http://nongnu.org/gm2/homepage.html;>GNU Modula-2 +front end to GCC prior to its integration with the mainline. The +branch will be

[PATCH] [wwwdocs] Update description of GM2 and document branch

2021-07-08 Thread Gaius Mulley via Gcc-patches
u.org/gm2/homepage.html;>GNU Modula-2 +front end to gcc prior to its integration with the mainline. The +branch will be regularly rebased against the mainline. It is +maintained by +mailto:gaius.mul...@southwales.ac.uk;>Gaius Mulley. +Patches should be +prefixed

[Patch] MAINTAINERS - Add myself for write after approval and DCO

2021-07-07 Thread Gaius Mulley via Gcc-patches
Hello, I have added myself for Write After Approval and DCO. Thanks Gaius = / * MAINTAINERS: Add myself for write after approval and DCO. 2021-07-06 Gaius Mulley Signed-off-by: Gaius Mulley diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-22 Thread Gaius Mulley via Gcc-patches
Jakub Jelinek writes: > > On Mon, Jun 21, 2021 at 11:36:48PM +0100, Gaius Mulley via Gcc-patches wrote: >> > : error: the file containing the definition module >> > <80><98>M2RTS >> > <80><99> cannot be found >> > compiler exit

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-21 Thread Gaius Mulley via Gcc-patches
Segher Boessenkool writes: > On Sat, Jun 19, 2021 at 09:09:05AM -0500, Segher Boessenkool wrote: >> powerpc64-linux now is building, and is running the tetsuite. My >> powerpc64le-linux build used --enable-languages=all, but Ada fails to >> build, so I'll redo that without Ada. > > For

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-21 Thread Gaius Mulley via Gcc-patches
1-06-19 Matthias Klose +2021-06-21 Gaius Mulley + + * tools-src/calcpath: (New file). + * Make-lang.in: (m2/gm2-libs/gm2-libs-host.h) use calcpath + to determine the srcdir of the new subdirectory. + (m2/gm2config.h) use calcpath + to determine

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-20 Thread Gaius Mulley via Gcc-patches
Segher Boessenkool writes: > Hi! > > On Fri, Jun 18, 2021 at 10:00:40PM +0100, Gaius Mulley wrote: >> Segher Boessenkool writes: >> > On Thu, Jun 17, 2021 at 11:26:41PM +0100, Gaius Mulley via Gcc-patches >> > wrote: >> >> Debian Stretch using mak

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-19 Thread Gaius Mulley via Gcc-patches
Matthias Klose writes: > x86_64-linux-gnu-g++-10 is the compiler used for the bootstrap. I haven't > checked if that is also seen for a normal bootstrap. Apparently it tries to > re-bootstrap the compiler. > > The build is configured with --with-build-config=bootstrap-lto-lean, built > with >

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-18 Thread Gaius Mulley via Gcc-patches
Matthias Klose writes: > > I checked that with a profiled lto build. The build succeeds with the > attached > patch to respect the parallel linking limitations, which you can configure > with > --enable-link-serialization=N > > However the build fails in the installation step with: > > [...]

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-18 Thread Gaius Mulley via Gcc-patches
Segher Boessenkool writes: > Hi Gaius, > > On Thu, Jun 17, 2021 at 11:26:41PM +0100, Gaius Mulley via Gcc-patches wrote: >> here are a set of patches which merge the gm2 front end into the >> GCC tree. > > I have looked through the patches in this email, and

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-18 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: >> > I would suggest to not rush this in now during stage4 but instead >> > take the opportunity of this "quiet" phase to prepare an integration >> > branch with all the issues above sorted out which we can merge at >> > the beginning of stage1 for GCC 12 (or later during

[PATCH] Modula-2 into the GCC tree on master

2021-06-17 Thread Gaius Mulley via Gcc-patches
gcc/m2/patches/gcc/trunk ] They are also available at: http://floppsie.comp.glam.ac.uk/download/c/gcc-patches-trunk-20210617-tar.gz just in case anything below gets mangled. 2021-06-17 Gaius Mulley * Makefile.def (host_modules) includes gm2tools. (target_modules): Includes libgm2. (GM

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-10 Thread Gaius Mulley via Gcc-patches
Matthias Klose writes: > On 1/18/21 2:55 PM, Gaius Mulley via Gcc-patches wrote: >> Richard Biener writes: >>> I've just done ./configure --enable-languages=m2; make -j24 >>> >>> I would suggest to not rush this in now during stage4 >>> but inste

Re: [PATCH] Modula-2 into the GCC tree on master

2021-05-27 Thread Gaius Mulley via Gcc-patches
Matthias Klose writes: > On 1/18/21 2:55 PM, Gaius Mulley via Gcc-patches wrote: >> Richard Biener writes: >>> I've just done ./configure --enable-languages=m2; make -j24 >>> >>> I would suggest to not rush this in now during stage4 >>> but inste

Re: [PATCH] analyzer: enabling Modula-2 Storage/ALLOCATE/DEALLOCATE

2021-04-19 Thread Gaius Mulley via Gcc-patches
David Malcolm writes: > On Tue, 2021-04-13 at 10:52 +0100, Gaius Mulley wrote: >> >> Hello David and fellow GCC developers, >> >> [the proposed patches for GCC trunk are at the end of the email] >> Firstly many thanks for your excellent feedback. Initially I th

[PATCH] analyzer: enabling Modula-2 Storage/ALLOCATE/DEALLOCATE

2021-04-13 Thread Gaius Mulley via Gcc-patches
Hello David and fellow GCC developers, [the proposed patches for GCC trunk are at the end of the email] I've been having way too much fun with your -fanalyzer code and here are four patches which give the analyzer the ability to understand the Modula-2 Storage API.

Re: [PATCH] Modula-2 into the GCC tree on master

2021-01-18 Thread Gaius Mulley via Gcc-patches
Matthias Klose writes: > this is mising the definition of lang_register_spec_functions for the jit > build. > > 2020-03-23 Matthias Klose > > * jit-spec.c (lang_register_spec_functions): New, not used for jit. > > > --- a/gcc/jit/jit-spec.c > +++ b/gcc/jit/jit-spec.c > @@ -39,3 +39,9

Re: [PATCH] Modula-2 into the GCC tree on master

2021-01-18 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: Hello Richard, many thanks for taking the time to review the patches and tarball. > It looks like libgm2 is built independently on whether m2 is enabled or not? > I'd like to see a while-listing of supported targets like done for example > for libgomp via configure.tgt

[PATCH] Modula-2 into the GCC tree on master

2021-01-17 Thread Gaius Mulley via Gcc-patches
libgm2 /bin/sh ./autogen.sh when built this implements iso, pim2, pim3 and pim4 editions of Modula-2 with access to GCC features (gcc/m2/gm2.texi). hope this is useful - enjoy, regards, Gaius 2021-01-18 Gaius Mulley * configure.ac (GM2_FOR_TARGET): Added. Request build driver program gm2

Re: PATCH bugzila request Bug 92146 gm2: the brig, fortran, go and D frontends are missing lang_register_spec_functions

2020-01-31 Thread Gaius Mulley
Gaius Mulley writes: > Hi Martin and Matthias, > > as requested here are the lang_register_spec_functions for brig, > fortran, go and D: ah correction here is the fortran lang_register_spec_functions patch: 12-patches Description: fortran lang_register_spec_function regards, Gaius

PATCH bugzila request Bug 92146 gm2: the brig, fortran, go and D frontends are missing lang_register_spec_functions

2020-01-31 Thread Gaius Mulley
Hi Martin and Matthias, as requested here are the lang_register_spec_functions for brig, fortran, go and D: 15-patches Description: lang register for go 14-patches Description: lang register for brig 13-patches Description: lang register for D 13-patches Description: lang register for

Re: [PATCH, Modula-2 (C/C++/D/F/Go/Jit)] (Register spec fn) (v3)

2019-12-09 Thread Gaius Mulley
Matthias Klose writes: > On 17.11.19 07:49, Gaius Mulley wrote: >> >> Hello, >> >> while spending the weekend on the Howland and Baker islands :-) I >> thought I'd post version three of the patches which introduce Modula-2 >> into the GCC trunk. The pat

Re: [PATCH, Modula-2 (C/C++/D/F/Go/Jit)] (Register spec fn) (v2)

2019-11-20 Thread Gaius Mulley
Matthias Klose writes: > On 08.07.19 23:19, Matthias Klose wrote: >> On 14.06.19 15:09, Gaius Mulley wrote: >>> >>> Hello, >>> >>> here is version two of the patches which introduce Modula-2 into the >>> GCC trunk. The patches include: >

Re: [PATCH, Modula-2 (C/C++/D/F/Go/Jit)] (Register spec fn) (v2)

2019-07-12 Thread Gaius Mulley
Segher Boessenkool writes: > On Thu, Jul 11, 2019 at 06:09:10PM +0100, Gaius Mulley wrote: >> Segher Boessenkool writes: >> >> > On Thu, Jul 11, 2019 at 12:49:44PM +0100, Gaius Mulley wrote: >> >> Matthias Klose writes: >> >> > powerpc64

Re: [PATCH, Modula-2 (C/C++/D/F/Go/Jit)] (Register spec fn) (v2)

2019-07-11 Thread Gaius Mulley
Segher Boessenkool writes: > On Thu, Jul 11, 2019 at 12:49:44PM +0100, Gaius Mulley wrote: >> Matthias Klose writes: >> > powerpc64le-linux-gnu fails to build (search for "unfinished" in the build >> > log) >> > >> > during RTL pass: fina

Re: [PATCH, Modula-2 (C/C++/D/F/Go/Jit)] (Register spec fn) (v2)

2019-07-11 Thread Gaius Mulley
Matthias Klose writes: >> I had a look at the GCC 9 version of the patches, with a build including a >> make >> install. Some comments: > > Had a test build based on the gcc-9 branch, > https://launchpad.net/~doko/+archive/ubuntu/toolchain/+sourcepub/10331180/+listing-archive-extra > >

<    1   2   3   >