public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4704] Merge modula-2 front end onto gcc.
@ 2022-12-14 17:45 Gaius Mulley
  0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2022-12-14 17:45 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1eee94d351774cdc2efc8ee508b82d065184c6ee

commit r13-4704-g1eee94d351774cdc2efc8ee508b82d065184c6ee
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Wed Dec 14 17:43:08 2022 +0000

    Merge modula-2 front end onto gcc.
    
    This commit merges the devel/modula2 into master.
    The libraries reside in libgm2, the compiler in gcc/m2
    and the testsuite in gcc/testsuite/gm2.
    
    ChangeLog:
    
            * configure.ac (target_libraries): Add target-libgm2.
            Add NCN_STRICT_CHECK_TARGET_TOOLS entry for gm2.
            Add GCC_TARGET_TOOL entry for gm2.  (compare_exclusions)
            add gcc/m2/gm2-compiler/M2Version,
            gcc/m2/gm2-compiler-boot/SYSTEM and gcc/m2/gm2version.
            * Makefile.def (target_modules): Add libgm2.  (flags_to_pass)
            Add GM2_FOR_TARGET, GM2FLAGS_FOR_TARGET.  (dependencies) Add
            all-target-libgm2 and on=all-target-libatomic.  (languages)
            Add entry for language=m2 with gcc-check-target=check-m2
            and lib-check-target=check-target-libgm2.
            * Makefile.tpl (BUILD_EXPORTS): Add definition for GM2
            and GM2FLAGS.  (HOST_EXPORTS) Add definition for GM2.
            (BASE_TARGET_EXPORTS) Add definition for GM2.
            (GM2_FOR_BUILD) Defined.  (GM2FLAGS) Defined.
            (GM2_FOR_TARGET) Defined.  (GM2FLAGS_FOR_TARGET) Defined.
            (EXTRA_HOST_FLAGS) Defined.  (POSTSTAGE1_FLAGS_TO_PASS)
            Add GM2 and GM2_FOR_BUILD.  (EXTRA_TARGET_FLAGS) Add
            GM2 and GM2FLAGS.  (EXTRA_GCC_FLAGS) Add GM2_FOR_TARGET.
            * configure: (Rebuilt).
            * Makefile.in: (Rebuilt).
    
    libgm2/ChangeLog:
    
            * Makefile.am: (New file).
            * autogen.sh: (New file).
            * config.h.in: (New file).
            * configure.ac: (New file).
            * libm2cor/KeyBoardLEDs.cc: (New file).
            * libm2cor/Makefile.am: (New file).
            * libm2iso/ChanConsts.h: (New file).
            * libm2iso/ErrnoCategory.cc: (New file).
            * libm2iso/Makefile.am: (New file).
            * libm2iso/RTco.cc: (New file).
            * libm2iso/m2rts.h: (New file).
            * libm2iso/wrapsock.c: (New file).
            * libm2iso/wraptime.c: (New file).
            * libm2log/Break.c: (New file).
            * libm2log/Makefile.am: (New file).
            * libm2min/Makefile.am: (New file).
            * libm2min/libc.c: (New file).
            * libm2pim/Makefile.am: (New file).
            * libm2pim/Selective.cc: (New file).
            * libm2pim/SysExceptions.cc: (New file).
            * libm2pim/UnixArgs.cc: (New file).
            * libm2pim/cgetopt.cc: (New file).
            * libm2pim/dtoa.cc: (New file).
            * libm2pim/errno.cc: (New file).
            * libm2pim/ldtoa.cc: (New file).
            * libm2pim/sckt.cc: (New file).
            * libm2pim/target.c: (New file).
            * libm2pim/termios.cc: (New file).
            * libm2pim/wrapc.c: (New file).
            * configure: (Rebuilt).
            * libm2log/Makefile.in: (Rebuilt).
            * libm2min/Makefile.in: (Rebuilt).
            * libm2cor/Makefile.in: (Rebuilt).
            * libm2pim/Makefile.in: (Rebuilt).
            * libm2iso/Makefile.in: (Rebuilt).
    
    gcc/ChangeLog:
    
            * configure.ac (HAVE_PYTHON): Test for Python3 added.
            * dwarf2out.cc (gen_compile_unit_die): Check language_string
            and language to DW_LANG_Modula2.
            * doc/install.texi: Add m2 as a language.  (--disable-libgm2)
            Documented.  Add make check-m2 to testing selected tests.
            * doc/sourcebuild.texi (GM2): New prerequisite item.
            (Python3 modules) New item.  (libgm2) Added.
            (gcc/m2) Added.
            * configure: (Rebuilt).
            * config.in: (Rebuilt).
    
    gcc/m2/ChangeLog:
    
            * COPYING.FDL: (New file).
            * COPYING.RUNTIME: (New file).
            * COPYING3: (New file).
            * COPYING3.LIB: (New file).
            * Make-lang.in: (New file).
            * Make-maintainer.in: (New file).
            * NEWS: (New file).
            * README: (New file).
            * config-lang.in: (New file).
            * config-make.in: (New file).
            * configure.ac: (New file).
            * gm2-compiler/CLexBuf.def: (New file).
            * gm2-compiler/CLexBuf.mod: (New file).
            * gm2-compiler/FifoQueue.def: (New file).
            * gm2-compiler/FifoQueue.mod: (New file).
            * gm2-compiler/Lists.def: (New file).
            * gm2-compiler/Lists.mod: (New file).
            * gm2-compiler/M2ALU.def: (New file).
            * gm2-compiler/M2ALU.mod: (New file).
            * gm2-compiler/M2AsmUtil.def: (New file).
            * gm2-compiler/M2AsmUtil.mod: (New file).
            * gm2-compiler/M2Base.def: (New file).
            * gm2-compiler/M2Base.mod: (New file).
            * gm2-compiler/M2BasicBlock.def: (New file).
            * gm2-compiler/M2BasicBlock.mod: (New file).
            * gm2-compiler/M2Batch.def: (New file).
            * gm2-compiler/M2Batch.mod: (New file).
            * gm2-compiler/M2Bitset.def: (New file).
            * gm2-compiler/M2Bitset.mod: (New file).
            * gm2-compiler/M2CaseList.def: (New file).
            * gm2-compiler/M2CaseList.mod: (New file).
            * gm2-compiler/M2Check.def: (New file).
            * gm2-compiler/M2Check.mod: (New file).
            * gm2-compiler/M2Code.def: (New file).
            * gm2-compiler/M2Code.mod: (New file).
            * gm2-compiler/M2ColorString.def: (New file).
            * gm2-compiler/M2ColorString.mod: (New file).
            * gm2-compiler/M2Comp.def: (New file).
            * gm2-compiler/M2Comp.mod: (New file).
            * gm2-compiler/M2Const.def: (New file).
            * gm2-compiler/M2Const.mod: (New file).
            * gm2-compiler/M2Debug.def: (New file).
            * gm2-compiler/M2Debug.mod: (New file).
            * gm2-compiler/M2DebugStack.def: (New file).
            * gm2-compiler/M2DebugStack.mod: (New file).
            * gm2-compiler/M2Defaults.def: (New file).
            * gm2-compiler/M2Defaults.mod: (New file).
            * gm2-compiler/M2DriverOptions.def: (New file).
            * gm2-compiler/M2DriverOptions.mod: (New file).
            * gm2-compiler/M2Emit.def: (New file).
            * gm2-compiler/M2Emit.mod: (New file).
            * gm2-compiler/M2Error.def: (New file).
            * gm2-compiler/M2Error.mod: (New file).
            * gm2-compiler/M2EvalSym.def: (New file).
            * gm2-compiler/M2FileName.def: (New file).
            * gm2-compiler/M2FileName.mod: (New file).
            * gm2-compiler/M2GCCDeclare.def: (New file).
            * gm2-compiler/M2GCCDeclare.mod: (New file).
            * gm2-compiler/M2GenGCC.def: (New file).
            * gm2-compiler/M2GenGCC.mod: (New file).
            * gm2-compiler/M2Graph.def: (New file).
            * gm2-compiler/M2Graph.mod: (New file).
            * gm2-compiler/M2Lex.def: (New file).
            * gm2-compiler/M2Lex.mod: (New file).
            * gm2-compiler/M2LexBuf.def: (New file).
            * gm2-compiler/M2LexBuf.mod: (New file).
            * gm2-compiler/M2MetaError.def: (New file).
            * gm2-compiler/M2MetaError.mod: (New file).
            * gm2-compiler/M2Optimize.def: (New file).
            * gm2-compiler/M2Optimize.mod: (New file).
            * gm2-compiler/M2Options.def: (New file).
            * gm2-compiler/M2Options.mod: (New file).
            * gm2-compiler/M2Pass.def: (New file).
            * gm2-compiler/M2Pass.mod: (New file).
            * gm2-compiler/M2Preprocess.def: (New file).
            * gm2-compiler/M2Preprocess.mod: (New file).
            * gm2-compiler/M2Printf.def: (New file).
            * gm2-compiler/M2Printf.mod: (New file).
            * gm2-compiler/M2Quads.def: (New file).
            * gm2-compiler/M2Quads.mod: (New file).
            * gm2-compiler/M2Quiet.def: (New file).
            * gm2-compiler/M2Quiet.mod: (New file).
            * gm2-compiler/M2Range.def: (New file).
            * gm2-compiler/M2Range.mod: (New file).
            * gm2-compiler/M2Reserved.def: (New file).
            * gm2-compiler/M2Reserved.mod: (New file).
            * gm2-compiler/M2SSA.def: (New file).
            * gm2-compiler/M2SSA.mod: (New file).
            * gm2-compiler/M2Scaffold.def: (New file).
            * gm2-compiler/M2Scaffold.mod: (New file).
            * gm2-compiler/M2Scope.def: (New file).
            * gm2-compiler/M2Scope.mod: (New file).
            * gm2-compiler/M2Search.def: (New file).
            * gm2-compiler/M2Search.mod: (New file).
            * gm2-compiler/M2Size.def: (New file).
            * gm2-compiler/M2Size.mod: (New file).
            * gm2-compiler/M2StackAddress.def: (New file).
            * gm2-compiler/M2StackAddress.mod: (New file).
            * gm2-compiler/M2StackWord.def: (New file).
            * gm2-compiler/M2StackWord.mod: (New file).
            * gm2-compiler/M2Students.def: (New file).
            * gm2-compiler/M2Students.mod: (New file).
            * gm2-compiler/M2Swig.def: (New file).
            * gm2-compiler/M2Swig.mod: (New file).
            * gm2-compiler/M2System.def: (New file).
            * gm2-compiler/M2System.mod: (New file).
            * gm2-compiler/M2Version.def: (New file).
            * gm2-compiler/NameKey.def: (New file).
            * gm2-compiler/NameKey.mod: (New file).
            * gm2-compiler/ObjectFiles.def: (New file).
            * gm2-compiler/ObjectFiles.mod: (New file).
            * gm2-compiler/Output.def: (New file).
            * gm2-compiler/Output.mod: (New file).
            * gm2-compiler/P0SymBuild.def: (New file).
            * gm2-compiler/P0SymBuild.mod: (New file).
            * gm2-compiler/P0SyntaxCheck.bnf: (New file).
            * gm2-compiler/P0SyntaxCheck.def: (New file).
            * gm2-compiler/P1Build.bnf: (New file).
            * gm2-compiler/P1Build.def: (New file).
            * gm2-compiler/P1SymBuild.def: (New file).
            * gm2-compiler/P1SymBuild.mod: (New file).
            * gm2-compiler/P2Build.bnf: (New file).
            * gm2-compiler/P2Build.def: (New file).
            * gm2-compiler/P2SymBuild.def: (New file).
            * gm2-compiler/P2SymBuild.mod: (New file).
            * gm2-compiler/P3Build.bnf: (New file).
            * gm2-compiler/P3Build.def: (New file).
            * gm2-compiler/P3SymBuild.def: (New file).
            * gm2-compiler/P3SymBuild.mod: (New file).
            * gm2-compiler/PCBuild.bnf: (New file).
            * gm2-compiler/PCBuild.def: (New file).
            * gm2-compiler/PCSymBuild.def: (New file).
            * gm2-compiler/PCSymBuild.mod: (New file).
            * gm2-compiler/PHBuild.bnf: (New file).
            * gm2-compiler/PHBuild.def: (New file).
            * gm2-compiler/README: (New file).
            * gm2-compiler/Sets.def: (New file).
            * gm2-compiler/Sets.mod: (New file).
            * gm2-compiler/SymbolConversion.def: (New file).
            * gm2-compiler/SymbolConversion.mod: (New file).
            * gm2-compiler/SymbolKey.def: (New file).
            * gm2-compiler/SymbolKey.mod: (New file).
            * gm2-compiler/SymbolTable.def: (New file).
            * gm2-compiler/SymbolTable.mod: (New file).
            * gm2-compiler/bnflex.def: (New file).
            * gm2-compiler/bnflex.mod: (New file).
            * gm2-compiler/cflex.def: (New file).
            * gm2-compiler/gm2.mod: (New file).
            * gm2-compiler/gm2lcc.mod: (New file).
            * gm2-compiler/gm2lgen.mod: (New file).
            * gm2-compiler/gm2lorder.mod: (New file).
            * gm2-compiler/m2flex.def: (New file).
            * gm2-compiler/ppg.mod: (New file).
            * gm2-gcc/README: (New file).
            * gm2-gcc/dynamicstrings.h: (New file).
            * gm2-gcc/gcc-consolidation.h: (New file).
            * gm2-gcc/init.cc: (New file).
            * gm2-gcc/init.def: (New file).
            * gm2-gcc/init.h: (New file).
            * gm2-gcc/m2assert.cc: (New file).
            * gm2-gcc/m2assert.h: (New file).
            * gm2-gcc/m2block.cc: (New file).
            * gm2-gcc/m2block.def: (New file).
            * gm2-gcc/m2block.h: (New file).
            * gm2-gcc/m2builtins.cc: (New file).
            * gm2-gcc/m2builtins.def: (New file).
            * gm2-gcc/m2builtins.h: (New file).
            * gm2-gcc/m2color.cc: (New file).
            * gm2-gcc/m2color.def: (New file).
            * gm2-gcc/m2color.h: (New file).
            * gm2-gcc/m2configure.cc: (New file).
            * gm2-gcc/m2configure.def: (New file).
            * gm2-gcc/m2configure.h: (New file).
            * gm2-gcc/m2convert.cc: (New file).
            * gm2-gcc/m2convert.def: (New file).
            * gm2-gcc/m2convert.h: (New file).
            * gm2-gcc/m2decl.cc: (New file).
            * gm2-gcc/m2decl.def: (New file).
            * gm2-gcc/m2decl.h: (New file).
            * gm2-gcc/m2except.cc: (New file).
            * gm2-gcc/m2except.def: (New file).
            * gm2-gcc/m2except.h: (New file).
            * gm2-gcc/m2expr.cc: (New file).
            * gm2-gcc/m2expr.def: (New file).
            * gm2-gcc/m2expr.h: (New file).
            * gm2-gcc/m2linemap.cc: (New file).
            * gm2-gcc/m2linemap.def: (New file).
            * gm2-gcc/m2linemap.h: (New file).
            * gm2-gcc/m2misc.cc: (New file).
            * gm2-gcc/m2misc.def: (New file).
            * gm2-gcc/m2misc.h: (New file).
            * gm2-gcc/m2options.h: (New file).
            * gm2-gcc/m2range.h: (New file).
            * gm2-gcc/m2search.h: (New file).
            * gm2-gcc/m2statement.cc: (New file).
            * gm2-gcc/m2statement.def: (New file).
            * gm2-gcc/m2statement.h: (New file).
            * gm2-gcc/m2top.cc: (New file).
            * gm2-gcc/m2top.def: (New file).
            * gm2-gcc/m2top.h: (New file).
            * gm2-gcc/m2tree.cc: (New file).
            * gm2-gcc/m2tree.def: (New file).
            * gm2-gcc/m2tree.h: (New file).
            * gm2-gcc/m2treelib.cc: (New file).
            * gm2-gcc/m2treelib.def: (New file).
            * gm2-gcc/m2treelib.h: (New file).
            * gm2-gcc/m2type.cc: (New file).
            * gm2-gcc/m2type.def: (New file).
            * gm2-gcc/m2type.h: (New file).
            * gm2-gcc/rtegraph.cc: (New file).
            * gm2-gcc/rtegraph.h: (New file).
            * gm2-ici/M2Emit.mod: (New file).
            * gm2-ici/README: (New file).
            * gm2-ici/m2linemap.c: (New file).
            * gm2-internals.texi: (New file).
            * gm2-lang.cc: (New file).
            * gm2-lang.h: (New file).
            * gm2-libiberty/README: (New file).
            * gm2-libiberty/choosetemp.def: (New file).
            * gm2-libiberty/pexecute.def: (New file).
            * gm2-libs-ch/M2LINK.c: (New file).
            * gm2-libs-ch/README: (New file).
            * gm2-libs-ch/RTcodummy.c: (New file).
            * gm2-libs-ch/RTintdummy.c: (New file).
            * gm2-libs-ch/Selective.c: (New file).
            * gm2-libs-ch/SysExceptions.c: (New file).
            * gm2-libs-ch/UnixArgs.cc: (New file).
            * gm2-libs-ch/cgetopt.c: (New file).
            * gm2-libs-ch/choosetemp.c: (New file).
            * gm2-libs-ch/dtoa.cc: (New file).
            * gm2-libs-ch/errno.c: (New file).
            * gm2-libs-ch/host.c: (New file).
            * gm2-libs-ch/ldtoa.cc: (New file).
            * gm2-libs-ch/m2rts.h: (New file).
            * gm2-libs-ch/termios.c: (New file).
            * gm2-libs-ch/tools.c: (New file).
            * gm2-libs-ch/wrapc.c: (New file).
            * gm2-libs-ch/xlibc.c: (New file).
            * gm2-libs-coroutines/Debug.def: (New file).
            * gm2-libs-coroutines/Debug.mod: (New file).
            * gm2-libs-coroutines/Executive.def: (New file).
            * gm2-libs-coroutines/Executive.mod: (New file).
            * gm2-libs-coroutines/KeyBoardLEDs.def: (New file).
            * gm2-libs-coroutines/README.texi: (New file).
            * gm2-libs-coroutines/SYSTEM.def: (New file).
            * gm2-libs-coroutines/SYSTEM.mod: (New file).
            * gm2-libs-coroutines/TimerHandler.def: (New file).
            * gm2-libs-coroutines/TimerHandler.mod: (New file).
            * gm2-libs-iso/COROUTINES.def: (New file).
            * gm2-libs-iso/COROUTINES.mod: (New file).
            * gm2-libs-iso/ChanConsts.def: (New file).
            * gm2-libs-iso/ChanConsts.h: (New file).
            * gm2-libs-iso/ChanConsts.mod: (New file).
            * gm2-libs-iso/CharClass.def: (New file).
            * gm2-libs-iso/CharClass.mod: (New file).
            * gm2-libs-iso/ClientSocket.def: (New file).
            * gm2-libs-iso/ClientSocket.mod: (New file).
            * gm2-libs-iso/ComplexMath.def: (New file).
            * gm2-libs-iso/ComplexMath.mod: (New file).
            * gm2-libs-iso/ConvStringLong.def: (New file).
            * gm2-libs-iso/ConvStringLong.mod: (New file).
            * gm2-libs-iso/ConvStringReal.def: (New file).
            * gm2-libs-iso/ConvStringReal.mod: (New file).
            * gm2-libs-iso/ConvTypes.def: (New file).
            * gm2-libs-iso/ConvTypes.mod: (New file).
            * gm2-libs-iso/EXCEPTIONS.def: (New file).
            * gm2-libs-iso/EXCEPTIONS.mod: (New file).
            * gm2-libs-iso/ErrnoCategory.def: (New file).
            * gm2-libs-iso/GeneralUserExceptions.def: (New file).
            * gm2-libs-iso/GeneralUserExceptions.mod: (New file).
            * gm2-libs-iso/IOChan.def: (New file).
            * gm2-libs-iso/IOChan.mod: (New file).
            * gm2-libs-iso/IOConsts.def: (New file).
            * gm2-libs-iso/IOConsts.mod: (New file).
            * gm2-libs-iso/IOLink.def: (New file).
            * gm2-libs-iso/IOLink.mod: (New file).
            * gm2-libs-iso/IOResult.def: (New file).
            * gm2-libs-iso/IOResult.mod: (New file).
            * gm2-libs-iso/LongComplexMath.def: (New file).
            * gm2-libs-iso/LongComplexMath.mod: (New file).
            * gm2-libs-iso/LongConv.def: (New file).
            * gm2-libs-iso/LongConv.mod: (New file).
            * gm2-libs-iso/LongIO.def: (New file).
            * gm2-libs-iso/LongIO.mod: (New file).
            * gm2-libs-iso/LongMath.def: (New file).
            * gm2-libs-iso/LongMath.mod: (New file).
            * gm2-libs-iso/LongStr.def: (New file).
            * gm2-libs-iso/LongStr.mod: (New file).
            * gm2-libs-iso/LongWholeIO.def: (New file).
            * gm2-libs-iso/LongWholeIO.mod: (New file).
            * gm2-libs-iso/LowLong.def: (New file).
            * gm2-libs-iso/LowLong.mod: (New file).
            * gm2-libs-iso/LowReal.def: (New file).
            * gm2-libs-iso/LowReal.mod: (New file).
            * gm2-libs-iso/LowShort.def: (New file).
            * gm2-libs-iso/LowShort.mod: (New file).
            * gm2-libs-iso/M2EXCEPTION.def: (New file).
            * gm2-libs-iso/M2EXCEPTION.mod: (New file).
            * gm2-libs-iso/M2RTS.def: (New file).
            * gm2-libs-iso/M2RTS.mod: (New file).
            * gm2-libs-iso/MemStream.def: (New file).
            * gm2-libs-iso/MemStream.mod: (New file).
            * gm2-libs-iso/Preemptive.def: (New file).
            * gm2-libs-iso/Preemptive.mod: (New file).
            * gm2-libs-iso/Processes.def: (New file).
            * gm2-libs-iso/Processes.mod: (New file).
            * gm2-libs-iso/ProgramArgs.def: (New file).
            * gm2-libs-iso/ProgramArgs.mod: (New file).
            * gm2-libs-iso/README.texi: (New file).
            * gm2-libs-iso/RTco.def: (New file).
            * gm2-libs-iso/RTdata.def: (New file).
            * gm2-libs-iso/RTdata.mod: (New file).
            * gm2-libs-iso/RTentity.def: (New file).
            * gm2-libs-iso/RTentity.mod: (New file).
            * gm2-libs-iso/RTfio.def: (New file).
            * gm2-libs-iso/RTfio.mod: (New file).
            * gm2-libs-iso/RTgen.def: (New file).
            * gm2-libs-iso/RTgen.mod: (New file).
            * gm2-libs-iso/RTgenif.def: (New file).
            * gm2-libs-iso/RTgenif.mod: (New file).
            * gm2-libs-iso/RTio.def: (New file).
            * gm2-libs-iso/RTio.mod: (New file).
            * gm2-libs-iso/RandomNumber.def: (New file).
            * gm2-libs-iso/RandomNumber.mod: (New file).
            * gm2-libs-iso/RawIO.def: (New file).
            * gm2-libs-iso/RawIO.mod: (New file).
            * gm2-libs-iso/RealConv.def: (New file).
            * gm2-libs-iso/RealConv.mod: (New file).
            * gm2-libs-iso/RealIO.def: (New file).
            * gm2-libs-iso/RealIO.mod: (New file).
            * gm2-libs-iso/RealMath.def: (New file).
            * gm2-libs-iso/RealMath.mod: (New file).
            * gm2-libs-iso/RealStr.def: (New file).
            * gm2-libs-iso/RealStr.mod: (New file).
            * gm2-libs-iso/RndFile.def: (New file).
            * gm2-libs-iso/RndFile.mod: (New file).
            * gm2-libs-iso/SIOResult.def: (New file).
            * gm2-libs-iso/SIOResult.mod: (New file).
            * gm2-libs-iso/SLongIO.def: (New file).
            * gm2-libs-iso/SLongIO.mod: (New file).
            * gm2-libs-iso/SLongWholeIO.def: (New file).
            * gm2-libs-iso/SLongWholeIO.mod: (New file).
            * gm2-libs-iso/SRawIO.def: (New file).
            * gm2-libs-iso/SRawIO.mod: (New file).
            * gm2-libs-iso/SRealIO.def: (New file).
            * gm2-libs-iso/SRealIO.mod: (New file).
            * gm2-libs-iso/SShortIO.def: (New file).
            * gm2-libs-iso/SShortIO.mod: (New file).
            * gm2-libs-iso/SShortWholeIO.def: (New file).
            * gm2-libs-iso/SShortWholeIO.mod: (New file).
            * gm2-libs-iso/STextIO.def: (New file).
            * gm2-libs-iso/STextIO.mod: (New file).
            * gm2-libs-iso/SWholeIO.def: (New file).
            * gm2-libs-iso/SWholeIO.mod: (New file).
            * gm2-libs-iso/SYSTEM.def: (New file).
            * gm2-libs-iso/SYSTEM.mod: (New file).
            * gm2-libs-iso/Semaphores.def: (New file).
            * gm2-libs-iso/Semaphores.mod: (New file).
            * gm2-libs-iso/SeqFile.def: (New file).
            * gm2-libs-iso/SeqFile.mod: (New file).
            * gm2-libs-iso/ShortComplexMath.def: (New file).
            * gm2-libs-iso/ShortComplexMath.mod: (New file).
            * gm2-libs-iso/ShortIO.def: (New file).
            * gm2-libs-iso/ShortIO.mod: (New file).
            * gm2-libs-iso/ShortWholeIO.def: (New file).
            * gm2-libs-iso/ShortWholeIO.mod: (New file).
            * gm2-libs-iso/SimpleCipher.def: (New file).
            * gm2-libs-iso/SimpleCipher.mod: (New file).
            * gm2-libs-iso/StdChans.def: (New file).
            * gm2-libs-iso/StdChans.mod: (New file).
            * gm2-libs-iso/Storage.def: (New file).
            * gm2-libs-iso/Storage.mod: (New file).
            * gm2-libs-iso/StreamFile.def: (New file).
            * gm2-libs-iso/StreamFile.mod: (New file).
            * gm2-libs-iso/StringChan.def: (New file).
            * gm2-libs-iso/StringChan.mod: (New file).
            * gm2-libs-iso/Strings.def: (New file).
            * gm2-libs-iso/Strings.mod: (New file).
            * gm2-libs-iso/SysClock.def: (New file).
            * gm2-libs-iso/SysClock.mod: (New file).
            * gm2-libs-iso/TERMINATION.def: (New file).
            * gm2-libs-iso/TERMINATION.mod: (New file).
            * gm2-libs-iso/TermFile.def: (New file).
            * gm2-libs-iso/TermFile.mod: (New file).
            * gm2-libs-iso/TextIO.def: (New file).
            * gm2-libs-iso/TextIO.mod: (New file).
            * gm2-libs-iso/WholeConv.def: (New file).
            * gm2-libs-iso/WholeConv.mod: (New file).
            * gm2-libs-iso/WholeIO.def: (New file).
            * gm2-libs-iso/WholeIO.mod: (New file).
            * gm2-libs-iso/WholeStr.def: (New file).
            * gm2-libs-iso/WholeStr.mod: (New file).
            * gm2-libs-iso/wrapsock.c: (New file).
            * gm2-libs-iso/wrapsock.def: (New file).
            * gm2-libs-iso/wraptime.c: (New file).
            * gm2-libs-iso/wraptime.def: (New file).
            * gm2-libs-min/M2RTS.def: (New file).
            * gm2-libs-min/M2RTS.mod: (New file).
            * gm2-libs-min/SYSTEM.def: (New file).
            * gm2-libs-min/SYSTEM.mod: (New file).
            * gm2-libs-min/libc.c: (New file).
            * gm2-libs-min/libc.def: (New file).
            * gm2-libs-pim/BitBlockOps.def: (New file).
            * gm2-libs-pim/BitBlockOps.mod: (New file).
            * gm2-libs-pim/BitByteOps.def: (New file).
            * gm2-libs-pim/BitByteOps.mod: (New file).
            * gm2-libs-pim/BitWordOps.def: (New file).
            * gm2-libs-pim/BitWordOps.mod: (New file).
            * gm2-libs-pim/BlockOps.def: (New file).
            * gm2-libs-pim/BlockOps.mod: (New file).
            * gm2-libs-pim/Break.c: (New file).
            * gm2-libs-pim/Break.def: (New file).
            * gm2-libs-pim/CardinalIO.def: (New file).
            * gm2-libs-pim/CardinalIO.mod: (New file).
            * gm2-libs-pim/Conversions.def: (New file).
            * gm2-libs-pim/Conversions.mod: (New file).
            * gm2-libs-pim/DebugPMD.def: (New file).
            * gm2-libs-pim/DebugPMD.mod: (New file).
            * gm2-libs-pim/DebugTrace.def: (New file).
            * gm2-libs-pim/DebugTrace.mod: (New file).
            * gm2-libs-pim/Delay.def: (New file).
            * gm2-libs-pim/Delay.mod: (New file).
            * gm2-libs-pim/Display.def: (New file).
            * gm2-libs-pim/Display.mod: (New file).
            * gm2-libs-pim/ErrorCode.def: (New file).
            * gm2-libs-pim/ErrorCode.mod: (New file).
            * gm2-libs-pim/FileSystem.def: (New file).
            * gm2-libs-pim/FileSystem.mod: (New file).
            * gm2-libs-pim/FloatingUtilities.def: (New file).
            * gm2-libs-pim/FloatingUtilities.mod: (New file).
            * gm2-libs-pim/InOut.def: (New file).
            * gm2-libs-pim/InOut.mod: (New file).
            * gm2-libs-pim/Keyboard.def: (New file).
            * gm2-libs-pim/Keyboard.mod: (New file).
            * gm2-libs-pim/LongIO.def: (New file).
            * gm2-libs-pim/LongIO.mod: (New file).
            * gm2-libs-pim/NumberConversion.def: (New file).
            * gm2-libs-pim/NumberConversion.mod: (New file).
            * gm2-libs-pim/README.texi: (New file).
            * gm2-libs-pim/Random.def: (New file).
            * gm2-libs-pim/Random.mod: (New file).
            * gm2-libs-pim/RealConversions.def: (New file).
            * gm2-libs-pim/RealConversions.mod: (New file).
            * gm2-libs-pim/RealInOut.def: (New file).
            * gm2-libs-pim/RealInOut.mod: (New file).
            * gm2-libs-pim/Strings.def: (New file).
            * gm2-libs-pim/Strings.mod: (New file).
            * gm2-libs-pim/Termbase.def: (New file).
            * gm2-libs-pim/Termbase.mod: (New file).
            * gm2-libs-pim/Terminal.def: (New file).
            * gm2-libs-pim/Terminal.mod: (New file).
            * gm2-libs-pim/TimeDate.def: (New file).
            * gm2-libs-pim/TimeDate.mod: (New file).
            * gm2-libs/ASCII.def: (New file).
            * gm2-libs/ASCII.mod: (New file).
            * gm2-libs/Args.def: (New file).
            * gm2-libs/Args.mod: (New file).
            * gm2-libs/Assertion.def: (New file).
            * gm2-libs/Assertion.mod: (New file).
            * gm2-libs/Break.def: (New file).
            * gm2-libs/Break.mod: (New file).
            * gm2-libs/Builtins.def: (New file).
            * gm2-libs/Builtins.mod: (New file).
            * gm2-libs/COROUTINES.def: (New file).
            * gm2-libs/COROUTINES.mod: (New file).
            * gm2-libs/CmdArgs.def: (New file).
            * gm2-libs/CmdArgs.mod: (New file).
            * gm2-libs/Debug.def: (New file).
            * gm2-libs/Debug.mod: (New file).
            * gm2-libs/DynamicStrings.def: (New file).
            * gm2-libs/DynamicStrings.mod: (New file).
            * gm2-libs/Environment.def: (New file).
            * gm2-libs/Environment.mod: (New file).
            * gm2-libs/FIO.def: (New file).
            * gm2-libs/FIO.mod: (New file).
            * gm2-libs/FormatStrings.def: (New file).
            * gm2-libs/FormatStrings.mod: (New file).
            * gm2-libs/FpuIO.def: (New file).
            * gm2-libs/FpuIO.mod: (New file).
            * gm2-libs/GetOpt.def: (New file).
            * gm2-libs/GetOpt.mod: (New file).
            * gm2-libs/IO.def: (New file).
            * gm2-libs/IO.mod: (New file).
            * gm2-libs/Indexing.def: (New file).
            * gm2-libs/Indexing.mod: (New file).
            * gm2-libs/LMathLib0.def: (New file).
            * gm2-libs/LMathLib0.mod: (New file).
            * gm2-libs/LegacyReal.def: (New file).
            * gm2-libs/LegacyReal.mod: (New file).
            * gm2-libs/M2Dependent.def: (New file).
            * gm2-libs/M2Dependent.mod: (New file).
            * gm2-libs/M2EXCEPTION.def: (New file).
            * gm2-libs/M2EXCEPTION.mod: (New file).
            * gm2-libs/M2LINK.def: (New file).
            * gm2-libs/M2RTS.def: (New file).
            * gm2-libs/M2RTS.mod: (New file).
            * gm2-libs/MathLib0.def: (New file).
            * gm2-libs/MathLib0.mod: (New file).
            * gm2-libs/MemUtils.def: (New file).
            * gm2-libs/MemUtils.mod: (New file).
            * gm2-libs/NumberIO.def: (New file).
            * gm2-libs/NumberIO.mod: (New file).
            * gm2-libs/OptLib.def: (New file).
            * gm2-libs/OptLib.mod: (New file).
            * gm2-libs/PushBackInput.def: (New file).
            * gm2-libs/PushBackInput.mod: (New file).
            * gm2-libs/README.texi: (New file).
            * gm2-libs/RTExceptions.def: (New file).
            * gm2-libs/RTExceptions.mod: (New file).
            * gm2-libs/RTint.def: (New file).
            * gm2-libs/RTint.mod: (New file).
            * gm2-libs/SArgs.def: (New file).
            * gm2-libs/SArgs.mod: (New file).
            * gm2-libs/SCmdArgs.def: (New file).
            * gm2-libs/SCmdArgs.mod: (New file).
            * gm2-libs/SEnvironment.def: (New file).
            * gm2-libs/SEnvironment.mod: (New file).
            * gm2-libs/SFIO.def: (New file).
            * gm2-libs/SFIO.mod: (New file).
            * gm2-libs/SMathLib0.def: (New file).
            * gm2-libs/SMathLib0.mod: (New file).
            * gm2-libs/SYSTEM.def: (New file).
            * gm2-libs/SYSTEM.mod: (New file).
            * gm2-libs/Scan.def: (New file).
            * gm2-libs/Scan.mod: (New file).
            * gm2-libs/Selective.def: (New file).
            * gm2-libs/StdIO.def: (New file).
            * gm2-libs/StdIO.mod: (New file).
            * gm2-libs/Storage.def: (New file).
            * gm2-libs/Storage.mod: (New file).
            * gm2-libs/StrCase.def: (New file).
            * gm2-libs/StrCase.mod: (New file).
            * gm2-libs/StrIO.def: (New file).
            * gm2-libs/StrIO.mod: (New file).
            * gm2-libs/StrLib.def: (New file).
            * gm2-libs/StrLib.mod: (New file).
            * gm2-libs/StringConvert.def: (New file).
            * gm2-libs/StringConvert.mod: (New file).
            * gm2-libs/SysExceptions.def: (New file).
            * gm2-libs/SysStorage.def: (New file).
            * gm2-libs/SysStorage.mod: (New file).
            * gm2-libs/TimeString.def: (New file).
            * gm2-libs/TimeString.mod: (New file).
            * gm2-libs/UnixArgs.def: (New file).
            * gm2-libs/cbuiltin.def: (New file).
            * gm2-libs/cgetopt.def: (New file).
            * gm2-libs/config-host: (New file).
            * gm2-libs/config-host.in: (New file).
            * gm2-libs/cxxabi.def: (New file).
            * gm2-libs/dtoa.def: (New file).
            * gm2-libs/errno.def: (New file).
            * gm2-libs/gdbif.def: (New file).
            * gm2-libs/gdbif.mod: (New file).
            * gm2-libs/gm2-libs-host.h.in: (New file).
            * gm2-libs/ldtoa.def: (New file).
            * gm2-libs/libc.def: (New file).
            * gm2-libs/libm.def: (New file).
            * gm2-libs/sckt.def: (New file).
            * gm2-libs/termios.def: (New file).
            * gm2-libs/wrapc.def: (New file).
            * gm2config.h.in: (New file).
            * gm2spec.cc: (New file).
            * gm2version.h: (New file).
            * init/README: (New file).
            * init/mcinit: (New file).
            * init/ppginit: (New file).
            * lang-specs.h: (New file).
            * lang.opt: (New file).
            * m2-tree.def: (New file).
            * m2-tree.h: (New file).
            * m2.flex: (New file).
            * m2pp.cc: (New file).
            * m2pp.h: (New file).
            * mc-boot-ch/GBuiltins.c: (New file).
            * mc-boot-ch/GM2LINK.c: (New file).
            * mc-boot-ch/GRTco.c: (New file).
            * mc-boot-ch/GSYSTEM.c: (New file).
            * mc-boot-ch/GSelective.c: (New file).
            * mc-boot-ch/GSysExceptions.c: (New file).
            * mc-boot-ch/GUnixArgs.cc: (New file).
            * mc-boot-ch/Gabort.c: (New file).
            * mc-boot-ch/Gcbuiltin.c: (New file).
            * mc-boot-ch/Gdtoa.c: (New file).
            * mc-boot-ch/Gerrno.c: (New file).
            * mc-boot-ch/Gldtoa.c: (New file).
            * mc-boot-ch/Glibc.c: (New file).
            * mc-boot-ch/Glibm.c: (New file).
            * mc-boot-ch/Gmcrts.c: (New file).
            * mc-boot-ch/Gmcrts.h: (New file).
            * mc-boot-ch/Gnetwork.h: (New file).
            * mc-boot-ch/Gtermios.cc: (New file).
            * mc-boot-ch/Gwrapc.c: (New file).
            * mc-boot-ch/README: (New file).
            * mc-boot-ch/m2rts.h: (New file).
            * mc-boot-ch/network.c: (New file).
            * mc-boot/GASCII.c: (New file).
            * mc-boot/GASCII.h: (New file).
            * mc-boot/GArgs.c: (New file).
            * mc-boot/GArgs.h: (New file).
            * mc-boot/GAssertion.c: (New file).
            * mc-boot/GAssertion.h: (New file).
            * mc-boot/GBreak.c: (New file).
            * mc-boot/GBreak.h: (New file).
            * mc-boot/GCOROUTINES.h: (New file).
            * mc-boot/GCmdArgs.c: (New file).
            * mc-boot/GCmdArgs.h: (New file).
            * mc-boot/GDebug.c: (New file).
            * mc-boot/GDebug.h: (New file).
            * mc-boot/GDynamicStrings.c: (New file).
            * mc-boot/GDynamicStrings.h: (New file).
            * mc-boot/GEnvironment.c: (New file).
            * mc-boot/GEnvironment.h: (New file).
            * mc-boot/GFIO.c: (New file).
            * mc-boot/GFIO.h: (New file).
            * mc-boot/GFormatStrings.c: (New file).
            * mc-boot/GFormatStrings.h: (New file).
            * mc-boot/GFpuIO.c: (New file).
            * mc-boot/GFpuIO.h: (New file).
            * mc-boot/GIO.c: (New file).
            * mc-boot/GIO.h: (New file).
            * mc-boot/GIndexing.c: (New file).
            * mc-boot/GIndexing.h: (New file).
            * mc-boot/GM2Dependent.c: (New file).
            * mc-boot/GM2Dependent.h: (New file).
            * mc-boot/GM2EXCEPTION.c: (New file).
            * mc-boot/GM2EXCEPTION.h: (New file).
            * mc-boot/GM2LINK.h: (New file).
            * mc-boot/GM2RTS.c: (New file).
            * mc-boot/GM2RTS.h: (New file).
            * mc-boot/GMemUtils.c: (New file).
            * mc-boot/GMemUtils.h: (New file).
            * mc-boot/GNumberIO.c: (New file).
            * mc-boot/GNumberIO.h: (New file).
            * mc-boot/GPushBackInput.c: (New file).
            * mc-boot/GPushBackInput.h: (New file).
            * mc-boot/GRTExceptions.c: (New file).
            * mc-boot/GRTExceptions.h: (New file).
            * mc-boot/GRTco.h: (New file).
            * mc-boot/GRTint.c: (New file).
            * mc-boot/GRTint.h: (New file).
            * mc-boot/GSArgs.c: (New file).
            * mc-boot/GSArgs.h: (New file).
            * mc-boot/GSFIO.c: (New file).
            * mc-boot/GSFIO.h: (New file).
            * mc-boot/GSYSTEM.h: (New file).
            * mc-boot/GSelective.h: (New file).
            * mc-boot/GStdIO.c: (New file).
            * mc-boot/GStdIO.h: (New file).
            * mc-boot/GStorage.c: (New file).
            * mc-boot/GStorage.h: (New file).
            * mc-boot/GStrCase.c: (New file).
            * mc-boot/GStrCase.h: (New file).
            * mc-boot/GStrIO.c: (New file).
            * mc-boot/GStrIO.h: (New file).
            * mc-boot/GStrLib.c: (New file).
            * mc-boot/GStrLib.h: (New file).
            * mc-boot/GStringConvert.c: (New file).
            * mc-boot/GStringConvert.h: (New file).
            * mc-boot/GSysExceptions.h: (New file).
            * mc-boot/GSysStorage.c: (New file).
            * mc-boot/GSysStorage.h: (New file).
            * mc-boot/GTimeString.c: (New file).
            * mc-boot/GTimeString.h: (New file).
            * mc-boot/GUnixArgs.h: (New file).
            * mc-boot/Galists.c: (New file).
            * mc-boot/Galists.h: (New file).
            * mc-boot/Gdecl.c: (New file).
            * mc-boot/Gdecl.h: (New file).
            * mc-boot/Gdtoa.h: (New file).
            * mc-boot/Gerrno.h: (New file).
            * mc-boot/Gkeyc.c: (New file).
            * mc-boot/Gkeyc.h: (New file).
            * mc-boot/Gldtoa.h: (New file).
            * mc-boot/Glibc.h: (New file).
            * mc-boot/Glibm.h: (New file).
            * mc-boot/Glists.c: (New file).
            * mc-boot/Glists.h: (New file).
            * mc-boot/GmcComment.c: (New file).
            * mc-boot/GmcComment.h: (New file).
            * mc-boot/GmcComp.c: (New file).
            * mc-boot/GmcComp.h: (New file).
            * mc-boot/GmcDebug.c: (New file).
            * mc-boot/GmcDebug.h: (New file).
            * mc-boot/GmcError.c: (New file).
            * mc-boot/GmcError.h: (New file).
            * mc-boot/GmcFileName.c: (New file).
            * mc-boot/GmcFileName.h: (New file).
            * mc-boot/GmcLexBuf.c: (New file).
            * mc-boot/GmcLexBuf.h: (New file).
            * mc-boot/GmcMetaError.c: (New file).
            * mc-boot/GmcMetaError.h: (New file).
            * mc-boot/GmcOptions.c: (New file).
            * mc-boot/GmcOptions.h: (New file).
            * mc-boot/GmcPreprocess.c: (New file).
            * mc-boot/GmcPreprocess.h: (New file).
            * mc-boot/GmcPretty.c: (New file).
            * mc-boot/GmcPretty.h: (New file).
            * mc-boot/GmcPrintf.c: (New file).
            * mc-boot/GmcPrintf.h: (New file).
            * mc-boot/GmcQuiet.c: (New file).
            * mc-boot/GmcQuiet.h: (New file).
            * mc-boot/GmcReserved.c: (New file).
            * mc-boot/GmcReserved.h: (New file).
            * mc-boot/GmcSearch.c: (New file).
            * mc-boot/GmcSearch.h: (New file).
            * mc-boot/GmcStack.c: (New file).
            * mc-boot/GmcStack.h: (New file).
            * mc-boot/GmcStream.c: (New file).
            * mc-boot/GmcStream.h: (New file).
            * mc-boot/Gmcflex.h: (New file).
            * mc-boot/Gmcp1.c: (New file).
            * mc-boot/Gmcp1.h: (New file).
            * mc-boot/Gmcp2.c: (New file).
            * mc-boot/Gmcp2.h: (New file).
            * mc-boot/Gmcp3.c: (New file).
            * mc-boot/Gmcp3.h: (New file).
            * mc-boot/Gmcp4.c: (New file).
            * mc-boot/Gmcp4.h: (New file).
            * mc-boot/Gmcp5.c: (New file).
            * mc-boot/Gmcp5.h: (New file).
            * mc-boot/GnameKey.c: (New file).
            * mc-boot/GnameKey.h: (New file).
            * mc-boot/Gpth.h: (New file).
            * mc-boot/GsymbolKey.c: (New file).
            * mc-boot/GsymbolKey.h: (New file).
            * mc-boot/Gtermios.h: (New file).
            * mc-boot/Gtop.c: (New file).
            * mc-boot/Gvarargs.c: (New file).
            * mc-boot/Gvarargs.h: (New file).
            * mc-boot/Gwlists.c: (New file).
            * mc-boot/Gwlists.h: (New file).
            * mc-boot/Gwrapc.h: (New file).
            * mc-boot/README: (New file).
            * mc/Indexing.def: (New file).
            * mc/Indexing.mod: (New file).
            * mc/README: (New file).
            * mc/alists.def: (New file).
            * mc/alists.mod: (New file).
            * mc/decl.def: (New file).
            * mc/decl.mod: (New file).
            * mc/decl.mod-extra: (New file).
            * mc/keyc.def: (New file).
            * mc/keyc.mod: (New file).
            * mc/lists.def: (New file).
            * mc/lists.mod: (New file).
            * mc/m2flex.def: (New file).
            * mc/mc.flex: (New file).
            * mc/mcComment.def: (New file).
            * mc/mcComment.h: (New file).
            * mc/mcComment.mod: (New file).
            * mc/mcComp.def: (New file).
            * mc/mcComp.mod: (New file).
            * mc/mcDebug.def: (New file).
            * mc/mcDebug.mod: (New file).
            * mc/mcError.def: (New file).
            * mc/mcError.mod: (New file).
            * mc/mcFileName.def: (New file).
            * mc/mcFileName.mod: (New file).
            * mc/mcLexBuf.def: (New file).
            * mc/mcLexBuf.h: (New file).
            * mc/mcLexBuf.mod: (New file).
            * mc/mcMetaError.def: (New file).
            * mc/mcMetaError.mod: (New file).
            * mc/mcOptions.def: (New file).
            * mc/mcOptions.mod: (New file).
            * mc/mcPreprocess.def: (New file).
            * mc/mcPreprocess.mod: (New file).
            * mc/mcPretty.def: (New file).
            * mc/mcPretty.mod: (New file).
            * mc/mcPrintf.def: (New file).
            * mc/mcPrintf.mod: (New file).
            * mc/mcQuiet.def: (New file).
            * mc/mcQuiet.mod: (New file).
            * mc/mcReserved.def: (New file).
            * mc/mcReserved.h: (New file).
            * mc/mcReserved.mod: (New file).
            * mc/mcSearch.def: (New file).
            * mc/mcSearch.mod: (New file).
            * mc/mcStack.def: (New file).
            * mc/mcStack.mod: (New file).
            * mc/mcStream.def: (New file).
            * mc/mcStream.mod: (New file).
            * mc/mcflex.def: (New file).
            * mc/mcp1.bnf: (New file).
            * mc/mcp1.def: (New file).
            * mc/mcp2.bnf: (New file).
            * mc/mcp2.def: (New file).
            * mc/mcp3.bnf: (New file).
            * mc/mcp3.def: (New file).
            * mc/mcp4.bnf: (New file).
            * mc/mcp4.def: (New file).
            * mc/mcp5.bnf: (New file).
            * mc/mcp5.def: (New file).
            * mc/nameKey.def: (New file).
            * mc/nameKey.mod: (New file).
            * mc/symbolKey.def: (New file).
            * mc/symbolKey.mod: (New file).
            * mc/top.mod: (New file).
            * mc/varargs.def: (New file).
            * mc/varargs.mod: (New file).
            * mc/wlists.def: (New file).
            * mc/wlists.mod: (New file).
            * pge-boot/GASCII.c: (New file).
            * pge-boot/GASCII.h: (New file).
            * pge-boot/GArgs.c: (New file).
            * pge-boot/GArgs.h: (New file).
            * pge-boot/GAssertion.c: (New file).
            * pge-boot/GAssertion.h: (New file).
            * pge-boot/GBreak.h: (New file).
            * pge-boot/GBuiltins.c: (New file).
            * pge-boot/GCmdArgs.h: (New file).
            * pge-boot/GDebug.c: (New file).
            * pge-boot/GDebug.h: (New file).
            * pge-boot/GDynamicStrings.c: (New file).
            * pge-boot/GDynamicStrings.h: (New file).
            * pge-boot/GEnvironment.h: (New file).
            * pge-boot/GFIO.c: (New file).
            * pge-boot/GFIO.h: (New file).
            * pge-boot/GFormatStrings.h: (New file).
            * pge-boot/GFpuIO.h: (New file).
            * pge-boot/GIO.c: (New file).
            * pge-boot/GIO.h: (New file).
            * pge-boot/GIndexing.c: (New file).
            * pge-boot/GIndexing.h: (New file).
            * pge-boot/GLists.c: (New file).
            * pge-boot/GLists.h: (New file).
            * pge-boot/GM2Dependent.c: (New file).
            * pge-boot/GM2Dependent.h: (New file).
            * pge-boot/GM2EXCEPTION.c: (New file).
            * pge-boot/GM2EXCEPTION.h: (New file).
            * pge-boot/GM2LINK.c: (New file).
            * pge-boot/GM2LINK.h: (New file).
            * pge-boot/GM2RTS.c: (New file).
            * pge-boot/GM2RTS.h: (New file).
            * pge-boot/GNameKey.c: (New file).
            * pge-boot/GNameKey.h: (New file).
            * pge-boot/GNumberIO.c: (New file).
            * pge-boot/GNumberIO.h: (New file).
            * pge-boot/GOutput.c: (New file).
            * pge-boot/GOutput.h: (New file).
            * pge-boot/GPushBackInput.c: (New file).
            * pge-boot/GPushBackInput.h: (New file).
            * pge-boot/GRTExceptions.c: (New file).
            * pge-boot/GRTExceptions.h: (New file).
            * pge-boot/GRTco.c: (New file).
            * pge-boot/GSArgs.h: (New file).
            * pge-boot/GSEnvironment.h: (New file).
            * pge-boot/GSFIO.c: (New file).
            * pge-boot/GSFIO.h: (New file).
            * pge-boot/GSYSTEM.c: (New file).
            * pge-boot/GSYSTEM.h: (New file).
            * pge-boot/GScan.h: (New file).
            * pge-boot/GSelective.c: (New file).
            * pge-boot/GStdIO.c: (New file).
            * pge-boot/GStdIO.h: (New file).
            * pge-boot/GStorage.c: (New file).
            * pge-boot/GStorage.h: (New file).
            * pge-boot/GStrCase.c: (New file).
            * pge-boot/GStrCase.h: (New file).
            * pge-boot/GStrIO.c: (New file).
            * pge-boot/GStrIO.h: (New file).
            * pge-boot/GStrLib.c: (New file).
            * pge-boot/GStrLib.h: (New file).
            * pge-boot/GStringConvert.h: (New file).
            * pge-boot/GSymbolKey.c: (New file).
            * pge-boot/GSymbolKey.h: (New file).
            * pge-boot/GSysExceptions.c: (New file).
            * pge-boot/GSysExceptions.h: (New file).
            * pge-boot/GSysStorage.c: (New file).
            * pge-boot/GSysStorage.h: (New file).
            * pge-boot/GTimeString.h: (New file).
            * pge-boot/GUnixArgs.cc: (New file).
            * pge-boot/GUnixArgs.h: (New file).
            * pge-boot/Gabort.c: (New file).
            * pge-boot/Gbnflex.c: (New file).
            * pge-boot/Gbnflex.h: (New file).
            * pge-boot/Gcbuiltin.c: (New file).
            * pge-boot/Gdtoa.c: (New file).
            * pge-boot/Gdtoa.h: (New file).
            * pge-boot/Gerrno.c: (New file).
            * pge-boot/Gerrno.h: (New file).
            * pge-boot/Gldtoa.c: (New file).
            * pge-boot/Gldtoa.h: (New file).
            * pge-boot/Glibc.c: (New file).
            * pge-boot/Glibc.h: (New file).
            * pge-boot/Glibm.c: (New file).
            * pge-boot/Glibm.h: (New file).
            * pge-boot/Gmcrts.c: (New file).
            * pge-boot/Gmcrts.h: (New file).
            * pge-boot/Gnetwork.h: (New file).
            * pge-boot/Gpge.c: (New file).
            * pge-boot/Gtermios.cc: (New file).
            * pge-boot/Gtermios.h: (New file).
            * pge-boot/Gwrapc.c: (New file).
            * pge-boot/Gwrapc.h: (New file).
            * pge-boot/README: (New file).
            * pge-boot/m2rts.h: (New file).
            * pge-boot/main.c: (New file).
            * pge-boot/network.c: (New file).
            * plugin/README: (New file).
            * plugin/m2rte.cc: (New file).
            * tools-src/README: (New file).
            * tools-src/boilerplate.py: (New file).
            * tools-src/buildpg: (New file).
            * tools-src/calcpath: (New file).
            * tools-src/def2doc.py: (New file).
            * tools-src/makeSystem: (New file).
            * tools-src/mklink.c: (New file).
            * tools-src/tidydates.py: (New file).
            * images/LICENSE.IMG: (New file).
            * images/gnupng: (New file).
            * images/gnu.eps: (New file).
            * version.c: (New file).
            * configure: (Rebuilt).
    
    gcc/testsuite/ChangeLog:
    
            * lib/gm2-dg.exp: (New file).
            * lib/gm2.exp: (New file).
            * lib/gm2-simple.exp: (New file).
            * lib/gm2-torture.exp: (New file).
            * gm2/calling-c/datatypes/unbounded/run/pass/c.c: (New file).
            * gm2/calling-c/datatypes/unbounded/run/pass/c.def: (New file).
            * gm2/calling-c/datatypes/unbounded/run/pass/calling-c-datatypes-unbounded-run-pass.exp:
            (New file).
            * gm2/calling-c/datatypes/unbounded/run/pass/m.mod: (New file).
            * gm2/case/pass/case-pass.exp: (New file).
            * gm2/case/pass/testcase1.mod: (New file).
            * gm2/case/pass/testcase2.mod: (New file).
            * gm2/case/pass/testcase3.mod: (New file).
            * gm2/case/pass/testcase4.mod: (New file).
            * gm2/complex/fail/var1.mod: (New file).
            * gm2/complex/pass/arith.mod: (New file).
            * gm2/complex/pass/arith2.mod: (New file).
            * gm2/complex/pass/arith3.mod: (New file).
            * gm2/complex/pass/arith4.mod: (New file).
            * gm2/complex/pass/arith5.mod: (New file).
            * gm2/complex/pass/arith6.mod: (New file).
            * gm2/complex/pass/complex-pass.exp: (New file).
            * gm2/complex/pass/consts.mod: (New file).
            * gm2/complex/pass/consts2.mod: (New file).
            * gm2/complex/pass/consts3.mod: (New file).
            * gm2/complex/pass/tinycabs.mod: (New file).
            * gm2/complex/pass/var1.mod: (New file).
            * gm2/complex/pass/var2.mod: (New file).
            * gm2/complex/pass/var3.mod: (New file).
            * gm2/complex/pass/var4.mod: (New file).
            * gm2/complex/pass/var5.mod: (New file).
            * gm2/complex/pass/var6.mod: (New file).
            * gm2/complex/pass/var7.mod: (New file).
            * gm2/complex/pass/var8.mod: (New file).
            * gm2/complex/run/pass/arith3.mod: (New file).
            * gm2/complex/run/pass/arith4.mod: (New file).
            * gm2/complex/run/pass/arith5.mod: (New file).
            * gm2/complex/run/pass/arith6.mod: (New file).
            * gm2/complex/run/pass/arith7.mod: (New file).
            * gm2/complex/run/pass/arith8.mod: (New file).
            * gm2/complex/run/pass/complex-run-pass.exp: (New file).
            * gm2/coroutines/pim/run/pass/coroutines-pim-run-pass.exp: (New file).
            * gm2/coroutines/pim/run/pass/testiotransfer.mod: (New file).
            * gm2/coroutines/pim/run/pass/testtransfer.mod: (New file).
            * gm2/cpp/fail/another.h: (New file).
            * gm2/cpp/fail/fail1.mod: (New file).
            * gm2/cpp/longcard2.mod: (New file).
            * gm2/cpp/longstrimp.mod: (New file).
            * gm2/cpp/pass/arrayhuge.mod: (New file).
            * gm2/cpp/pass/arrayhuge2.mod: (New file).
            * gm2/cpp/pass/cpp-pass.exp: (New file).
            * gm2/cpp/pass/cpp.mod: (New file).
            * gm2/cpp/pass/cpph.mod: (New file).
            * gm2/cpp/pass/subaddr.mod: (New file).
            * gm2/cpp/pass/testcpp.mod: (New file).
            * gm2/cpp/pass/testcpp2.mod: (New file).
            * gm2/cpp/setchar2.mod: (New file).
            * gm2/cpp/setchar6.mod: (New file).
            * gm2/cse/fail/cse-fail.exp: (New file).
            * gm2/cse/fail/testcse38.mod: (New file).
            * gm2/cse/pass/cse-pass.exp: (New file).
            * gm2/cse/pass/m2t.c: (New file).
            * gm2/cse/pass/testb.mod: (New file).
            * gm2/cse/pass/testbuiltin.def: (New file).
            * gm2/cse/pass/testbuiltin.mod: (New file).
            * gm2/cse/pass/testcse.def: (New file).
            * gm2/cse/pass/testcse.mod: (New file).
            * gm2/cse/pass/testcse10.mod: (New file).
            * gm2/cse/pass/testcse11.mod: (New file).
            * gm2/cse/pass/testcse12.mod: (New file).
            * gm2/cse/pass/testcse13.mod: (New file).
            * gm2/cse/pass/testcse14.mod: (New file).
            * gm2/cse/pass/testcse15.mod: (New file).
            * gm2/cse/pass/testcse16.mod: (New file).
            * gm2/cse/pass/testcse17.mod: (New file).
            * gm2/cse/pass/testcse18.mod: (New file).
            * gm2/cse/pass/testcse19.mod: (New file).
            * gm2/cse/pass/testcse2.mod: (New file).
            * gm2/cse/pass/testcse20.mod: (New file).
            * gm2/cse/pass/testcse21.mod: (New file).
            * gm2/cse/pass/testcse22.mod: (New file).
            * gm2/cse/pass/testcse23.mod: (New file).
            * gm2/cse/pass/testcse24.mod: (New file).
            * gm2/cse/pass/testcse25.mod: (New file).
            * gm2/cse/pass/testcse26.mod: (New file).
            * gm2/cse/pass/testcse27.mod: (New file).
            * gm2/cse/pass/testcse28.mod: (New file).
            * gm2/cse/pass/testcse29.mod: (New file).
            * gm2/cse/pass/testcse3.mod: (New file).
            * gm2/cse/pass/testcse31.mod: (New file).
            * gm2/cse/pass/testcse32.mod: (New file).
            * gm2/cse/pass/testcse33.mod: (New file).
            * gm2/cse/pass/testcse34.mod: (New file).
            * gm2/cse/pass/testcse35.mod: (New file).
            * gm2/cse/pass/testcse36.mod: (New file).
            * gm2/cse/pass/testcse37.mod: (New file).
            * gm2/cse/pass/testcse39.mod: (New file).
            * gm2/cse/pass/testcse4.c: (New file).
            * gm2/cse/pass/testcse4.mod: (New file).
            * gm2/cse/pass/testcse40.mod: (New file).
            * gm2/cse/pass/testcse41.mod: (New file).
            * gm2/cse/pass/testcse42.mod: (New file).
            * gm2/cse/pass/testcse43.mod: (New file).
            * gm2/cse/pass/testcse44.mod: (New file).
            * gm2/cse/pass/testcse45.mod: (New file).
            * gm2/cse/pass/testcse46.mod: (New file).
            * gm2/cse/pass/testcse47.mod: (New file).
            * gm2/cse/pass/testcse48.mod: (New file).
            * gm2/cse/pass/testcse49.mod: (New file).
            * gm2/cse/pass/testcse5.c: (New file).
            * gm2/cse/pass/testcse5.mod: (New file).
            * gm2/cse/pass/testcse50.def: (New file).
            * gm2/cse/pass/testcse50.mod: (New file).
            * gm2/cse/pass/testcse51.mod: (New file).
            * gm2/cse/pass/testcse52.def: (New file).
            * gm2/cse/pass/testcse52.mod: (New file).
            * gm2/cse/pass/testcse53.def: (New file).
            * gm2/cse/pass/testcse53.mod: (New file).
            * gm2/cse/pass/testcse6.c: (New file).
            * gm2/cse/pass/testcse6.mod: (New file).
            * gm2/cse/pass/testcse7.c: (New file).
            * gm2/cse/pass/testcse7.mod: (New file).
            * gm2/cse/pass/testcse8.c: (New file).
            * gm2/cse/pass/testcse8.mod: (New file).
            * gm2/cse/pass/testcse9.c: (New file).
            * gm2/cse/pass/testsize.mod: (New file).
            * gm2/dynamic/pass/add.mod: (New file).
            * gm2/dynamic/pass/dynamic-pass.exp: (New file).
            * gm2/dynamic/pass/prog21.mod: (New file).
            * gm2/dynamic/pass/testarray.mod: (New file).
            * gm2/dynamic/pass/testarray2.mod: (New file).
            * gm2/dynamic/pass/testarray3.mod: (New file).
            * gm2/dynamic/pass/testarray4.mod: (New file).
            * gm2/dynamic/pass/testarray6.mod: (New file).
            * gm2/dynamic/pass/testbec.mod: (New file).
            * gm2/dynamic/pass/testbec10.mod: (New file).
            * gm2/dynamic/pass/testbec11.mod: (New file).
            * gm2/dynamic/pass/testbec12.mod: (New file).
            * gm2/dynamic/pass/testbec13.mod: (New file).
            * gm2/dynamic/pass/testbec14.mod: (New file).
            * gm2/dynamic/pass/testbec15.mod: (New file).
            * gm2/dynamic/pass/testbec16.mod: (New file).
            * gm2/dynamic/pass/testbec17.mod: (New file).
            * gm2/dynamic/pass/testbec18.mod: (New file).
            * gm2/dynamic/pass/testbec19.mod: (New file).
            * gm2/dynamic/pass/testbec2.mod: (New file).
            * gm2/dynamic/pass/testbec20.mod: (New file).
            * gm2/dynamic/pass/testbec21.mod: (New file).
            * gm2/dynamic/pass/testbec22.mod: (New file).
            * gm2/dynamic/pass/testbec23.mod: (New file).
            * gm2/dynamic/pass/testbec24.mod: (New file).
            * gm2/dynamic/pass/testbec25.mod: (New file).
            * gm2/dynamic/pass/testbec26.mod: (New file).
            * gm2/dynamic/pass/testbec27.mod: (New file).
            * gm2/dynamic/pass/testbec28.mod: (New file).
            * gm2/dynamic/pass/testbec29.mod: (New file).
            * gm2/dynamic/pass/testbec3.mod: (New file).
            * gm2/dynamic/pass/testbec30.mod: (New file).
            * gm2/dynamic/pass/testbec31.mod: (New file).
            * gm2/dynamic/pass/testbec32.mod: (New file).
            * gm2/dynamic/pass/testbec33.mod: (New file).
            * gm2/dynamic/pass/testbec34.mod: (New file).
            * gm2/dynamic/pass/testbec35.mod: (New file).
            * gm2/dynamic/pass/testbec36.mod: (New file).
            * gm2/dynamic/pass/testbec37.mod: (New file).
            * gm2/dynamic/pass/testbec38.mod: (New file).
            * gm2/dynamic/pass/testbec39.mod: (New file).
            * gm2/dynamic/pass/testbec4.mod: (New file).
            * gm2/dynamic/pass/testbec40.mod: (New file).
            * gm2/dynamic/pass/testbec41.mod: (New file).
            * gm2/dynamic/pass/testbec42.mod: (New file).
            * gm2/dynamic/pass/testbec43.mod: (New file).
            * gm2/dynamic/pass/testbec44.mod: (New file).
            * gm2/dynamic/pass/testbec45.mod: (New file).
            * gm2/dynamic/pass/testbec5.mod: (New file).
            * gm2/dynamic/pass/testbec6.mod: (New file).
            * gm2/dynamic/pass/testbec7.mod: (New file).
            * gm2/dynamic/pass/testbec8.mod: (New file).
            * gm2/dynamic/pass/testbec9.mod: (New file).
            * gm2/dynamic/pass/testdavid.mod: (New file).
            * gm2/dynamic/pass/testdiv.mod: (New file).
            * gm2/dynamic/pass/testexp.mod: (New file).
            * gm2/dynamic/pass/testfor.mod: (New file).
            * gm2/dynamic/pass/testfor2.mod: (New file).
            * gm2/dynamic/pass/testfunc.mod: (New file).
            * gm2/dynamic/pass/testfunc2.mod: (New file).
            * gm2/dynamic/pass/testfunc3.mod: (New file).
            * gm2/dynamic/pass/testfunc4.mod: (New file).
            * gm2/dynamic/pass/testfunc5.mod: (New file).
            * gm2/dynamic/pass/testfunc6.mod: (New file).
            * gm2/dynamic/pass/testif.mod: (New file).
            * gm2/dynamic/pass/testit.mod: (New file).
            * gm2/dynamic/pass/testloop.mod: (New file).
            * gm2/dynamic/pass/testloop2.mod: (New file).
            * gm2/dynamic/pass/testloop3.mod: (New file).
            * gm2/dynamic/pass/testloop4.mod: (New file).
            * gm2/dynamic/pass/testloop5.mod: (New file).
            * gm2/dynamic/pass/testmin.mod: (New file).
            * gm2/dynamic/pass/testnum4.mod: (New file).
            * gm2/dynamic/pass/testord.mod: (New file).
            * gm2/dynamic/pass/testparam.mod: (New file).
            * gm2/dynamic/pass/testparam2.mod: (New file).
            * gm2/dynamic/pass/testproc.mod: (New file).
            * gm2/dynamic/pass/testproc2.c: (New file).
            * gm2/dynamic/pass/testproc2.def: (New file).
            * gm2/dynamic/pass/testproc2.mod: (New file).
            * gm2/dynamic/pass/testscn.mod: (New file).
            * gm2/dynamic/pass/testset.mod: (New file).
            * gm2/dynamic/pass/testset2.mod: (New file).
            * gm2/dynamic/pass/testset3.mod: (New file).
            * gm2/dynamic/pass/teststr.c: (New file).
            * gm2/dynamic/pass/teststr.mod: (New file).
            * gm2/dynamic/pass/teststr2.mod: (New file).
            * gm2/dynamic/pass/teststring.mod: (New file).
            * gm2/dynamic/pass/testunbounded.mod: (New file).
            * gm2/dynamic/pass/testwith.mod: (New file).
            * gm2/dynamic/pass/testzero.mod: (New file).
            * gm2/dynamic/pass/wc.mod: (New file).
            * gm2/embedded/pass/embedded-pass.exp: (New file).
            * gm2/embedded/pass/varataddress.mod: (New file).
            * gm2/embedded/pass/varataddress1.mod: (New file).
            * gm2/embedded/pass/varataddress2.mod: (New file).
            * gm2/embedded/pass/varataddress3.mod: (New file).
            * gm2/errors/fail/array1.mod: (New file).
            * gm2/errors/fail/badexpr.mod: (New file).
            * gm2/errors/fail/badfor.mod: (New file).
            * gm2/errors/fail/badhigh.mod: (New file).
            * gm2/errors/fail/badshift.mod: (New file).
            * gm2/errors/fail/badsubexpradr.mod: (New file).
            * gm2/errors/fail/binaryconst.mod: (New file).
            * gm2/errors/fail/binarygeneric.mod: (New file).
            * gm2/errors/fail/binarygenericconst.mod: (New file).
            * gm2/errors/fail/end.mod: (New file).
            * gm2/errors/fail/errors-fail.exp: (New file).
            * gm2/errors/fail/mismatched.mod: (New file).
            * gm2/errors/fail/mismatchedproc.mod: (New file).
            * gm2/errors/fail/nestedproc4.mod: (New file).
            * gm2/errors/fail/nomodule.mod: (New file).
            * gm2/errors/fail/proctype.mod: (New file).
            * gm2/errors/fail/prog110.mod: (New file).
            * gm2/errors/fail/prog111.mod: (New file).
            * gm2/errors/fail/prog113.mod: (New file).
            * gm2/errors/fail/prog114.mod: (New file).
            * gm2/errors/fail/testaddress.mod: (New file).
            * gm2/errors/fail/testarray.mod: (New file).
            * gm2/errors/fail/testbit.mod: (New file).
            * gm2/errors/fail/testbit2.mod: (New file).
            * gm2/errors/fail/testcase.mod: (New file).
            * gm2/errors/fail/testcomment.mod: (New file).
            * gm2/errors/fail/testcomment2.mod: (New file).
            * gm2/errors/fail/testcomment3.mod: (New file).
            * gm2/errors/fail/testconst.mod: (New file).
            * gm2/errors/fail/testdyn.mod: (New file).
            * gm2/errors/fail/testdyn2.mod: (New file).
            * gm2/errors/fail/testdyn3.mod: (New file).
            * gm2/errors/fail/testexp.mod: (New file).
            * gm2/errors/fail/testfio.mod: (New file).
            * gm2/errors/fail/testimport.mod: (New file).
            * gm2/errors/fail/testimport2.def: (New file).
            * gm2/errors/fail/testimport2.mod: (New file).
            * gm2/errors/fail/testinit.mod: (New file).
            * gm2/errors/fail/testmodule.mod: (New file).
            * gm2/errors/fail/testnil.mod: (New file).
            * gm2/errors/fail/testnil2.mod: (New file).
            * gm2/errors/fail/testparam.mod: (New file).
            * gm2/errors/fail/testproc.mod: (New file).
            * gm2/errors/fail/testproc2.mod: (New file).
            * gm2/errors/fail/testsize.mod: (New file).
            * gm2/errors/fail/teststring.mod: (New file).
            * gm2/errors/fail/testsub3.mod: (New file).
            * gm2/errors/fail/testsub4.mod: (New file).
            * gm2/errors/fail/testtype.mod: (New file).
            * gm2/errors/fail/testvar.mod: (New file).
            * gm2/errors/fail/testwith.mod: (New file).
            * gm2/errors/fail/testwrite.mod: (New file).
            * gm2/errors/fail/type.mod: (New file).
            * gm2/errors/fail/unarygeneric.mod: (New file).
            * gm2/errors/mustfail: (New file).
            * gm2/errors/options: (New file).
            * gm2/errors/testchar.mod: (New file).
            * gm2/errors/testsub2.mod: (New file).
            * gm2/examples/callingC/pass/examples-callingC-pass.exp: (New file).
            * gm2/examples/callingC/pass/hello.mod: (New file).
            * gm2/examples/callingC/pass/libprintf.def: (New file).
            * gm2/examples/callingC/run/pass/c.c: (New file).
            * gm2/examples/callingC/run/pass/c.def: (New file).
            * gm2/examples/callingC/run/pass/examples-callingC-run-pass.exp: (New file).
            * gm2/examples/callingC/run/pass/hello.mod: (New file).
            * gm2/examples/callingC/run/pass/libprintf.def: (New file).
            * gm2/examples/callingC/run/pass/m.mod: (New file).
            * gm2/examples/cpp/pass/examples-cpp-pass.exp: (New file).
            * gm2/examples/cpp/pass/hello.mod: (New file).
            * gm2/examples/cppDef/pass/a.def: (New file).
            * gm2/examples/cppDef/pass/a.mod: (New file).
            * gm2/examples/cppDef/pass/b.mod: (New file).
            * gm2/examples/cppDef/pass/examples-cppDef-pass.exp: (New file).
            * gm2/examples/cppDef/pass/libprintf.def: (New file).
            * gm2/examples/hello/pass/examples-hello-pass.exp: (New file).
            * gm2/examples/hello/pass/hello.mod: (New file).
            * gm2/examples/map/pass/AdvMap.def: (New file).
            * gm2/examples/map/pass/AdvMap.mod: (New file).
            * gm2/examples/map/pass/BoxMap.def: (New file).
            * gm2/examples/map/pass/BoxMap.mod: (New file).
            * gm2/examples/map/pass/Chance.def: (New file).
            * gm2/examples/map/pass/Chance.mod: (New file).
            * gm2/examples/map/pass/Find.def: (New file).
            * gm2/examples/map/pass/Find.mod: (New file).
            * gm2/examples/map/pass/Geometry.def: (New file).
            * gm2/examples/map/pass/Geometry.mod: (New file).
            * gm2/examples/map/pass/MakeBoxes.def: (New file).
            * gm2/examples/map/pass/MakeBoxes.mod: (New file).
            * gm2/examples/map/pass/Map.mod: (New file).
            * gm2/examples/map/pass/RoomMap.def: (New file).
            * gm2/examples/map/pass/RoomMap.mod: (New file).
            * gm2/examples/map/pass/Semantic.mod: (New file).
            * gm2/examples/map/pass/StoreCoord.def: (New file).
            * gm2/examples/map/pass/StoreCoord.mod: (New file).
            * gm2/examples/map/pass/StoreCoords.def: (New file).
            * gm2/examples/map/pass/StoreCoords.mod: (New file).
            * gm2/examples/map/pass/WriteMap.def: (New file).
            * gm2/examples/map/pass/WriteMap.mod: (New file).
            * gm2/examples/map/pass/examples-map-pass.exp: (New file).
            * gm2/examples/map/pass/makemaps: (New file).
            * gm2/examples/map/pass/testch2.mod: (New file).
            * gm2/examples/map/pass/testchan.mod: (New file).
            * gm2/examples/map/pass/testcoor.mod: (New file).
            * gm2/examples/map/pass/testmaps: (New file).
            * gm2/exceptions/run/pass/cpp.cpp: (New file).
            * gm2/exceptions/run/pass/cpp.def: (New file).
            * gm2/exceptions/run/pass/exceptions-run-pass.exp: (New file).
            * gm2/exceptions/run/pass/libexcept.mod: (New file).
            * gm2/exceptions/run/pass/m2test.def: (New file).
            * gm2/exceptions/run/pass/m2test.mod: (New file).
            * gm2/exceptions/run/pass/mycpp.cpp: (New file).
            * gm2/exceptions/run/pass/mycpp.def: (New file).
            * gm2/exceptions/run/pass/mym2.mod: (New file).
            * gm2/exceptions/run/pass/mym2a.mod: (New file).
            * gm2/extensions/pass/align.mod: (New file).
            * gm2/extensions/pass/align2.mod: (New file).
            * gm2/extensions/pass/card16p.mod: (New file).
            * gm2/extensions/pass/card32p.mod: (New file).
            * gm2/extensions/pass/card64p.mod: (New file).
            * gm2/extensions/pass/card8p.mod: (New file).
            * gm2/extensions/pass/co.def: (New file).
            * gm2/extensions/pass/co.mod: (New file).
            * gm2/extensions/pass/extensions-pass.exp: (New file).
            * gm2/extensions/pass/frame.mod: (New file).
            * gm2/extensions/pass/hello.mod: (New file).
            * gm2/extensions/pass/int16p.mod: (New file).
            * gm2/extensions/pass/int32p.mod: (New file).
            * gm2/extensions/pass/int64p.mod: (New file).
            * gm2/extensions/pass/int8p.mod: (New file).
            * gm2/extensions/pass/intsize8.mod: (New file).
            * gm2/extensions/pass/jmp.mod: (New file).
            * gm2/extensions/pass/libc.def: (New file).
            * gm2/extensions/pass/optparam.mod: (New file).
            * gm2/extensions/pass/optparam2.mod: (New file).
            * gm2/extensions/pass/return.mod: (New file).
            * gm2/extensions/pass/set8.mod: (New file).
            * gm2/extensions/pass/set8a.mod: (New file).
            * gm2/extensions/pass/set8b.mod: (New file).
            * gm2/extensions/pass/testco.mod: (New file).
            * gm2/extensions/run/fail/extensions-run-fail.exp: (New file).
            * gm2/extensions/run/fail/intsize8.mod: (New file).
            * gm2/extensions/run/pass/align3.mod: (New file).
            * gm2/extensions/run/pass/align4.mod: (New file).
            * gm2/extensions/run/pass/align5.mod: (New file).
            * gm2/extensions/run/pass/align6.mod: (New file).
            * gm2/extensions/run/pass/align7.mod: (New file).
            * gm2/extensions/run/pass/callingc.mod: (New file).
            * gm2/extensions/run/pass/card16p.mod: (New file).
            * gm2/extensions/run/pass/card32p.mod: (New file).
            * gm2/extensions/run/pass/card64p.mod: (New file).
            * gm2/extensions/run/pass/card8p.mod: (New file).
            * gm2/extensions/run/pass/column.mod: (New file).
            * gm2/extensions/run/pass/cvararg.c: (New file).
            * gm2/extensions/run/pass/cvararg.def: (New file).
            * gm2/extensions/run/pass/extensions-run-pass.exp: (New file).
            * gm2/extensions/run/pass/int16p.mod: (New file).
            * gm2/extensions/run/pass/int32p.mod: (New file).
            * gm2/extensions/run/pass/int64p.mod: (New file).
            * gm2/extensions/run/pass/int8field.mod: (New file).
            * gm2/extensions/run/pass/int8p.mod: (New file).
            * gm2/extensions/run/pass/packedrecord.mod: (New file).
            * gm2/extensions/run/pass/packedrecord2.mod: (New file).
            * gm2/extensions/run/pass/real32.mod: (New file).
            * gm2/extensions/run/pass/real32a.mod: (New file).
            * gm2/extensions/run/pass/record.mod: (New file).
            * gm2/extensions/run/pass/testopen.mod: (New file).
            * gm2/extensions/run/pass/vararg.mod: (New file).
            * gm2/extensions/run/pass/vararg2.mod: (New file).
            * gm2/extensions/run/pass/vararg3.mod: (New file).
            * gm2/fpu/pass/five.mod: (New file).
            * gm2/fpu/pass/fp.def: (New file).
            * gm2/fpu/pass/fp.mod: (New file).
            * gm2/fpu/pass/fpu-pass.exp: (New file).
            * gm2/fpu/pass/one.mod: (New file).
            * gm2/fpu/pass/r1.mod: (New file).
            * gm2/fpu/pass/realconst.mod: (New file).
            * gm2/fpu/pass/testfp.mod: (New file).
            * gm2/fpu/pass/testfp2.mod: (New file).
            * gm2/fpu/pass/testfpu1.mod: (New file).
            * gm2/fpu/pass/testfpu2.mod: (New file).
            * gm2/fpu/pass/testfpu3.mod: (New file).
            * gm2/fpu/pass/testsin.mod: (New file).
            * gm2/imports/run/pass/c.def: (New file).
            * gm2/imports/run/pass/c.mod: (New file).
            * gm2/imports/run/pass/imports-run-pass.exp: (New file).
            * gm2/imports/run/pass/innermods.mod: (New file).
            * gm2/imports/run/pass/innermods2.mod: (New file).
            * gm2/imports/run/pass/innermods3.mod: (New file).
            * gm2/imports/run/pass/innermods4.mod: (New file).
            * gm2/imports/run/pass/innermods5.def: (New file).
            * gm2/imports/run/pass/innermods5.mod: (New file).
            * gm2/imports/run/pass/innermods6.mod: (New file).
            * gm2/integer/div.mod: (New file).
            * gm2/integer/expr.mod: (New file).
            * gm2/integer/mod.mod: (New file).
            * gm2/integer/mod2.mod: (New file).
            * gm2/integer/one.mod: (New file).
            * gm2/integer/options: (New file).
            * gm2/integer/zero.mod: (New file).
            * gm2/iso/analysis/fail/Makefile: (New file).
            * gm2/iso/analysis/fail/arithoverflow.mod: (New file).
            * gm2/iso/analysis/fail/arithoverflow2.mod: (New file).
            * gm2/iso/analysis/fail/arithsubcard.mod: (New file).
            * gm2/iso/analysis/fail/arrayrange.mod: (New file).
            * gm2/iso/analysis/fail/assignvalue.mod: (New file).
            * gm2/iso/analysis/fail/callassignment.mod: (New file).
            * gm2/iso/analysis/fail/callassignment2.mod: (New file).
            * gm2/iso/analysis/fail/callassignment3.mod: (New file).
            * gm2/iso/analysis/fail/callassignment4.mod: (New file).
            * gm2/iso/analysis/fail/caserange.mod: (New file).
            * gm2/iso/analysis/fail/decvalue.mod: (New file).
            * gm2/iso/analysis/fail/forloop.mod: (New file).
            * gm2/iso/analysis/fail/incvalue.mod: (New file).
            * gm2/iso/analysis/fail/iso-analysis-fail.exp: (New file).
            * gm2/iso/analysis/fail/noreturn.mod: (New file).
            * gm2/iso/analysis/fail/returnvalue.mod: (New file).
            * gm2/iso/analysis/fail/staticarray.mod: (New file).
            * gm2/iso/check/fail/iso-check-fail.exp: (New file).
            * gm2/iso/check/fail/modulusoverflow.mod: (New file).
            * gm2/iso/fail/badarray.mod: (New file).
            * gm2/iso/fail/badarray2.mod: (New file).
            * gm2/iso/fail/badipv4.mod: (New file).
            * gm2/iso/fail/bug10.mod: (New file).
            * gm2/iso/fail/bug8.mod: (New file).
            * gm2/iso/fail/bug9.mod: (New file).
            * gm2/iso/fail/case.mod: (New file).
            * gm2/iso/fail/case2.mod: (New file).
            * gm2/iso/fail/case3.mod: (New file).
            * gm2/iso/fail/const1.mod: (New file).
            * gm2/iso/fail/constarray.mod: (New file).
            * gm2/iso/fail/constarray2.mod: (New file).
            * gm2/iso/fail/constprocedure.mod: (New file).
            * gm2/iso/fail/constrecord.mod: (New file).
            * gm2/iso/fail/constrecord2.mod: (New file).
            * gm2/iso/fail/constrecord3.mod: (New file).
            * gm2/iso/fail/constsubrange.mod: (New file).
            * gm2/iso/fail/constsubrange2.mod: (New file).
            * gm2/iso/fail/constsubrange3.mod: (New file).
            * gm2/iso/fail/defa.def: (New file).
            * gm2/iso/fail/defa.mod: (New file).
            * gm2/iso/fail/defb.def: (New file).
            * gm2/iso/fail/defb.mod: (New file).
            * gm2/iso/fail/defc.def: (New file).
            * gm2/iso/fail/defc.mod: (New file).
            * gm2/iso/fail/except.mod: (New file).
            * gm2/iso/fail/except2.mod: (New file).
            * gm2/iso/fail/iso-fail.exp: (New file).
            * gm2/iso/fail/isoa.def: (New file).
            * gm2/iso/fail/isoa.mod: (New file).
            * gm2/iso/fail/lengthsubexpr.mod: (New file).
            * gm2/iso/fail/proc.mod: (New file).
            * gm2/iso/fail/realbitscast.mod: (New file).
            * gm2/iso/fail/varient.mod: (New file).
            * gm2/iso/fail/varient2.mod: (New file).
            * gm2/iso/future/builtinlj.mod: (New file).
            * gm2/iso/pass/ChanConsts.def: (New file).
            * gm2/iso/pass/ChanConsts.mod: (New file).
            * gm2/iso/pass/ConvTypes.def: (New file).
            * gm2/iso/pass/ConvTypes.mod: (New file).
            * gm2/iso/pass/addadr1.mod: (New file).
            * gm2/iso/pass/bits32c.mod: (New file).
            * gm2/iso/pass/callwraptime.mod: (New file).
            * gm2/iso/pass/caseiso.mod: (New file).
            * gm2/iso/pass/caseiso2.mod: (New file).
            * gm2/iso/pass/cast.mod: (New file).
            * gm2/iso/pass/cast3.mod: (New file).
            * gm2/iso/pass/castiso.mod: (New file).
            * gm2/iso/pass/const1.mod: (New file).
            * gm2/iso/pass/constreal.mod: (New file).
            * gm2/iso/pass/constructor1.mod: (New file).
            * gm2/iso/pass/constructor2.mod: (New file).
            * gm2/iso/pass/constructor3.mod: (New file).
            * gm2/iso/pass/constructor4.mod: (New file).
            * gm2/iso/pass/constructor5.mod: (New file).
            * gm2/iso/pass/constructor6.mod: (New file).
            * gm2/iso/pass/constsize4.mod: (New file).
            * gm2/iso/pass/delim.mod: (New file).
            * gm2/iso/pass/delim2.mod: (New file).
            * gm2/iso/pass/enummodule.mod: (New file).
            * gm2/iso/pass/except1.mod: (New file).
            * gm2/iso/pass/expproc.mod: (New file).
            * gm2/iso/pass/expproc2.mod: (New file).
            * gm2/iso/pass/iso-pass.exp: (New file).
            * gm2/iso/pass/isob.def: (New file).
            * gm2/iso/pass/isob.mod: (New file).
            * gm2/iso/pass/isobitset.mod: (New file).
            * gm2/iso/pass/isobitset2.mod: (New file).
            * gm2/iso/pass/longm.mod: (New file).
            * gm2/iso/pass/m.mod: (New file).
            * gm2/iso/pass/proccast.mod: (New file).
            * gm2/iso/pass/realbitscast.mod: (New file).
            * gm2/iso/pass/set12.mod: (New file).
            * gm2/iso/pass/stringchar.mod: (New file).
            * gm2/iso/pass/subassign.mod: (New file).
            * gm2/iso/pass/testaddindr.mod: (New file).
            * gm2/iso/pass/testconv.def: (New file).
            * gm2/iso/pass/testconv.mod: (New file).
            * gm2/iso/pass/testconv2.def: (New file).
            * gm2/iso/pass/testconv2.mod: (New file).
            * gm2/iso/pass/testconv3.mod: (New file).
            * gm2/iso/pass/testconv4.mod: (New file).
            * gm2/iso/pass/testconv5.mod: (New file).
            * gm2/iso/pass/testconv6.mod: (New file).
            * gm2/iso/pass/testconv7.mod: (New file).
            * gm2/iso/pass/testconv8.mod: (New file).
            * gm2/iso/pass/testconv9.mod: (New file).
            * gm2/iso/pass/testiso.mod: (New file).
            * gm2/iso/pass/testiso2.mod: (New file).
            * gm2/iso/pass/testisosize.mod: (New file).
            * gm2/iso/pass/testlength.mod: (New file).
            * gm2/iso/pass/testlength2.mod: (New file).
            * gm2/iso/pass/testlength3.mod: (New file).
            * gm2/iso/pass/testlength4.mod: (New file).
            * gm2/iso/pass/testlength5.mod: (New file).
            * gm2/iso/pass/unbounded.mod: (New file).
            * gm2/iso/pass/unbounded2.mod: (New file).
            * gm2/iso/run/pass/adraddress.mod: (New file).
            * gm2/iso/run/pass/adrunbounded3.mod: (New file).
            * gm2/iso/run/pass/baseimport.mod: (New file).
            * gm2/iso/run/pass/compsize.mod: (New file).
            * gm2/iso/run/pass/concurrentstore.mod: (New file).
            * gm2/iso/run/pass/constprocedure.mod: (New file).
            * gm2/iso/run/pass/constructor1.mod: (New file).
            * gm2/iso/run/pass/constructor2.mod: (New file).
            * gm2/iso/run/pass/conststrarray.mod: (New file).
            * gm2/iso/run/pass/contimer.mod: (New file).
            * gm2/iso/run/pass/except.c: (New file).
            * gm2/iso/run/pass/except2.mod: (New file).
            * gm2/iso/run/pass/except3.cpp: (New file).
            * gm2/iso/run/pass/except4.mod: (New file).
            * gm2/iso/run/pass/except5.cpp: (New file).
            * gm2/iso/run/pass/except5.mod: (New file).
            * gm2/iso/run/pass/except6.cpp: (New file).
            * gm2/iso/run/pass/except7.mod: (New file).
            * gm2/iso/run/pass/except8.mod: (New file).
            * gm2/iso/run/pass/fileio.def: (New file).
            * gm2/iso/run/pass/fileio.mod: (New file).
            * gm2/iso/run/pass/hello.mod: (New file).
            * gm2/iso/run/pass/int8field.mod: (New file).
            * gm2/iso/run/pass/iso-run-pass.exp: (New file).
            * gm2/iso/run/pass/long.mod: (New file).
            * gm2/iso/run/pass/long2.mod: (New file).
            * gm2/iso/run/pass/long3.mod: (New file).
            * gm2/iso/run/pass/long4.c: (New file).
            * gm2/iso/run/pass/long4.mod: (New file).
            * gm2/iso/run/pass/minmax.mod: (New file).
            * gm2/iso/run/pass/modulus.mod: (New file).
            * gm2/iso/run/pass/nestediso.mod: (New file).
            * gm2/iso/run/pass/nestedrecord.mod: (New file).
            * gm2/iso/run/pass/onebyte.mod: (New file).
            * gm2/iso/run/pass/onebyte2.mod: (New file).
            * gm2/iso/run/pass/onebyte3.mod: (New file).
            * gm2/iso/run/pass/packed.mod: (New file).
            * gm2/iso/run/pass/proc.c: (New file).
            * gm2/iso/run/pass/proc.mod: (New file).
            * gm2/iso/run/pass/proc2.mod: (New file).
            * gm2/iso/run/pass/returnrecord.mod: (New file).
            * gm2/iso/run/pass/shift.mod: (New file).
            * gm2/iso/run/pass/shift2.mod: (New file).
            * gm2/iso/run/pass/shift3.mod: (New file).
            * gm2/iso/run/pass/shift4.mod: (New file).
            * gm2/iso/run/pass/simple: (New file).
            * gm2/iso/run/pass/simplelarge.mod: (New file).
            * gm2/iso/run/pass/strcons.mod: (New file).
            * gm2/iso/run/pass/strcons2.mod: (New file).
            * gm2/iso/run/pass/t.cpp: (New file).
            * gm2/iso/run/pass/t1.cpp: (New file).
            * gm2/iso/run/pass/testLength.mod: (New file).
            * gm2/iso/run/pass/testarray.mod: (New file).
            * gm2/iso/run/pass/testgeneric.mod: (New file).
            * gm2/iso/run/pass/testlarge.mod: (New file).
            * gm2/iso/run/pass/testsystem.mod: (New file).
            * gm2/iso/run/pass/tinyconst.mod: (New file).
            * gm2/iso/run/pass/tinyconst2.mod: (New file).
            * gm2/iso/run/pass/tinyconst3.mod: (New file).
            * gm2/iso/run/pass/tinyconst4.mod: (New file).
            * gm2/iso/run/pass/tinyconst5.mod: (New file).
            * gm2/iso/run/pass/tinytimer.mod: (New file).
            * gm2/iso/run/pass/trivialmodulus.mod: (New file).
            * gm2/iso/run/pass/tsize.mod: (New file).
            * gm2/iso/run/pass/tsize2.mod: (New file).
            * gm2/iso/run/pass/tstLength.mod: (New file).
            * gm2/iso/run/pass/unbounded.mod: (New file).
            * gm2/iso/run/pass/unbounded2.mod: (New file).
            * gm2/iso/run/pass/unbounded3.mod: (New file).
            * gm2/iso/run/pass/unbounded4.mod: (New file).
            * gm2/iso/run/pass/unbounded5.mod: (New file).
            * gm2/iso/run/pass/unbounded6.mod: (New file).
            * gm2/iso/run/pass/unbounded7.mod: (New file).
            * gm2/iso/run/pass/unbounded8.mod: (New file).
            * gm2/isocoroutines/run/pass/coroutine.mod: (New file).
            * gm2/isocoroutines/run/pass/isocoroutines-run-pass.exp: (New file).
            * gm2/isolib/run/pass/arraycons.mod: (New file).
            * gm2/isolib/run/pass/arraycons2.mod: (New file).
            * gm2/isolib/run/pass/arraycons3.mod: (New file).
            * gm2/isolib/run/pass/arraycons5.mod: (New file).
            * gm2/isolib/run/pass/arraycons6.mod: (New file).
            * gm2/isolib/run/pass/arraycons7.mod: (New file).
            * gm2/isolib/run/pass/arrayconst8.mod: (New file).
            * gm2/isolib/run/pass/exceptiontest.mod: (New file).
            * gm2/isolib/run/pass/filepos.mod: (New file).
            * gm2/isolib/run/pass/hello.mod: (New file).
            * gm2/isolib/run/pass/insert.mod: (New file).
            * gm2/isolib/run/pass/intconv.mod: (New file).
            * gm2/isolib/run/pass/isolib-run-pass.exp: (New file).
            * gm2/isolib/run/pass/longstr.mod: (New file).
            * gm2/isolib/run/pass/openlibc.mod: (New file).
            * gm2/isolib/run/pass/raise.mod: (New file).
            * gm2/isolib/run/pass/raise2.mod: (New file).
            * gm2/isolib/run/pass/readreal.mod: (New file).
            * gm2/isolib/run/pass/real1.mod: (New file).
            * gm2/isolib/run/pass/real2.mod: (New file).
            * gm2/isolib/run/pass/real3.mod: (New file).
            * gm2/isolib/run/pass/realconv.mod: (New file).
            * gm2/isolib/run/pass/realconv2.mod: (New file).
            * gm2/isolib/run/pass/realstr.mod: (New file).
            * gm2/isolib/run/pass/sigfig.mod: (New file).
            * gm2/isolib/run/pass/stringreal2.mod: (New file).
            * gm2/isolib/run/pass/termfile.mod-disabled: (New file).
            * gm2/isolib/run/pass/testappend.mod: (New file).
            * gm2/isolib/run/pass/testinput: (New file).
            * gm2/isolib/run/pass/testio.mod: (New file).
            * gm2/isolib/run/pass/testio2.mod: (New file).
            * gm2/isolib/run/pass/testmem.mod: (New file).
            * gm2/isolib/run/pass/testmem2.mod: (New file).
            * gm2/isolib/run/pass/testnumber: (New file).
            * gm2/isolib/run/pass/tiny.mod: (New file).
            * gm2/isolib/run/pass/tiny2.mod: (New file).
            * gm2/isolib/run/pass/tiny3.mod: (New file).
            * gm2/isolib/run/pass/tiny4.mod: (New file).
            * gm2/isolib/run/pass/tiny5.mod: (New file).
            * gm2/libs/a.def: (New file).
            * gm2/libs/a.mod: (New file).
            * gm2/libs/b.def: (New file).
            * gm2/libs/b.mod: (New file).
            * gm2/libs/testraw.mod: (New file).
            * gm2/link/externalscaffold/pass/hello.mod: (New file).
            * gm2/link/externalscaffold/pass/link-externalscaffold-pass.exp: (New file).
            * gm2/link/externalscaffold/pass/scaffold.c: (New file).
            * gm2/link/pim/fail/import.mod: (New file).
            * gm2/link/pim/fail/link-pim-fail.exp: (New file).
            * gm2/link/pim/pass/link-pim-pass.exp: (New file).
            * gm2/link/pimc/pass/README: (New file).
            * gm2/link/pimc/pass/link-pimc-pass.exp: (New file).
            * gm2/link/pimc/pass/testdtoa.mod: (New file).
            * gm2/link/pimc/pass/testerrno.mod: (New file).
            * gm2/link/pimc/pass/testgetopt.mod: (New file).
            * gm2/link/pimc/pass/testldtoa.mod: (New file).
            * gm2/link/pimc/pass/testlibc.mod: (New file).
            * gm2/link/pimc/pass/testlibc2.mod: (New file).
            * gm2/link/pimc/pass/testsckt.mod: (New file).
            * gm2/link/pimc/pass/testselective.mod: (New file).
            * gm2/link/pimc/pass/testsysexceptions.mod: (New file).
            * gm2/link/pimc/pass/testtermios.mod: (New file).
            * gm2/link/pimc/pass/testunixargs.mod: (New file).
            * gm2/link/pimc/pass/testwrapc.mod: (New file).
            * gm2/linking/libarchive/pass/c.c: (New file).
            * gm2/linking/libarchive/pass/c.def: (New file).
            * gm2/linking/libarchive/pass/d.def: (New file).
            * gm2/linking/libarchive/pass/e.def: (New file).
            * gm2/linking/libarchive/pass/linking-libarchive-pass.exp: (New file).
            * gm2/linking/libarchive/pass/m.mod: (New file).
            * gm2/linking/verbose/pass/hello.mod: (New file).
            * gm2/linking/verbose/pass/linking-verbose-pass.exp: (New file).
            * gm2/pim/fail/TestLong3.mod: (New file).
            * gm2/pim/fail/TestLong6.mod: (New file).
            * gm2/pim/fail/a.def: (New file).
            * gm2/pim/fail/assignbounds.mod: (New file).
            * gm2/pim/fail/assignsubrange.mod: (New file).
            * gm2/pim/fail/assignsubrange2.mod: (New file).
            * gm2/pim/fail/b.def: (New file).
            * gm2/pim/fail/bad.def: (New file).
            * gm2/pim/fail/badconst.mod: (New file).
            * gm2/pim/fail/badfunc.mod: (New file).
            * gm2/pim/fail/badparam.mod: (New file).
            * gm2/pim/fail/badparam2.mod: (New file).
            * gm2/pim/fail/badtype.mod: (New file).
            * gm2/pim/fail/badtypes.mod: (New file).
            * gm2/pim/fail/bits.mod: (New file).
            * gm2/pim/fail/bits2.mod: (New file).
            * gm2/pim/fail/bits3.mod: (New file).
            * gm2/pim/fail/bits4.mod: (New file).
            * gm2/pim/fail/cardword.mod: (New file).
            * gm2/pim/fail/constbec.mod: (New file).
            * gm2/pim/fail/constsize3.mod: (New file).
            * gm2/pim/fail/constvar.mod: (New file).
            * gm2/pim/fail/convert5.mod: (New file).
            * gm2/pim/fail/dupconst.mod: (New file).
            * gm2/pim/fail/dupenum.mod: (New file).
            * gm2/pim/fail/dupfield.mod: (New file).
            * gm2/pim/fail/duptype.mod: (New file).
            * gm2/pim/fail/dupvar.mod: (New file).
            * gm2/pim/fail/expression.mod: (New file).
            * gm2/pim/fail/expression2.mod: (New file).
            * gm2/pim/fail/expression3.mod: (New file).
            * gm2/pim/fail/func.mod: (New file).
            * gm2/pim/fail/good.def: (New file).
            * gm2/pim/fail/good.mod: (New file).
            * gm2/pim/fail/import.mod: (New file).
            * gm2/pim/fail/inserttok.def: (New file).
            * gm2/pim/fail/inserttok.mod: (New file).
            * gm2/pim/fail/integer.mod: (New file).
            * gm2/pim/fail/keyword.mod: (New file).
            * gm2/pim/fail/longtypes2.mod: (New file).
            * gm2/pim/fail/longtypes3.mod: (New file).
            * gm2/pim/fail/multisetf.mod: (New file).
            * gm2/pim/fail/nested3.mod: (New file).
            * gm2/pim/fail/opaque.mod: (New file).
            * gm2/pim/fail/opaque2.mod: (New file).
            * gm2/pim/fail/opasfail.mod: (New file).
            * gm2/pim/fail/opcpfail.mod: (New file).
            * gm2/pim/fail/pim-fail.exp: (New file).
            * gm2/pim/fail/procmod.mod: (New file).
            * gm2/pim/fail/rotate.mod: (New file).
            * gm2/pim/fail/rotate2.mod: (New file).
            * gm2/pim/fail/setbec.mod: (New file).
            * gm2/pim/fail/setequiv.mod: (New file).
            * gm2/pim/fail/setsnulf.mod: (New file).
            * gm2/pim/fail/settype.mod: (New file).
            * gm2/pim/fail/shift.mod: (New file).
            * gm2/pim/fail/shift2.mod: (New file).
            * gm2/pim/fail/subrange7.mod: (New file).
            * gm2/pim/fail/unary.mod: (New file).
            * gm2/pim/fail/undeclared.mod: (New file).
            * gm2/pim/fail/val.mod: (New file).
            * gm2/pim/fail/val2.mod: (New file).
            * gm2/pim/fail/wordconst.mod: (New file).
            * gm2/pim/no-options/run/pass/integer.mod: (New file).
            * gm2/pim/no-options/run/pass/pim-no-options-run-pass.exp: (New file).
            * gm2/pim/options/bounds/fail/IdentifierBug.mod: (New file).
            * gm2/pim/options/bounds/fail/pim-options-bounds-fail.exp: (New file).
            * gm2/pim/options/optimize/run/pass/addition.def: (New file).
            * gm2/pim/options/optimize/run/pass/addition.mod: (New file).
            * gm2/pim/options/optimize/run/pass/concat.mod: (New file).
            * gm2/pim/options/optimize/run/pass/pim-options-optimize-run-pass.exp:
            (New file).
            * gm2/pim/options/optimize/run/pass/testadd.mod: (New file).
            * gm2/pim/pass/ABSBug.mod: (New file).
            * gm2/pim/pass/TestLong4.mod: (New file).
            * gm2/pim/pass/TestLong7.mod: (New file).
            * gm2/pim/pass/TestLong8.mod: (New file).
            * gm2/pim/pass/TestLong9.mod: (New file).
            * gm2/pim/pass/another.mod: (New file).
            * gm2/pim/pass/aochar.mod: (New file).
            * gm2/pim/pass/array.mod: (New file).
            * gm2/pim/pass/array2.mod: (New file).
            * gm2/pim/pass/array3.mod: (New file).
            * gm2/pim/pass/array4.mod: (New file).
            * gm2/pim/pass/array5.mod: (New file).
            * gm2/pim/pass/array6.mod: (New file).
            * gm2/pim/pass/arraybool.mod: (New file).
            * gm2/pim/pass/arraychar.mod: (New file).
            * gm2/pim/pass/arraychar2.mod: (New file).
            * gm2/pim/pass/arraychar3.mod: (New file).
            * gm2/pim/pass/arrayconst1.mod: (New file).
            * gm2/pim/pass/arrayconst2.mod: (New file).
            * gm2/pim/pass/arrayconst3.mod: (New file).
            * gm2/pim/pass/arraydecl.mod: (New file).
            * gm2/pim/pass/arraydim.mod: (New file).
            * gm2/pim/pass/arraydyn.mod: (New file).
            * gm2/pim/pass/arrayeqiv.mod: (New file).
            * gm2/pim/pass/arrayfio.mod: (New file).
            * gm2/pim/pass/arrayhuge.mod: (New file).
            * gm2/pim/pass/arrayhuge2.mod: (New file).
            * gm2/pim/pass/arrayindex.mod: (New file).
            * gm2/pim/pass/arrayindirect.mod: (New file).
            * gm2/pim/pass/arrayinproc.mod: (New file).
            * gm2/pim/pass/arrayint.mod: (New file).
            * gm2/pim/pass/arrayofbyte.mod: (New file).
            * gm2/pim/pass/arrayofcard.mod: (New file).
            * gm2/pim/pass/arrayptr.mod: (New file).
            * gm2/pim/pass/arrayptr2.mod: (New file).
            * gm2/pim/pass/arrayptr3.mod: (New file).
            * gm2/pim/pass/arrayptr4.mod: (New file).
            * gm2/pim/pass/arrayptr5.mod: (New file).
            * gm2/pim/pass/arrayptr6.mod: (New file).
            * gm2/pim/pass/arrayrecord.mod: (New file).
            * gm2/pim/pass/arraytiny.c: (New file).
            * gm2/pim/pass/arraytiny.mod: (New file).
            * gm2/pim/pass/arraytype.mod: (New file).
            * gm2/pim/pass/arraytype2.mod: (New file).
            * gm2/pim/pass/arraytype3.mod: (New file).
            * gm2/pim/pass/arraytype4.mod: (New file).
            * gm2/pim/pass/assignment.mod: (New file).
            * gm2/pim/pass/assignment2.mod: (New file).
            * gm2/pim/pass/assignment3.mod: (New file).
            * gm2/pim/pass/assignment4.mod: (New file).
            * gm2/pim/pass/badpointer.mod: (New file).
            * gm2/pim/pass/bits32.def: (New file).
            * gm2/pim/pass/bits32.mod: (New file).
            * gm2/pim/pass/bits32i.mod: (New file).
            * gm2/pim/pass/bitset.mod: (New file).
            * gm2/pim/pass/bitset2.mod: (New file).
            * gm2/pim/pass/bitset3.mod: (New file).
            * gm2/pim/pass/bitset4.mod: (New file).
            * gm2/pim/pass/bitset5.mod: (New file).
            * gm2/pim/pass/bitsetfunc.mod: (New file).
            * gm2/pim/pass/block.mod: (New file).
            * gm2/pim/pass/blockindirect.mod: (New file).
            * gm2/pim/pass/builtin.def: (New file).
            * gm2/pim/pass/builtin.mod: (New file).
            * gm2/pim/pass/builtin2.mod: (New file).
            * gm2/pim/pass/builtinconst.mod: (New file).
            * gm2/pim/pass/bytearray.mod: (New file).
            * gm2/pim/pass/card.mod: (New file).
            * gm2/pim/pass/card2.mod: (New file).
            * gm2/pim/pass/char.mod: (New file).
            * gm2/pim/pass/char2.mod: (New file).
            * gm2/pim/pass/charproc.mod: (New file).
            * gm2/pim/pass/charset.mod: (New file).
            * gm2/pim/pass/charset2.mod: (New file).
            * gm2/pim/pass/charset3.mod: (New file).
            * gm2/pim/pass/checkparm.def: (New file).
            * gm2/pim/pass/checkparm.mod: (New file).
            * gm2/pim/pass/colour.mod: (New file).
            * gm2/pim/pass/comment1.mod: (New file).
            * gm2/pim/pass/complexarray.mod: (New file).
            * gm2/pim/pass/complextypes.mod: (New file).
            * gm2/pim/pass/constcast.mod: (New file).
            * gm2/pim/pass/constmax.mod: (New file).
            * gm2/pim/pass/constset.mod: (New file).
            * gm2/pim/pass/constset2.mod: (New file).
            * gm2/pim/pass/constset3.mod: (New file).
            * gm2/pim/pass/constsize.mod: (New file).
            * gm2/pim/pass/constsize2.mod: (New file).
            * gm2/pim/pass/convert.mod: (New file).
            * gm2/pim/pass/convert2.mod: (New file).
            * gm2/pim/pass/convert3.mod: (New file).
            * gm2/pim/pass/convert4.mod: (New file).
            * gm2/pim/pass/danglingelse.mod: (New file).
            * gm2/pim/pass/debug: (New file).
            * gm2/pim/pass/defset.def: (New file).
            * gm2/pim/pass/defset.mod: (New file).
            * gm2/pim/pass/deftype.mod: (New file).
            * gm2/pim/pass/divaddr.mod: (New file).
            * gm2/pim/pass/enum.mod: (New file).
            * gm2/pim/pass/enum2.mod: (New file).
            * gm2/pim/pass/enum3.mod: (New file).
            * gm2/pim/pass/file.mod: (New file).
            * gm2/pim/pass/filesystem.mod: (New file).
            * gm2/pim/pass/foo.mod: (New file).
            * gm2/pim/pass/foo2.mod: (New file).
            * gm2/pim/pass/for1.mod: (New file).
            * gm2/pim/pass/function.mod: (New file).
            * gm2/pim/pass/function2.mod: (New file).
            * gm2/pim/pass/gcd.def: (New file).
            * gm2/pim/pass/gcd.mod: (New file).
            * gm2/pim/pass/getconst.mod: (New file).
            * gm2/pim/pass/hello.mod: (New file).
            * gm2/pim/pass/impa.mod: (New file).
            * gm2/pim/pass/impb.def: (New file).
            * gm2/pim/pass/impb.mod: (New file).
            * gm2/pim/pass/impc.def: (New file).
            * gm2/pim/pass/impc.mod: (New file).
            * gm2/pim/pass/impd.mod: (New file).
            * gm2/pim/pass/impe.mod: (New file).
            * gm2/pim/pass/impf.mod: (New file).
            * gm2/pim/pass/impg.mod: (New file).
            * gm2/pim/pass/imph.mod: (New file).
            * gm2/pim/pass/impi.mod: (New file).
            * gm2/pim/pass/impj.mod: (New file).
            * gm2/pim/pass/impk.mod: (New file).
            * gm2/pim/pass/impl.mod: (New file).
            * gm2/pim/pass/impm.mod: (New file).
            * gm2/pim/pass/impn.def: (New file).
            * gm2/pim/pass/impn.mod: (New file).
            * gm2/pim/pass/impo.mod: (New file).
            * gm2/pim/pass/imports.mod: (New file).
            * gm2/pim/pass/impp.def: (New file).
            * gm2/pim/pass/impp.mod: (New file).
            * gm2/pim/pass/impq.def: (New file).
            * gm2/pim/pass/impq.mod: (New file).
            * gm2/pim/pass/incompsets.mod: (New file).
            * gm2/pim/pass/index.mod: (New file).
            * gm2/pim/pass/index2.mod: (New file).
            * gm2/pim/pass/indirect.mod: (New file).
            * gm2/pim/pass/inner.mod: (New file).
            * gm2/pim/pass/inner2.mod: (New file).
            * gm2/pim/pass/int.mod: (New file).
            * gm2/pim/pass/largeset.mod: (New file).
            * gm2/pim/pass/largeset1.mod: (New file).
            * gm2/pim/pass/largeset2.mod: (New file).
            * gm2/pim/pass/largeset3.mod: (New file).
            * gm2/pim/pass/largeset4.mod: (New file).
            * gm2/pim/pass/largeset5.mod: (New file).
            * gm2/pim/pass/largeset6.mod: (New file).
            * gm2/pim/pass/largeset7.mod: (New file).
            * gm2/pim/pass/localmod.mod: (New file).
            * gm2/pim/pass/localproc.mod: (New file).
            * gm2/pim/pass/localvar.mod: (New file).
            * gm2/pim/pass/log: (New file).
            * gm2/pim/pass/longint.mod: (New file).
            * gm2/pim/pass/longint2.mod: (New file).
            * gm2/pim/pass/longmm.mod: (New file).
            * gm2/pim/pass/longreal.mod: (New file).
            * gm2/pim/pass/longtypes.mod: (New file).
            * gm2/pim/pass/longtypes3.mod: (New file).
            * gm2/pim/pass/longtypes4.mod: (New file).
            * gm2/pim/pass/longtypes5.mod: (New file).
            * gm2/pim/pass/longtypes6.mod: (New file).
            * gm2/pim/pass/loopexit.mod: (New file).
            * gm2/pim/pass/math.mod: (New file).
            * gm2/pim/pass/maxlongint.mod: (New file).
            * gm2/pim/pass/maxreal.mod: (New file).
            * gm2/pim/pass/maxreal2.mod: (New file).
            * gm2/pim/pass/minmaxconst.mod: (New file).
            * gm2/pim/pass/minmaxconst2.mod: (New file).
            * gm2/pim/pass/modaddr.mod: (New file).
            * gm2/pim/pass/multaddr.mod: (New file).
            * gm2/pim/pass/multiple.mod: (New file).
            * gm2/pim/pass/multiset.mod: (New file).
            * gm2/pim/pass/multtypes.mod: (New file).
            * gm2/pim/pass/mydef.def: (New file).
            * gm2/pim/pass/negatives.def: (New file).
            * gm2/pim/pass/negatives.mod: (New file).
            * gm2/pim/pass/nested.mod: (New file).
            * gm2/pim/pass/nested2.mod: (New file).
            * gm2/pim/pass/nested3.mod: (New file).
            * gm2/pim/pass/nested4.mod: (New file).
            * gm2/pim/pass/nested5.mod: (New file).
            * gm2/pim/pass/nested6.mod: (New file).
            * gm2/pim/pass/nested7.mod: (New file).
            * gm2/pim/pass/nestedfor.mod: (New file).
            * gm2/pim/pass/nestedif.mod: (New file).
            * gm2/pim/pass/nestedset.mod: (New file).
            * gm2/pim/pass/onezero.mod: (New file).
            * gm2/pim/pass/opaque.def: (New file).
            * gm2/pim/pass/opaque.mod: (New file).
            * gm2/pim/pass/opaque2.mod: (New file).
            * gm2/pim/pass/opaquetype.def: (New file).
            * gm2/pim/pass/opaquetype.mod: (New file).
            * gm2/pim/pass/param.mod: (New file).
            * gm2/pim/pass/param2.mod: (New file).
            * gm2/pim/pass/param3.mod: (New file).
            * gm2/pim/pass/parambool.mod: (New file).
            * gm2/pim/pass/paramreal.mod: (New file).
            * gm2/pim/pass/pim-pass.exp: (New file).
            * gm2/pim/pass/pimimp.mod: (New file).
            * gm2/pim/pass/pointer.mod: (New file).
            * gm2/pim/pass/procadr.mod: (New file).
            * gm2/pim/pass/procconv.mod: (New file).
            * gm2/pim/pass/procconv2.mod: (New file).
            * gm2/pim/pass/procedure1.mod: (New file).
            * gm2/pim/pass/procedure2.mod: (New file).
            * gm2/pim/pass/procindirect.mod: (New file).
            * gm2/pim/pass/procmod.mod: (New file).
            * gm2/pim/pass/procmod2.mod: (New file).
            * gm2/pim/pass/procmod3.mod: (New file).
            * gm2/pim/pass/procmod31.mod: (New file).
            * gm2/pim/pass/procmod4.mod: (New file).
            * gm2/pim/pass/procmod5.mod: (New file).
            * gm2/pim/pass/procmod6.def: (New file).
            * gm2/pim/pass/procmod6.mod: (New file).
            * gm2/pim/pass/procmod7.mod: (New file).
            * gm2/pim/pass/procmod8.mod: (New file).
            * gm2/pim/pass/procmod9.mod: (New file).
            * gm2/pim/pass/proctype.mod: (New file).
            * gm2/pim/pass/proctype2.def: (New file).
            * gm2/pim/pass/proctype3.mod: (New file).
            * gm2/pim/pass/proctype4.mod: (New file).
            * gm2/pim/pass/program.mod: (New file).
            * gm2/pim/pass/program2.mod: (New file).
            * gm2/pim/pass/ptrarray.mod: (New file).
            * gm2/pim/pass/ptrarray2.mod: (New file).
            * gm2/pim/pass/ptrarray3.mod: (New file).
            * gm2/pim/pass/ptrcard.mod: (New file).
            * gm2/pim/pass/quads.def: (New file).
            * gm2/pim/pass/quads.mod: (New file).
            * gm2/pim/pass/real.mod: (New file).
            * gm2/pim/pass/real2.mod: (New file).
            * gm2/pim/pass/real3.mod: (New file).
            * gm2/pim/pass/realconst.mod: (New file).
            * gm2/pim/pass/realneg.mod: (New file).
            * gm2/pim/pass/realneg2.mod: (New file).
            * gm2/pim/pass/realone.mod: (New file).
            * gm2/pim/pass/realsize.mod: (New file).
            * gm2/pim/pass/record1.mod: (New file).
            * gm2/pim/pass/record10.mod: (New file).
            * gm2/pim/pass/record11.mod: (New file).
            * gm2/pim/pass/record12.def: (New file).
            * gm2/pim/pass/record13.def: (New file).
            * gm2/pim/pass/record14.def: (New file).
            * gm2/pim/pass/record15.def: (New file).
            * gm2/pim/pass/record16.def: (New file).
            * gm2/pim/pass/record2.mod: (New file).
            * gm2/pim/pass/record3.mod: (New file).
            * gm2/pim/pass/record4.mod: (New file).
            * gm2/pim/pass/record5.mod: (New file).
            * gm2/pim/pass/record6.mod: (New file).
            * gm2/pim/pass/record7.mod: (New file).
            * gm2/pim/pass/record8.mod: (New file).
            * gm2/pim/pass/record9.mod: (New file).
            * gm2/pim/pass/recordarray.c: (New file).
            * gm2/pim/pass/recordarray.mod: (New file).
            * gm2/pim/pass/recordarray2.mod: (New file).
            * gm2/pim/pass/redef.mod: (New file).
            * gm2/pim/pass/set10.mod: (New file).
            * gm2/pim/pass/set11.def: (New file).
            * gm2/pim/pass/set11.mod: (New file).
            * gm2/pim/pass/set12.mod: (New file).
            * gm2/pim/pass/set4.mod: (New file).
            * gm2/pim/pass/set5.mod: (New file).
            * gm2/pim/pass/set6.mod: (New file).
            * gm2/pim/pass/set7.mod: (New file).
            * gm2/pim/pass/set8.mod: (New file).
            * gm2/pim/pass/set9.mod: (New file).
            * gm2/pim/pass/setchar.mod: (New file).
            * gm2/pim/pass/setchar10.mod: (New file).
            * gm2/pim/pass/setchar11.mod: (New file).
            * gm2/pim/pass/setchar3.mod: (New file).
            * gm2/pim/pass/setchar4.mod: (New file).
            * gm2/pim/pass/setchar5.mod: (New file).
            * gm2/pim/pass/setchar7.mod: (New file).
            * gm2/pim/pass/setchar8.mod: (New file).
            * gm2/pim/pass/setchar9.mod: (New file).
            * gm2/pim/pass/setconst.mod: (New file).
            * gm2/pim/pass/setconst2.mod: (New file).
            * gm2/pim/pass/setconst3.mod: (New file).
            * gm2/pim/pass/setenum.mod: (New file).
            * gm2/pim/pass/setimp.mod: (New file).
            * gm2/pim/pass/setimp2.mod: (New file).
            * gm2/pim/pass/setofchar.mod: (New file).
            * gm2/pim/pass/setoverflow.mod: (New file).
            * gm2/pim/pass/sets.mod: (New file).
            * gm2/pim/pass/sets2.mod: (New file).
            * gm2/pim/pass/sets3.mod: (New file).
            * gm2/pim/pass/sets4.mod: (New file).
            * gm2/pim/pass/sets5.mod: (New file).
            * gm2/pim/pass/sets6.mod: (New file).
            * gm2/pim/pass/setsnul.mod: (New file).
            * gm2/pim/pass/settest1.mod: (New file).
            * gm2/pim/pass/settest2.mod: (New file).
            * gm2/pim/pass/settest3.mod: (New file).
            * gm2/pim/pass/simpleproc.mod: (New file).
            * gm2/pim/pass/sizes.mod: (New file).
            * gm2/pim/pass/sizetype.mod: (New file).
            * gm2/pim/pass/smallset1.mod: (New file).
            * gm2/pim/pass/smallset2.mod: (New file).
            * gm2/pim/pass/smallset3.mod: (New file).
            * gm2/pim/pass/smallset4.mod: (New file).
            * gm2/pim/pass/smallset5.mod: (New file).
            * gm2/pim/pass/smallset6.mod: (New file).
            * gm2/pim/pass/smallset7.mod: (New file).
            * gm2/pim/pass/stabs.mod: (New file).
            * gm2/pim/pass/stdio.mod: (New file).
            * gm2/pim/pass/str1.mod: (New file).
            * gm2/pim/pass/str2.mod: (New file).
            * gm2/pim/pass/str3.mod: (New file).
            * gm2/pim/pass/str4.mod: (New file).
            * gm2/pim/pass/str5.mod: (New file).
            * gm2/pim/pass/stressset.mod: (New file).
            * gm2/pim/pass/stringassign.mod: (New file).
            * gm2/pim/pass/stringopaq.mod: (New file).
            * gm2/pim/pass/strings.mod: (New file).
            * gm2/pim/pass/strparam.def: (New file).
            * gm2/pim/pass/strparam.mod: (New file).
            * gm2/pim/pass/subrange.mod: (New file).
            * gm2/pim/pass/subrange10.mod: (New file).
            * gm2/pim/pass/subrange11.mod: (New file).
            * gm2/pim/pass/subrange12.mod: (New file).
            * gm2/pim/pass/subrange14.mod: (New file).
            * gm2/pim/pass/subrange15.mod: (New file).
            * gm2/pim/pass/subrange16.mod: (New file).
            * gm2/pim/pass/subrange17.mod: (New file).
            * gm2/pim/pass/subrange2.mod: (New file).
            * gm2/pim/pass/subrange3.mod: (New file).
            * gm2/pim/pass/subrange4.mod: (New file).
            * gm2/pim/pass/subrange5.mod: (New file).
            * gm2/pim/pass/subrange6.mod: (New file).
            * gm2/pim/pass/subrange7.mod: (New file).
            * gm2/pim/pass/subrange8.mod: (New file).
            * gm2/pim/pass/subrange9.mod: (New file).
            * gm2/pim/pass/test2recursive.mod: (New file).
            * gm2/pim/pass/testabs.mod: (New file).
            * gm2/pim/pass/testbuiltin.mod: (New file).
            * gm2/pim/pass/testbuiltin2.mod: (New file).
            * gm2/pim/pass/testbuiltstr.mod: (New file).
            * gm2/pim/pass/testcap.mod: (New file).
            * gm2/pim/pass/testcap2.mod: (New file).
            * gm2/pim/pass/testcard.mod: (New file).
            * gm2/pim/pass/testcard2.mod: (New file).
            * gm2/pim/pass/testcard3.mod: (New file).
            * gm2/pim/pass/testcard4.mod: (New file).
            * gm2/pim/pass/testcard5.mod: (New file).
            * gm2/pim/pass/testcase.mod: (New file).
            * gm2/pim/pass/testcase2.mod: (New file).
            * gm2/pim/pass/testcase3.mod: (New file).
            * gm2/pim/pass/testcase4.mod: (New file).
            * gm2/pim/pass/testchar.mod: (New file).
            * gm2/pim/pass/testfloat.mod: (New file).
            * gm2/pim/pass/testfloat2.mod: (New file).
            * gm2/pim/pass/testfloat3.mod: (New file).
            * gm2/pim/pass/testfloat4.mod: (New file).
            * gm2/pim/pass/testfor.mod: (New file).
            * gm2/pim/pass/testimpvar.mod: (New file).
            * gm2/pim/pass/testlong3.mod: (New file).
            * gm2/pim/pass/testmod.mod: (New file).
            * gm2/pim/pass/testmod2.mod: (New file).
            * gm2/pim/pass/testodd.mod: (New file).
            * gm2/pim/pass/testopaque.mod: (New file).
            * gm2/pim/pass/testopaque2.mod: (New file).
            * gm2/pim/pass/testopaque3.mod: (New file).
            * gm2/pim/pass/testord.mod: (New file).
            * gm2/pim/pass/testparam.mod: (New file).
            * gm2/pim/pass/testparam2.mod: (New file).
            * gm2/pim/pass/testparam3.mod: (New file).
            * gm2/pim/pass/testpimsize.mod: (New file).
            * gm2/pim/pass/testrecursive.def: (New file).
            * gm2/pim/pass/testrecursive.mod: (New file).
            * gm2/pim/pass/testreturnstr.mod: (New file).
            * gm2/pim/pass/testset.mod: (New file).
            * gm2/pim/pass/testshort.mod: (New file).
            * gm2/pim/pass/testsinf.mod: (New file).
            * gm2/pim/pass/testsinl.mod: (New file).
            * gm2/pim/pass/testsize.mod: (New file).
            * gm2/pim/pass/testvar.mod: (New file).
            * gm2/pim/pass/testvarin.mod: (New file).
            * gm2/pim/pass/timeio.mod: (New file).
            * gm2/pim/pass/timeio2.mod: (New file).
            * gm2/pim/pass/timeio3.mod: (New file).
            * gm2/pim/pass/timeio4.mod: (New file).
            * gm2/pim/pass/timeio5.mod: (New file).
            * gm2/pim/pass/timeio6.mod: (New file).
            * gm2/pim/pass/timeio7.mod: (New file).
            * gm2/pim/pass/timeio8.mod: (New file).
            * gm2/pim/pass/timeio9.mod: (New file).
            * gm2/pim/pass/tinyalloc.mod: (New file).
            * gm2/pim/pass/tinyarray.mod: (New file).
            * gm2/pim/pass/tinyarray2.mod: (New file).
            * gm2/pim/pass/tinyarray3.mod: (New file).
            * gm2/pim/pass/tinyarray4.mod: (New file).
            * gm2/pim/pass/tinyarray5.mod: (New file).
            * gm2/pim/pass/tinyarray6.mod: (New file).
            * gm2/pim/pass/tinyassign.def: (New file).
            * gm2/pim/pass/tinyassign.mod: (New file).
            * gm2/pim/pass/tinyassign2.mod: (New file).
            * gm2/pim/pass/tinyassign3.mod: (New file).
            * gm2/pim/pass/tinyassign4.mod: (New file).
            * gm2/pim/pass/tinyassign5.mod: (New file).
            * gm2/pim/pass/tinybitset.mod: (New file).
            * gm2/pim/pass/tinyelse.mod: (New file).
            * gm2/pim/pass/tinyenum.mod: (New file).
            * gm2/pim/pass/tinyfor.mod: (New file).
            * gm2/pim/pass/tinyfor2.mod: (New file).
            * gm2/pim/pass/tinyfor3.mod: (New file).
            * gm2/pim/pass/tinyhalt.mod: (New file).
            * gm2/pim/pass/tinyhello.mod: (New file).
            * gm2/pim/pass/tinyif.mod: (New file).
            * gm2/pim/pass/tinyif2.mod: (New file).
            * gm2/pim/pass/tinyif3.mod: (New file).
            * gm2/pim/pass/tinyif4.mod: (New file).
            * gm2/pim/pass/tinyif5.mod: (New file).
            * gm2/pim/pass/tinyif6.mod: (New file).
            * gm2/pim/pass/tinyif7.mod: (New file).
            * gm2/pim/pass/tinyif8.mod: (New file).
            * gm2/pim/pass/tinyimp.mod: (New file).
            * gm2/pim/pass/tinylit.mod: (New file).
            * gm2/pim/pass/tinylit2.mod: (New file).
            * gm2/pim/pass/tinymax.mod: (New file).
            * gm2/pim/pass/tinymod.mod: (New file).
            * gm2/pim/pass/tinynode.mod: (New file).
            * gm2/pim/pass/tinyparam.mod: (New file).
            * gm2/pim/pass/tinyparam2.mod: (New file).
            * gm2/pim/pass/tinyplus.mod: (New file).
            * gm2/pim/pass/tinyproc.mod: (New file).
            * gm2/pim/pass/tinyproc2.mod: (New file).
            * gm2/pim/pass/tinyproc3.mod: (New file).
            * gm2/pim/pass/tinyproc4.mod: (New file).
            * gm2/pim/pass/tinyproc5.mod: (New file).
            * gm2/pim/pass/tinyproc6.mod: (New file).
            * gm2/pim/pass/tinyptr.mod: (New file).
            * gm2/pim/pass/tinyreal.mod: (New file).
            * gm2/pim/pass/tinyrecord.mod: (New file).
            * gm2/pim/pass/tinyrepeat.mod: (New file).
            * gm2/pim/pass/tinyset6.mod: (New file).
            * gm2/pim/pass/tinyset7.mod: (New file).
            * gm2/pim/pass/tinystate.mod: (New file).
            * gm2/pim/pass/tinysub.def: (New file).
            * gm2/pim/pass/tinytest.mod: (New file).
            * gm2/pim/pass/tinytrue.mod: (New file).
            * gm2/pim/pass/tinyvar.mod: (New file).
            * gm2/pim/pass/tinyvar2.mod: (New file).
            * gm2/pim/pass/tinyvar3.mod: (New file).
            * gm2/pim/pass/tinyvar4.mod: (New file).
            * gm2/pim/pass/tinyvar5.mod: (New file).
            * gm2/pim/pass/tinyvarient.mod: (New file).
            * gm2/pim/pass/tinyvarient2.mod: (New file).
            * gm2/pim/pass/tinyvarient3.def: (New file).
            * gm2/pim/pass/tinyvarient3.mod: (New file).
            * gm2/pim/pass/tinyvarient4.mod: (New file).
            * gm2/pim/pass/tinyvarient5.mod: (New file).
            * gm2/pim/pass/tinyvarient6.mod: (New file).
            * gm2/pim/pass/tinywhile.mod: (New file).
            * gm2/pim/pass/tinywith.mod: (New file).
            * gm2/pim/pass/tinywith2.mod: (New file).
            * gm2/pim/pass/tinywith3.mod: (New file).
            * gm2/pim/pass/tinywith4.mod: (New file).
            * gm2/pim/pass/tinywith5.mod: (New file).
            * gm2/pim/pass/tinywith6.mod: (New file).
            * gm2/pim/pass/trunc.mod: (New file).
            * gm2/pim/pass/try: (New file).
            * gm2/pim/pass/typeequiv.mod: (New file).
            * gm2/pim/pass/typeequiv2.mod: (New file).
            * gm2/pim/pass/typeequiv3.mod: (New file).
            * gm2/pim/pass/typeonly.def: (New file).
            * gm2/pim/pass/typeonly.mod: (New file).
            * gm2/pim/pass/typesize.mod: (New file).
            * gm2/pim/pass/unbounded.mod: (New file).
            * gm2/pim/pass/unbounded2.mod: (New file).
            * gm2/pim/pass/unbounded3.mod: (New file).
            * gm2/pim/pass/v.def: (New file).
            * gm2/pim/pass/varaddress.mod: (New file).
            * gm2/pim/pass/varaddress2.mod: (New file).
            * gm2/pim/pass/varaddress3.mod: (New file).
            * gm2/pim/pass/varcard.mod: (New file).
            * gm2/pim/pass/variant9.mod: (New file).
            * gm2/pim/pass/varient.mod: (New file).
            * gm2/pim/pass/varient2.mod: (New file).
            * gm2/pim/pass/varient3.mod: (New file).
            * gm2/pim/pass/varient4.mod: (New file).
            * gm2/pim/pass/varient5.mod: (New file).
            * gm2/pim/pass/varient6.mod: (New file).
            * gm2/pim/pass/varient7.mod: (New file).
            * gm2/pim/pass/varient8.mod: (New file).
            * gm2/pim/pass/varin.def: (New file).
            * gm2/pim/pass/varin.mod: (New file).
            * gm2/pim/pass/varint.mod: (New file).
            * gm2/pim/pass/wincat.mod: (New file).
            * gm2/pim/pass/with.mod: (New file).
            * gm2/pim/pass/wordconst.mod: (New file).
            * gm2/pim/run/fail/case.mod: (New file).
            * gm2/pim/run/fail/nil.mod: (New file).
            * gm2/pim/run/fail/pim-run-fail.exp: (New file).
            * gm2/pim/run/pass/Countdown.mod: (New file).
            * gm2/pim/run/pass/EndFor.def: (New file).
            * gm2/pim/run/pass/EndFor.mod: (New file).
            * gm2/pim/run/pass/EnumTest.mod: (New file).
            * gm2/pim/run/pass/For1.mod: (New file).
            * gm2/pim/run/pass/For10.mod: (New file).
            * gm2/pim/run/pass/For11.mod: (New file).
            * gm2/pim/run/pass/For12.mod: (New file).
            * gm2/pim/run/pass/For2.mod: (New file).
            * gm2/pim/run/pass/For3.mod: (New file).
            * gm2/pim/run/pass/For4.mod: (New file).
            * gm2/pim/run/pass/For5.mod: (New file).
            * gm2/pim/run/pass/For6.mod: (New file).
            * gm2/pim/run/pass/For7.mod: (New file).
            * gm2/pim/run/pass/For8.mod: (New file).
            * gm2/pim/run/pass/For9.mod: (New file).
            * gm2/pim/run/pass/FpuIOBug.mod: (New file).
            * gm2/pim/run/pass/MaxReal.mod: (New file).
            * gm2/pim/run/pass/MaxReal2.mod: (New file).
            * gm2/pim/run/pass/TestLong.mod: (New file).
            * gm2/pim/run/pass/TestLong2.mod: (New file).
            * gm2/pim/run/pass/TestLong4.mod: (New file).
            * gm2/pim/run/pass/TestLong5.mod: (New file).
            * gm2/pim/run/pass/addrarray.mod: (New file).
            * gm2/pim/run/pass/arraychar.mod: (New file).
            * gm2/pim/run/pass/arraychar2.mod: (New file).
            * gm2/pim/run/pass/arrayrecord.mod: (New file).
            * gm2/pim/run/pass/bitsettest.def: (New file).
            * gm2/pim/run/pass/bitsettest.mod: (New file).
            * gm2/pim/run/pass/bytearray.mod: (New file).
            * gm2/pim/run/pass/constdynstr.mod: (New file).
            * gm2/pim/run/pass/conststr.mod: (New file).
            * gm2/pim/run/pass/conststr2.mod: (New file).
            * gm2/pim/run/pass/cycles.mod: (New file).
            * gm2/pim/run/pass/dec.mod: (New file).
            * gm2/pim/run/pass/enums.mod: (New file).
            * gm2/pim/run/pass/incsubrange.def: (New file).
            * gm2/pim/run/pass/incsubrange.mod: (New file).
            * gm2/pim/run/pass/index3.mod: (New file).
            * gm2/pim/run/pass/int16.mod: (New file).
            * gm2/pim/run/pass/int32.mod: (New file).
            * gm2/pim/run/pass/int8.mod: (New file).
            * gm2/pim/run/pass/line.mod: (New file).
            * gm2/pim/run/pass/long.mod: (New file).
            * gm2/pim/run/pass/longfor.mod: (New file).
            * gm2/pim/run/pass/longtypes10.mod: (New file).
            * gm2/pim/run/pass/longtypes7.mod: (New file).
            * gm2/pim/run/pass/longtypes8.mod: (New file).
            * gm2/pim/run/pass/longtypes9.mod: (New file).
            * gm2/pim/run/pass/math.mod: (New file).
            * gm2/pim/run/pass/math2.mod: (New file).
            * gm2/pim/run/pass/mathconst.mod: (New file).
            * gm2/pim/run/pass/minhello.mod: (New file).
            * gm2/pim/run/pass/minimal.mod: (New file).
            * gm2/pim/run/pass/nestedproc.mod: (New file).
            * gm2/pim/run/pass/nestedproc2.mod: (New file).
            * gm2/pim/run/pass/nestedproc3.mod: (New file).
            * gm2/pim/run/pass/nestedproc4.mod: (New file).
            * gm2/pim/run/pass/nestedproc5.mod: (New file).
            * gm2/pim/run/pass/nestedproc6.mod: (New file).
            * gm2/pim/run/pass/nestedproc7.mod: (New file).
            * gm2/pim/run/pass/nestedwith.mod: (New file).
            * gm2/pim/run/pass/nestedwith2.mod: (New file).
            * gm2/pim/run/pass/nestedwith3.mod: (New file).
            * gm2/pim/run/pass/nothing.mod: (New file).
            * gm2/pim/run/pass/pim-run-pass.exp: (New file).
            * gm2/pim/run/pass/prog31ex.mod: (New file).
            * gm2/pim/run/pass/rts.mod: (New file).
            * gm2/pim/run/pass/setcritical.mod: (New file).
            * gm2/pim/run/pass/setequiv.mod: (New file).
            * gm2/pim/run/pass/str6.mod: (New file).
            * gm2/pim/run/pass/stringaddr.mod: (New file).
            * gm2/pim/run/pass/stringaddr2.def: (New file).
            * gm2/pim/run/pass/stringaddr2.mod: (New file).
            * gm2/pim/run/pass/stripped.mod: (New file).
            * gm2/pim/run/pass/sys.def: (New file).
            * gm2/pim/run/pass/sys.mod: (New file).
            * gm2/pim/run/pass/t.def: (New file).
            * gm2/pim/run/pass/testaddr.mod: (New file).
            * gm2/pim/run/pass/testaddr2.mod: (New file).
            * gm2/pim/run/pass/testaddr3.mod: (New file).
            * gm2/pim/run/pass/testarray.mod: (New file).
            * gm2/pim/run/pass/testarray2.mod: (New file).
            * gm2/pim/run/pass/testarray3.mod: (New file).
            * gm2/pim/run/pass/testarray4.mod: (New file).
            * gm2/pim/run/pass/testarray5.mod: (New file).
            * gm2/pim/run/pass/testavail.mod: (New file).
            * gm2/pim/run/pass/testdiv.mod: (New file).
            * gm2/pim/run/pass/testfpufunc.mod: (New file).
            * gm2/pim/run/pass/testfpufunc2.mod: (New file).
            * gm2/pim/run/pass/testlarge.mod: (New file).
            * gm2/pim/run/pass/testlarge2.mod: (New file).
            * gm2/pim/run/pass/testnextproc.mod: (New file).
            * gm2/pim/run/pass/testparam.mod: (New file).
            * gm2/pim/run/pass/testreturnstr.mod: (New file).
            * gm2/pim/run/pass/testreturnstr2.mod: (New file).
            * gm2/pim/run/pass/testreturnstr3.def: (New file).
            * gm2/pim/run/pass/testreturnstr3.mod: (New file).
            * gm2/pim/run/pass/testsize.mod: (New file).
            * gm2/pim/run/pass/testsize2.mod: (New file).
            * gm2/pim/run/pass/testsize3.mod: (New file).
            * gm2/pim/run/pass/testsize4.mod: (New file).
            * gm2/pim/run/pass/testtbitsize.mod: (New file).
            * gm2/pim/run/pass/tinywith.mod: (New file).
            * gm2/pim/run/pass/unbounded.mod: (New file).
            * gm2/pim/run/pass/varaddress3.mod: (New file).
            * gm2/pim/run/pass/varparam2.mod: (New file).
            * gm2/pim/run/pass/varparam3.mod: (New file).
            * gm2/pim/run/pass/varparm.mod: (New file).
            * gm2/pim/run/pass/wr.mod: (New file).
            * gm2/pimcoroutines/pass/imports.mod: (New file).
            * gm2/pimcoroutines/pass/imports2.mod: (New file).
            * gm2/pimcoroutines/pass/pimcoroutines-pass.exp: (New file).
            * gm2/pimcoroutines/run/pass/pimcoroutines-run-pass.exp: (New file).
            * gm2/pimcoroutines/run/pass/testtime.mod: (New file).
            * gm2/pimlib/base/run/pass/FIO.mod: (New file).
            * gm2/pimlib/base/run/pass/StrLib.mod: (New file).
            * gm2/pimlib/base/run/pass/pimlib-base-run-pass.exp: (New file).
            * gm2/pimlib/base/run/pass/testconvert.mod: (New file).
            * gm2/pimlib/coroutines/pass/pimlib-coroutines-pass.exp: (New file).
            * gm2/pimlib/coroutines/pass/priority.mod: (New file).
            * gm2/pimlib/coroutines/pass/priority2.mod: (New file).
            * gm2/pimlib/coroutines/pass/priority3.def: (New file).
            * gm2/pimlib/coroutines/pass/priority3.mod: (New file).
            * gm2/pimlib/logitech/pass/LogitechLong.mod: (New file).
            * gm2/pimlib/logitech/pass/hello.mod: (New file).
            * gm2/pimlib/logitech/pass/pimlib-logitech-pass.exp: (New file).
            * gm2/pimlib/logitech/run/pass/bbits.mod: (New file).
            * gm2/pimlib/logitech/run/pass/hello.mod: (New file).
            * gm2/pimlib/logitech/run/pass/helloinout.mod: (New file).
            * gm2/pimlib/logitech/run/pass/intb.mod: (New file).
            * gm2/pimlib/logitech/run/pass/pimlib-logitech-run-pass.exp: (New file).
            * gm2/pimlib/logitech/run/pass/realconv.mod: (New file).
            * gm2/pimlib/logitech/run/pass/realinput.mod: (New file).
            * gm2/pimlib/logitech/run/pass/realinput2.mod: (New file).
            * gm2/pimlib/logitech/run/pass/realinput3.mod: (New file).
            * gm2/pimlib/logitech/run/pass/rename.mod: (New file).
            * gm2/pimlib/logitech/run/pass/timedate.mod: (New file).
            * gm2/pimlib/logitech/run/pass/writeoct.mod: (New file).
            * gm2/pimlib/pass/pimlib-pass.exp: (New file).
            * gm2/pimlib/run/pass/format.mod: (New file).
            * gm2/pimlib/run/pass/limittests.c: (New file).
            * gm2/pimlib/run/pass/limittests.mod: (New file).
            * gm2/pimlib/run/pass/longreal.mod: (New file).
            * gm2/pimlib/run/pass/pimlib-run-pass.exp: (New file).
            * gm2/pimlib/run/pass/test.c: (New file).
            * gm2/pimlib/run/pass/testreal.mod: (New file).
            * gm2/pimlib/run/pass/testreal2.mod: (New file).
            * gm2/pimlib/run/pass/testreal4.mod: (New file).
            * gm2/projects/README: (New file).
            * gm2/projects/iso/run/pass/halma/halma.mod: (New file).
            * gm2/projects/iso/run/pass/halma/projects-iso-run-pass-halma.exp:
            (New file).
            * gm2/projects/iso/run/pass/hello/hello.mod: (New file).
            * gm2/projects/iso/run/pass/hello/projects-iso-run-pass-hello.exp:
            (New file).
            * gm2/projects/log/run/pass/hello/hello.mod: (New file).
            * gm2/projects/log/run/pass/hello/projects-log-run-pass-hello.exp:
            (New file).
            * gm2/projects/pim/run/pass/hello/hello.mod: (New file).
            * gm2/projects/pim/run/pass/hello/projects-pim-run-pass-hello.exp:
            (New file).
            * gm2/projects/pim/run/pass/random/AdvMap.def: (New file).
            * gm2/projects/pim/run/pass/random/AdvMap.mod: (New file).
            * gm2/projects/pim/run/pass/random/BoxMap.def: (New file).
            * gm2/projects/pim/run/pass/random/BoxMap.mod: (New file).
            * gm2/projects/pim/run/pass/random/Chance.def: (New file).
            * gm2/projects/pim/run/pass/random/Chance.mod: (New file).
            * gm2/projects/pim/run/pass/random/Geometry.def: (New file).
            * gm2/projects/pim/run/pass/random/Geometry.mod: (New file).
            * gm2/projects/pim/run/pass/random/MakeBoxes.def: (New file).
            * gm2/projects/pim/run/pass/random/MakeBoxes.mod: (New file).
            * gm2/projects/pim/run/pass/random/Map.mod: (New file).
            * gm2/projects/pim/run/pass/random/MapOptions.def: (New file).
            * gm2/projects/pim/run/pass/random/MapOptions.mod: (New file).
            * gm2/projects/pim/run/pass/random/Options.def: (New file).
            * gm2/projects/pim/run/pass/random/Options.mod: (New file).
            * gm2/projects/pim/run/pass/random/RoomMap.def: (New file).
            * gm2/projects/pim/run/pass/random/RoomMap.mod: (New file).
            * gm2/projects/pim/run/pass/random/StoreCoords.def: (New file).
            * gm2/projects/pim/run/pass/random/StoreCoords.mod: (New file).
            * gm2/projects/pim/run/pass/random/WriteMap.def: (New file).
            * gm2/projects/pim/run/pass/random/WriteMap.mod: (New file).
            * gm2/projects/pim/run/pass/random/projects-pim-run-pass-random.exp:
            (New file).
            * gm2/quads/run/pass/becomes.mod: (New file).
            * gm2/quads/run/pass/param.mod: (New file).
            * gm2/quads/run/pass/quads-run-pass.exp: (New file).
            * gm2/quads/run/pass/return.mod: (New file).
            * gm2/recover/pass/cannot-solve/begin.mod: (New file).
            * gm2/recover/pass/cannot-solve/statementsemi.mod: (New file).
            * gm2/recover/pass/end2.mod: (New file).
            * gm2/recover/pass/of.mod: (New file).
            * gm2/recover/pass/procsemi.mod: (New file).
            * gm2/recover/pass/recover-pass.exp: (New file).
            * gm2/recover/pass/rrbra.mod: (New file).
            * gm2/recover/pass/rsbra.mod: (New file).
            * gm2/recover/pass/semi.mod: (New file).
            * gm2/run/fail/list.mod: (New file).
            * gm2/run/fail/options: (New file).
            * gm2/run/fail/testdec.mod: (New file).
            * gm2/run/fail/testfunc.mod: (New file).
            * gm2/run/pass/cycles.mod: (New file).
            * gm2/run/pass/line.mod: (New file).
            * gm2/run/pass/nestedproc.mod: (New file).
            * gm2/run/pass/nestedproc2.mod: (New file).
            * gm2/run/pass/nestedproc3.mod: (New file).
            * gm2/run/pass/nestedproc5.mod: (New file).
            * gm2/run/pass/nestedset.mod: (New file).
            * gm2/run/pass/nothing.mod: (New file).
            * gm2/run/pass/options: (New file).
            * gm2/run/pass/prog31ex.mod: (New file).
            * gm2/run/pass/rts.mod: (New file).
            * gm2/run/pass/stripped.mod: (New file).
            * gm2/run/pass/testavail.mod: (New file).
            * gm2/run/pass/testfpufunc.mod: (New file).
            * gm2/run/pass/testfpufunc2.mod: (New file).
            * gm2/run/pass/testnextproc.mod: (New file).
            * gm2/run/pass/testparam.mod: (New file).
            * gm2/run/pass/testsize.mod: (New file).
            * gm2/run/pass/testsize2.mod: (New file).
            * gm2/run/pass/testsize3.mod: (New file).
            * gm2/run/pass/wr.mod: (New file).
            * gm2/scripts/addit: (New file).
            * gm2/scripts/comp: (New file).
            * gm2/scripts/compile: (New file).
            * gm2/scripts/compileiso: (New file).
            * gm2/scripts/link: (New file).
            * gm2/scripts/regression: (New file).
            * gm2/scripts/subit: (New file).
            * gm2/sets/run/pass/multisetarith.mod: (New file).
            * gm2/sets/run/pass/multisetarith2.mod: (New file).
            * gm2/sets/run/pass/multisetarith3.mod: (New file).
            * gm2/sets/run/pass/multisetarith4.mod: (New file).
            * gm2/sets/run/pass/multisetrotate.mod: (New file).
            * gm2/sets/run/pass/multisetrotate2.mod: (New file).
            * gm2/sets/run/pass/multisetrotate3.mod: (New file).
            * gm2/sets/run/pass/multisetrotate4.mod: (New file).
            * gm2/sets/run/pass/multisetshift.mod: (New file).
            * gm2/sets/run/pass/multisetshift2.mod: (New file).
            * gm2/sets/run/pass/multisimple.mod: (New file).
            * gm2/sets/run/pass/multisimple2.mod: (New file).
            * gm2/sets/run/pass/multisimple3.mod: (New file).
            * gm2/sets/run/pass/multisimple4.mod: (New file).
            * gm2/sets/run/pass/multisimple5.mod: (New file).
            * gm2/sets/run/pass/multisimple6.mod: (New file).
            * gm2/sets/run/pass/multisimple7.mod: (New file).
            * gm2/sets/run/pass/setarith.mod: (New file).
            * gm2/sets/run/pass/setarith2.mod: (New file).
            * gm2/sets/run/pass/setarith3.mod: (New file).
            * gm2/sets/run/pass/setarith4.mod: (New file).
            * gm2/sets/run/pass/setrotate.mod: (New file).
            * gm2/sets/run/pass/setrotate2.mod: (New file).
            * gm2/sets/run/pass/setrotate3.mod: (New file).
            * gm2/sets/run/pass/setrotate4.mod: (New file).
            * gm2/sets/run/pass/sets-run-pass.exp: (New file).
            * gm2/sets/run/pass/setshift.mod: (New file).
            * gm2/sets/run/pass/setshift2.mod: (New file).
            * gm2/sets/run/pass/simple.mod: (New file).
            * gm2/sets/run/pass/simple2.mod: (New file).
            * gm2/sets/run/pass/simple3.mod: (New file).
            * gm2/sets/run/pass/simple4.mod: (New file).
            * gm2/sets/run/pass/simple5.mod: (New file).
            * gm2/sets/run/pass/simple6.mod: (New file).
            * gm2/sets/run/pass/simple7.mod: (New file).
            * gm2/switches/auto-init/fail/switches-auto-init-fail.exp: (New file).
            * gm2/switches/auto-init/fail/uninitptr.mod: (New file).
            * gm2/switches/auto-init/fail/uninitptr2.mod: (New file).
            * gm2/switches/check-all/pim2/fail/overflow.mod: (New file).
            * gm2/switches/check-all/pim2/fail/overflow2.mod: (New file).
            * gm2/switches/check-all/pim2/fail/overflowdiv1.mod: (New file).
            * gm2/switches/check-all/pim2/fail/switches-check-all-pim2-fail.exp:
            (New file).
            * gm2/switches/check-all/plugin/iso/fail/divceilposneg.mod: (New file).
            * gm2/switches/check-all/plugin/iso/fail/divceilposneg2.mod: (New file).
            * gm2/switches/check-all/plugin/iso/fail/divceilposnegcall.mod: (New file).
            * gm2/switches/check-all/plugin/iso/fail/divceilposnegcall2.mod: (New file).
            * gm2/switches/check-all/plugin/iso/fail/divfloornegpos.mod: (New file).
            * gm2/switches/check-all/plugin/iso/fail/divfloorpospos.mod: (New file).
            * gm2/switches/check-all/plugin/iso/fail/lowdiv.mod: (New file).
            * gm2/switches/check-all/plugin/iso/fail/switches-check-all-plugin-iso-fail.exp:
            (New file).
            * gm2/switches/check-all/plugin/pim2/fail/divceil.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/highdiv.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/modulus.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin1.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin3.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin4.def: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin4.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin5.def: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin5.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin6.def: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin6.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin7.def: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin7.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin8.def: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin8.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/plugin9.mod: (New file).
            * gm2/switches/check-all/plugin/pim2/fail/switches-check-all-plugin-pim2-fail.exp:
            (New file).
            * gm2/switches/check-all/run/fail/cardrange.mod: (New file).
            * gm2/switches/check-all/run/fail/cardrange2.mod: (New file).
            * gm2/switches/check-all/run/fail/cardrange3.mod: (New file).
            * gm2/switches/check-all/run/fail/intrange.mod: (New file).
            * gm2/switches/check-all/run/fail/intrange2.mod: (New file).
            * gm2/switches/check-all/run/fail/intrange3.mod: (New file).
            * gm2/switches/check-all/run/fail/intrange4.mod: (New file).
            * gm2/switches/check-all/run/fail/intrange5.mod: (New file).
            * gm2/switches/check-all/run/fail/multint1.mod: (New file).
            * gm2/switches/check-all/run/fail/multint2.mod: (New file).
            * gm2/switches/check-all/run/fail/multint3.mod: (New file).
            * gm2/switches/check-all/run/fail/rangesupport.def: (New file).
            * gm2/switches/check-all/run/fail/rangesupport.mod: (New file).
            * gm2/switches/check-all/run/fail/realrange.mod: (New file).
            * gm2/switches/check-all/run/fail/subrange.mod: (New file).
            * gm2/switches/check-all/run/fail/switches-check-all-run-fail.exp:
            (New file).
            * gm2/switches/check-all/run/fail/tinyrange.mod: (New file).
            * gm2/switches/check-all/run/pass/cardrange.mod: (New file).
            * gm2/switches/check-all/run/pass/forcheck.mod: (New file).
            * gm2/switches/check-all/run/pass/subrange.mod: (New file).
            * gm2/switches/check-all/run/pass/switches-check-all-run-pass.exp:
            (New file).
            * gm2/switches/extended-opaque/fail/a.def: (New file).
            * gm2/switches/extended-opaque/fail/a.mod: (New file).
            * gm2/switches/extended-opaque/fail/switches-extended-opaque-fail.exp:
            (New file).
            * gm2/switches/extended-opaque/pass/a.def: (New file).
            * gm2/switches/extended-opaque/pass/a.mod: (New file).
            * gm2/switches/extended-opaque/pass/b.mod: (New file).
            * gm2/switches/extended-opaque/pass/switches-extended-opaque-pass.exp:
            (New file).
            * gm2/switches/iso/run/pass/modulus.mod: (New file).
            * gm2/switches/iso/run/pass/modulus4.mod: (New file).
            * gm2/switches/iso/run/pass/switches-iso-run-pass.exp: (New file).
            * gm2/switches/makeall/fail/switches-makeall-fail.exp: (New file).
            * gm2/switches/makeall/fail/test.def: (New file).
            * gm2/switches/makeall/fail/test.mod: (New file).
            * gm2/switches/makeall/pass/switches-makeall-pass.exp: (New file).
            * gm2/switches/makeall/pass/test.def: (New file).
            * gm2/switches/makeall/pass/test.mod: (New file).
            * gm2/switches/none/run/pass/gm2-none.exp: (New file).
            * gm2/switches/none/run/pass/hello.mod: (New file).
            * gm2/switches/optimization/run/pass/fact.mod: (New file).
            * gm2/switches/optimization/run/pass/switches-optimization-run-pass.exp:
            (New file).
            * gm2/switches/pedantic-params/fail/a.def: (New file).
            * gm2/switches/pedantic-params/fail/a.mod: (New file).
            * gm2/switches/pedantic-params/fail/switches-pedantic-params-fail.exp:
            (New file).
            * gm2/switches/pedantic-params/pass/Strings.def: (New file).
            * gm2/switches/pedantic-params/pass/Strings.mod: (New file).
            * gm2/switches/pedantic-params/pass/Strings2.def: (New file).
            * gm2/switches/pedantic-params/pass/Strings2.mod: (New file).
            * gm2/switches/pedantic-params/pass/switches-pedantic-params-pass.exp:
            (New file).
            * gm2/switches/pedantic/fail/onlywrite.mod: (New file).
            * gm2/switches/pedantic/fail/readb4.mod: (New file).
            * gm2/switches/pic/run/pass/func.c: (New file).
            * gm2/switches/pic/run/pass/func.mod: (New file).
            * gm2/switches/pic/run/pass/func2.c: (New file).
            * gm2/switches/pic/run/pass/func2.mod: (New file).
            * gm2/switches/pic/run/pass/switches-pic-run-pass.exp: (New file).
            * gm2/switches/pim2/run/pass/modulus.mod: (New file).
            * gm2/switches/pim2/run/pass/switches-pim2-run-pass.exp: (New file).
            * gm2/switches/pim3/run/pass/modulus.mod: (New file).
            * gm2/switches/pim3/run/pass/switches-pim3-run-pass.exp: (New file).
            * gm2/switches/pim4/run/pass/FpuIOBug.mod: (New file).
            * gm2/switches/pim4/run/pass/InOutBug.mod: (New file).
            * gm2/switches/pim4/run/pass/NumberIOBug.mod: (New file).
            * gm2/switches/pim4/run/pass/modulus.mod: (New file).
            * gm2/switches/pim4/run/pass/modulus2.mod: (New file).
            * gm2/switches/pim4/run/pass/switches-pim4-run-pass.exp: (New file).
            * gm2/switches/whole-program/pass/run/hello.mod: (New file).
            * gm2/switches/whole-program/pass/run/hello2.mod: (New file).
            * gm2/switches/whole-program/pass/run/switches-whole-program-pass-run.exp:
            (New file).
            * gm2/switches/whole-program/pass/run/tiny.mod: (New file).
            * gm2/switches/whole-program/pass/run/tiny2.mod: (New file).
            * gm2/types/bitset.mod: (New file).
            * gm2/types/bitset2.mod: (New file).
            * gm2/types/bitset3.mod: (New file).
            * gm2/types/charset.mod: (New file).
            * gm2/types/const.mod: (New file).
            * gm2/types/prog35.mod: (New file).
            * gm2/types/real.mod: (New file).
            * gm2/types/run/pass/d.c: (New file).
            * gm2/types/run/pass/d.def: (New file).
            * gm2/types/run/pass/types-run-pass.exp: (New file).
            * gm2/types/run/pass/varient4.mod: (New file).
            * gm2/types/run/pass/varient5.mod: (New file).
            * gm2/types/string.mod: (New file).
            * gm2/types/type1.mod: (New file).
            * gm2/types/type2.mod: (New file).
            * gm2/types/type3.mod: (New file).
            * gm2/types/type4.mod: (New file).
            * gm2/types/varient.mod: (New file).
            * gm2/types/word.mod: (New file).
            * gm2/ulmlib/pass/ulmlib-pass.exp: (New file).
            * gm2/ulmlib/std/pass/ulmlib-std-pass.exp: (New file).
            * gm2/ulmlib/sys/pass/ulmlib-sys-pass.exp: (New file).
            * gm2/warnings/todo/nestedproc6.mod: (New file).
            * gm2/warnings/todo/options: (New file).
            * gm2/warnings/todo/testfor.mod: (New file).
            * gm2/warnings/todo/testfor2.mod: (New file).
            * gm2/warnings/todo/testfor3.mod: (New file).
            * gm2/warnings/todo/testkeywords.mod: (New file).
            * gm2/warnings/todo/testloop.mod: (New file).
            * gm2/warnings/todo/testscope.mod: (New file).
            * gm2/warnings/todo/testscope2.mod: (New file).
            * gm2/x86-asm/asm.mod: (New file).
            * gm2/x86-asm/asm2.mod: (New file).
    
    Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>

Diff:
---
 Makefile.def                                       |     7 +
 Makefile.in                                        |   540 +-
 Makefile.tpl                                       |    13 +
 configure                                          |   229 +-
 configure.ac                                       |    17 +-
 gcc/config.in                                      |    12 +-
 gcc/configure                                      |    85 +-
 gcc/configure.ac                                   |    15 +-
 gcc/doc/gm2.texi                                   |  2838 ++
 gcc/doc/install.texi                               |    53 +-
 gcc/doc/sourcebuild.texi                           |     6 +-
 gcc/dwarf2out.cc                                   |     2 +
 gcc/m2/COPYING.FDL                                 |   397 +
 gcc/m2/COPYING.RUNTIME                             |    73 +
 gcc/m2/COPYING3                                    |   675 +
 gcc/m2/COPYING3.LIB                                |   165 +
 gcc/m2/ChangeLog                                   |     5 -
 gcc/m2/Make-lang.in                                |  1653 ++
 gcc/m2/Make-maintainer.in                          |   856 +
 gcc/m2/NEWS                                        |   231 +
 gcc/m2/README                                      |    35 +
 gcc/m2/config-lang.in                              |    83 +
 gcc/m2/config-make.in                              |     6 +
 gcc/m2/configure                                   |  4718 ++++
 gcc/m2/configure.ac                                |    38 +
 gcc/m2/gm2-compiler/CLexBuf.def                    |   264 +
 gcc/m2/gm2-compiler/CLexBuf.mod                    |  1029 +
 gcc/m2/gm2-compiler/FifoQueue.def                  |   103 +
 gcc/m2/gm2-compiler/FifoQueue.mod                  |   170 +
 gcc/m2/gm2-compiler/Lists.def                      |   128 +
 gcc/m2/gm2-compiler/Lists.mod                      |   341 +
 gcc/m2/gm2-compiler/M2ALU.def                      |   989 +
 gcc/m2/gm2-compiler/M2ALU.mod                      |  5282 ++++
 gcc/m2/gm2-compiler/M2AsmUtil.def                  |    55 +
 gcc/m2/gm2-compiler/M2AsmUtil.mod                  |   189 +
 gcc/m2/gm2-compiler/M2Base.def                     |   415 +
 gcc/m2/gm2-compiler/M2Base.mod                     |  2761 ++
 gcc/m2/gm2-compiler/M2BasicBlock.def               |    87 +
 gcc/m2/gm2-compiler/M2BasicBlock.mod               |   355 +
 gcc/m2/gm2-compiler/M2Batch.def                    |   194 +
 gcc/m2/gm2-compiler/M2Batch.mod                    |   470 +
 gcc/m2/gm2-compiler/M2Bitset.def                   |    54 +
 gcc/m2/gm2-compiler/M2Bitset.mod                   |    89 +
 gcc/m2/gm2-compiler/M2CaseList.def                 |   123 +
 gcc/m2/gm2-compiler/M2CaseList.mod                 |   933 +
 gcc/m2/gm2-compiler/M2Check.def                    |    67 +
 gcc/m2/gm2-compiler/M2Check.mod                    |  1549 ++
 gcc/m2/gm2-compiler/M2Code.def                     |    54 +
 gcc/m2/gm2-compiler/M2Code.mod                     |   528 +
 gcc/m2/gm2-compiler/M2ColorString.def              |   142 +
 gcc/m2/gm2-compiler/M2ColorString.mod              |   218 +
 gcc/m2/gm2-compiler/M2Comp.def                     |    70 +
 gcc/m2/gm2-compiler/M2Comp.mod                     |   652 +
 gcc/m2/gm2-compiler/M2Const.def                    |    39 +
 gcc/m2/gm2-compiler/M2Const.mod                    |   501 +
 gcc/m2/gm2-compiler/M2Debug.def                    |    49 +
 gcc/m2/gm2-compiler/M2Debug.mod                    |    57 +
 gcc/m2/gm2-compiler/M2DebugStack.def               |    51 +
 gcc/m2/gm2-compiler/M2DebugStack.mod               |   884 +
 gcc/m2/gm2-compiler/M2Defaults.def                 |    54 +
 gcc/m2/gm2-compiler/M2Defaults.mod                 |    64 +
 gcc/m2/gm2-compiler/M2DriverOptions.def            |    43 +
 gcc/m2/gm2-compiler/M2DriverOptions.mod            |    95 +
 gcc/m2/gm2-compiler/M2Emit.def                     |    59 +
 gcc/m2/gm2-compiler/M2Emit.mod                     |    82 +
 gcc/m2/gm2-compiler/M2Error.def                    |   364 +
 gcc/m2/gm2-compiler/M2Error.mod                    |  1181 +
 gcc/m2/gm2-compiler/M2EvalSym.def                  |    42 +
 gcc/m2/gm2-compiler/M2FileName.def                 |    74 +
 gcc/m2/gm2-compiler/M2FileName.mod                 |   106 +
 gcc/m2/gm2-compiler/M2GCCDeclare.def               |   245 +
 gcc/m2/gm2-compiler/M2GCCDeclare.mod               |  6326 +++++
 gcc/m2/gm2-compiler/M2GenGCC.def                   |   103 +
 gcc/m2/gm2-compiler/M2GenGCC.mod                   |  7193 +++++
 gcc/m2/gm2-compiler/M2Graph.def                    |    58 +
 gcc/m2/gm2-compiler/M2Graph.mod                    |   234 +
 gcc/m2/gm2-compiler/M2Lex.def                      |   106 +
 gcc/m2/gm2-compiler/M2Lex.mod                      |   418 +
 gcc/m2/gm2-compiler/M2LexBuf.def                   |   277 +
 gcc/m2/gm2-compiler/M2LexBuf.mod                   |  1231 +
 gcc/m2/gm2-compiler/M2MetaError.def                |   185 +
 gcc/m2/gm2-compiler/M2MetaError.mod                |  2477 ++
 gcc/m2/gm2-compiler/M2Optimize.def                 |    59 +
 gcc/m2/gm2-compiler/M2Optimize.mod                 |   521 +
 gcc/m2/gm2-compiler/M2Options.def                  |   818 +
 gcc/m2/gm2-compiler/M2Options.mod                  |  1249 +
 gcc/m2/gm2-compiler/M2Pass.def                     |   178 +
 gcc/m2/gm2-compiler/M2Pass.mod                     |   246 +
 gcc/m2/gm2-compiler/M2Preprocess.def               |    51 +
 gcc/m2/gm2-compiler/M2Preprocess.mod               |   152 +
 gcc/m2/gm2-compiler/M2Printf.def                   |    66 +
 gcc/m2/gm2-compiler/M2Printf.mod                   |   314 +
 gcc/m2/gm2-compiler/M2Quads.def                    |  2713 ++
 gcc/m2/gm2-compiler/M2Quads.mod                    | 15069 +++++++++++
 gcc/m2/gm2-compiler/M2Quiet.def                    |    46 +
 gcc/m2/gm2-compiler/M2Quiet.mod                    |    74 +
 gcc/m2/gm2-compiler/M2Range.def                    |   418 +
 gcc/m2/gm2-compiler/M2Range.mod                    |  3472 +++
 gcc/m2/gm2-compiler/M2Reserved.def                 |   128 +
 gcc/m2/gm2-compiler/M2Reserved.mod                 |   358 +
 gcc/m2/gm2-compiler/M2SSA.def                      |    27 +
 gcc/m2/gm2-compiler/M2SSA.mod                      |   173 +
 gcc/m2/gm2-compiler/M2Scaffold.def                 |    74 +
 gcc/m2/gm2-compiler/M2Scaffold.mod                 |   629 +
 gcc/m2/gm2-compiler/M2Scope.def                    |    65 +
 gcc/m2/gm2-compiler/M2Scope.mod                    |   496 +
 gcc/m2/gm2-compiler/M2Search.def                   |   115 +
 gcc/m2/gm2-compiler/M2Search.mod                   |   313 +
 gcc/m2/gm2-compiler/M2Size.def                     |    46 +
 gcc/m2/gm2-compiler/M2Size.mod                     |    52 +
 gcc/m2/gm2-compiler/M2StackAddress.def             |    99 +
 gcc/m2/gm2-compiler/M2StackAddress.mod             |   288 +
 gcc/m2/gm2-compiler/M2StackWord.def                |   106 +
 gcc/m2/gm2-compiler/M2StackWord.mod                |   300 +
 gcc/m2/gm2-compiler/M2Students.def                 |    54 +
 gcc/m2/gm2-compiler/M2Students.mod                 |   256 +
 gcc/m2/gm2-compiler/M2Swig.def                     |    44 +
 gcc/m2/gm2-compiler/M2Swig.mod                     |   985 +
 gcc/m2/gm2-compiler/M2System.def                   |   253 +
 gcc/m2/gm2-compiler/M2System.mod                   |   819 +
 gcc/m2/gm2-compiler/M2Version.def                  |    70 +
 gcc/m2/gm2-compiler/NameKey.def                    |   122 +
 gcc/m2/gm2-compiler/NameKey.mod                    |   417 +
 gcc/m2/gm2-compiler/ObjectFiles.def                |    71 +
 gcc/m2/gm2-compiler/ObjectFiles.mod                |   171 +
 gcc/m2/gm2-compiler/Output.def                     |   116 +
 gcc/m2/gm2-compiler/Output.mod                     |   200 +
 gcc/m2/gm2-compiler/P0SymBuild.def                 |   134 +
 gcc/m2/gm2-compiler/P0SymBuild.mod                 |   760 +
 gcc/m2/gm2-compiler/P0SyntaxCheck.bnf              |   931 +
 gcc/m2/gm2-compiler/P0SyntaxCheck.def              |    44 +
 gcc/m2/gm2-compiler/P1Build.bnf                    |  1050 +
 gcc/m2/gm2-compiler/P1Build.def                    |    44 +
 gcc/m2/gm2-compiler/P1SymBuild.def                 |   562 +
 gcc/m2/gm2-compiler/P1SymBuild.mod                 |  1160 +
 gcc/m2/gm2-compiler/P2Build.bnf                    |  1237 +
 gcc/m2/gm2-compiler/P2Build.def                    |    43 +
 gcc/m2/gm2-compiler/P2SymBuild.def                 |  1314 +
 gcc/m2/gm2-compiler/P2SymBuild.mod                 |  3105 +++
 gcc/m2/gm2-compiler/P3Build.bnf                    |  1676 ++
 gcc/m2/gm2-compiler/P3Build.def                    |    43 +
 gcc/m2/gm2-compiler/P3SymBuild.def                 |   395 +
 gcc/m2/gm2-compiler/P3SymBuild.mod                 |   690 +
 gcc/m2/gm2-compiler/PCBuild.bnf                    |  1263 +
 gcc/m2/gm2-compiler/PCBuild.def                    |    44 +
 gcc/m2/gm2-compiler/PCSymBuild.def                 |   497 +
 gcc/m2/gm2-compiler/PCSymBuild.mod                 |  2292 ++
 gcc/m2/gm2-compiler/PHBuild.bnf                    |  1264 +
 gcc/m2/gm2-compiler/PHBuild.def                    |    44 +
 gcc/m2/gm2-compiler/README                         |     1 +
 gcc/m2/gm2-compiler/Sets.def                       |   104 +
 gcc/m2/gm2-compiler/Sets.mod                       |   318 +
 gcc/m2/gm2-compiler/SymbolConversion.def           |    87 +
 gcc/m2/gm2-compiler/SymbolConversion.mod           |   247 +
 gcc/m2/gm2-compiler/SymbolKey.def                  |   139 +
 gcc/m2/gm2-compiler/SymbolKey.mod                  |   407 +
 gcc/m2/gm2-compiler/SymbolTable.def                |  3525 +++
 gcc/m2/gm2-compiler/SymbolTable.mod                | 14319 ++++++++++
 gcc/m2/gm2-compiler/bnflex.def                     |   156 +
 gcc/m2/gm2-compiler/bnflex.mod                     |   417 +
 gcc/m2/gm2-compiler/cflex.def                      |   105 +
 gcc/m2/gm2-compiler/gm2.mod                        |    52 +
 gcc/m2/gm2-compiler/gm2lcc.mod                     |   842 +
 gcc/m2/gm2-compiler/gm2lgen.mod                    |   424 +
 gcc/m2/gm2-compiler/gm2lorder.mod                  |   269 +
 gcc/m2/gm2-compiler/m2flex.def                     |   101 +
 gcc/m2/gm2-compiler/ppg.mod                        |  5515 ++++
 gcc/m2/gm2-gcc/README                              |     5 +
 gcc/m2/gm2-gcc/dynamicstrings.h                    |    38 +
 gcc/m2/gm2-gcc/gcc-consolidation.h                 |    92 +
 gcc/m2/gm2-gcc/init.cc                             |   196 +
 gcc/m2/gm2-gcc/init.def                            |    43 +
 gcc/m2/gm2-gcc/init.h                              |    35 +
 gcc/m2/gm2-gcc/m2assert.cc                         |    41 +
 gcc/m2/gm2-gcc/m2assert.h                          |    68 +
 gcc/m2/gm2-gcc/m2block.cc                          |   770 +
 gcc/m2/gm2-gcc/m2block.def                         |   225 +
 gcc/m2/gm2-gcc/m2block.h                           |    77 +
 gcc/m2/gm2-gcc/m2builtins.cc                       |  1330 +
 gcc/m2/gm2-gcc/m2builtins.def                      |   121 +
 gcc/m2/gm2-gcc/m2builtins.h                        |    56 +
 gcc/m2/gm2-gcc/m2color.cc                          |    66 +
 gcc/m2/gm2-gcc/m2color.def                         |    57 +
 gcc/m2/gm2-gcc/m2color.h                           |    52 +
 gcc/m2/gm2-gcc/m2configure.cc                      |   101 +
 gcc/m2/gm2-gcc/m2configure.def                     |    44 +
 gcc/m2/gm2-gcc/m2configure.h                       |    44 +
 gcc/m2/gm2-gcc/m2convert.cc                        |   659 +
 gcc/m2/gm2-gcc/m2convert.def                       |    98 +
 gcc/m2/gm2-gcc/m2convert.h                         |    54 +
 gcc/m2/gm2-gcc/m2decl.cc                           |   453 +
 gcc/m2/gm2-gcc/m2decl.def                          |   203 +
 gcc/m2/gm2-gcc/m2decl.h                            |    82 +
 gcc/m2/gm2-gcc/m2except.cc                         |   623 +
 gcc/m2/gm2-gcc/m2except.def                        |    79 +
 gcc/m2/gm2-gcc/m2except.h                          |    70 +
 gcc/m2/gm2-gcc/m2expr.cc                           |  4286 +++
 gcc/m2/gm2-gcc/m2expr.def                          |   700 +
 gcc/m2/gm2-gcc/m2expr.h                            |   244 +
 gcc/m2/gm2-gcc/m2linemap.cc                        |   254 +
 gcc/m2/gm2-gcc/m2linemap.def                       |    61 +
 gcc/m2/gm2-gcc/m2linemap.h                         |    72 +
 gcc/m2/gm2-gcc/m2misc.cc                           |    56 +
 gcc/m2/gm2-gcc/m2misc.def                          |    29 +
 gcc/m2/gm2-gcc/m2misc.h                            |    44 +
 gcc/m2/gm2-gcc/m2options.h                         |   126 +
 gcc/m2/gm2-gcc/m2range.h                           |    40 +
 gcc/m2/gm2-gcc/m2search.h                          |    35 +
 gcc/m2/gm2-gcc/m2statement.cc                      |   955 +
 gcc/m2/gm2-gcc/m2statement.def                     |   312 +
 gcc/m2/gm2-gcc/m2statement.h                       |   111 +
 gcc/m2/gm2-gcc/m2top.cc                            |    65 +
 gcc/m2/gm2-gcc/m2top.def                           |    46 +
 gcc/m2/gm2-gcc/m2top.h                             |    44 +
 gcc/m2/gm2-gcc/m2tree.cc                           |   132 +
 gcc/m2/gm2-gcc/m2tree.def                          |    41 +
 gcc/m2/gm2-gcc/m2tree.h                            |    58 +
 gcc/m2/gm2-gcc/m2treelib.cc                        |   430 +
 gcc/m2/gm2-gcc/m2treelib.def                       |   109 +
 gcc/m2/gm2-gcc/m2treelib.h                         |    66 +
 gcc/m2/gm2-gcc/m2type.cc                           |  3092 +++
 gcc/m2/gm2-gcc/m2type.def                          |   986 +
 gcc/m2/gm2-gcc/m2type.h                            |   222 +
 gcc/m2/gm2-gcc/rtegraph.cc                         |   527 +
 gcc/m2/gm2-gcc/rtegraph.h                          |    42 +
 gcc/m2/gm2-ici/M2Emit.mod                          |   179 +
 gcc/m2/gm2-ici/README                              |     3 +
 gcc/m2/gm2-ici/m2linemap.c                         |    38 +
 gcc/m2/gm2-internals.texi                          |  1067 +
 gcc/m2/gm2-lang.cc                                 |   892 +
 gcc/m2/gm2-lang.h                                  |    56 +
 gcc/m2/gm2-libiberty/README                        |     2 +
 gcc/m2/gm2-libiberty/choosetemp.def                |    34 +
 gcc/m2/gm2-libiberty/pexecute.def                  |    82 +
 gcc/m2/gm2-libs-ch/M2LINK.c                        |    44 +
 gcc/m2/gm2-libs-ch/README                          |     3 +
 gcc/m2/gm2-libs-ch/RTcodummy.c                     |   136 +
 gcc/m2/gm2-libs-ch/RTintdummy.c                    |    50 +
 gcc/m2/gm2-libs-ch/Selective.c                     |   246 +
 gcc/m2/gm2-libs-ch/SysExceptions.c                 |   243 +
 gcc/m2/gm2-libs-ch/UnixArgs.cc                     |    91 +
 gcc/m2/gm2-libs-ch/cgetopt.c                       |   163 +
 gcc/m2/gm2-libs-ch/choosetemp.c                    |    58 +
 gcc/m2/gm2-libs-ch/dtoa.cc                         |   206 +
 gcc/m2/gm2-libs-ch/errno.c                         |    59 +
 gcc/m2/gm2-libs-ch/host.c                          |    64 +
 gcc/m2/gm2-libs-ch/ldtoa.cc                        |   135 +
 gcc/m2/gm2-libs-ch/m2rts.h                         |    41 +
 gcc/m2/gm2-libs-ch/termios.c                       |  1936 ++
 gcc/m2/gm2-libs-ch/tools.c                         |    36 +
 gcc/m2/gm2-libs-ch/wrapc.c                         |   242 +
 gcc/m2/gm2-libs-ch/xlibc.c                         |    48 +
 gcc/m2/gm2-libs-coroutines/Debug.def               |    79 +
 gcc/m2/gm2-libs-coroutines/Debug.mod               |   180 +
 gcc/m2/gm2-libs-coroutines/Executive.def           |   152 +
 gcc/m2/gm2-libs-coroutines/Executive.mod           |   962 +
 gcc/m2/gm2-libs-coroutines/KeyBoardLEDs.def        |    63 +
 gcc/m2/gm2-libs-coroutines/README.texi             |     8 +
 gcc/m2/gm2-libs-coroutines/SYSTEM.def              |   278 +
 gcc/m2/gm2-libs-coroutines/SYSTEM.mod              |   484 +
 gcc/m2/gm2-libs-coroutines/TimerHandler.def        |   102 +
 gcc/m2/gm2-libs-coroutines/TimerHandler.mod        |   758 +
 gcc/m2/gm2-libs-iso/COROUTINES.def                 |   112 +
 gcc/m2/gm2-libs-iso/COROUTINES.mod                 |   600 +
 gcc/m2/gm2-libs-iso/ChanConsts.def                 |    64 +
 gcc/m2/gm2-libs-iso/ChanConsts.h                   |    47 +
 gcc/m2/gm2-libs-iso/ChanConsts.mod                 |    29 +
 gcc/m2/gm2-libs-iso/CharClass.def                  |    35 +
 gcc/m2/gm2-libs-iso/CharClass.mod                  |    81 +
 gcc/m2/gm2-libs-iso/ClientSocket.def               |    59 +
 gcc/m2/gm2-libs-iso/ClientSocket.mod               |   468 +
 gcc/m2/gm2-libs-iso/ComplexMath.def                |    73 +
 gcc/m2/gm2-libs-iso/ComplexMath.mod                |   164 +
 gcc/m2/gm2-libs-iso/ConvStringLong.def             |    60 +
 gcc/m2/gm2-libs-iso/ConvStringLong.mod             |   292 +
 gcc/m2/gm2-libs-iso/ConvStringReal.def             |    60 +
 gcc/m2/gm2-libs-iso/ConvStringReal.mod             |   299 +
 gcc/m2/gm2-libs-iso/ConvTypes.def                  |    37 +
 gcc/m2/gm2-libs-iso/ConvTypes.mod                  |    29 +
 gcc/m2/gm2-libs-iso/EXCEPTIONS.def                 |    58 +
 gcc/m2/gm2-libs-iso/EXCEPTIONS.mod                 |   138 +
 gcc/m2/gm2-libs-iso/ErrnoCategory.def              |    74 +
 gcc/m2/gm2-libs-iso/GeneralUserExceptions.def      |    36 +
 gcc/m2/gm2-libs-iso/GeneralUserExceptions.mod      |    87 +
 gcc/m2/gm2-libs-iso/IOChan.def                     |   177 +
 gcc/m2/gm2-libs-iso/IOChan.mod                     |   550 +
 gcc/m2/gm2-libs-iso/IOConsts.def                   |    28 +
 gcc/m2/gm2-libs-iso/IOConsts.mod                   |    29 +
 gcc/m2/gm2-libs-iso/IOLink.def                     |   142 +
 gcc/m2/gm2-libs-iso/IOLink.mod                     |   373 +
 gcc/m2/gm2-libs-iso/IOResult.def                   |    37 +
 gcc/m2/gm2-libs-iso/IOResult.mod                   |    37 +
 gcc/m2/gm2-libs-iso/LongComplexMath.def            |    73 +
 gcc/m2/gm2-libs-iso/LongComplexMath.mod            |   164 +
 gcc/m2/gm2-libs-iso/LongConv.def                   |    61 +
 gcc/m2/gm2-libs-iso/LongConv.mod                   |   350 +
 gcc/m2/gm2-libs-iso/LongIO.def                     |    68 +
 gcc/m2/gm2-libs-iso/LongIO.mod                     |   172 +
 gcc/m2/gm2-libs-iso/LongMath.def                   |    62 +
 gcc/m2/gm2-libs-iso/LongMath.mod                   |   110 +
 gcc/m2/gm2-libs-iso/LongStr.def                    |    73 +
 gcc/m2/gm2-libs-iso/LongStr.mod                    |   150 +
 gcc/m2/gm2-libs-iso/LongWholeIO.def                |    69 +
 gcc/m2/gm2-libs-iso/LongWholeIO.mod                |   175 +
 gcc/m2/gm2-libs-iso/LowLong.def                    |    85 +
 gcc/m2/gm2-libs-iso/LowLong.mod                    |   299 +
 gcc/m2/gm2-libs-iso/LowReal.def                    |    85 +
 gcc/m2/gm2-libs-iso/LowReal.mod                    |   299 +
 gcc/m2/gm2-libs-iso/LowShort.def                   |    99 +
 gcc/m2/gm2-libs-iso/LowShort.mod                   |   299 +
 gcc/m2/gm2-libs-iso/M2EXCEPTION.def                |    35 +
 gcc/m2/gm2-libs-iso/M2EXCEPTION.mod                |    62 +
 gcc/m2/gm2-libs-iso/M2RTS.def                      |   193 +
 gcc/m2/gm2-libs-iso/M2RTS.mod                      |   616 +
 gcc/m2/gm2-libs-iso/MemStream.def                  |   120 +
 gcc/m2/gm2-libs-iso/MemStream.mod                  |   748 +
 gcc/m2/gm2-libs-iso/Preemptive.def                 |    38 +
 gcc/m2/gm2-libs-iso/Preemptive.mod                 |   125 +
 gcc/m2/gm2-libs-iso/Processes.def                  |   159 +
 gcc/m2/gm2-libs-iso/Processes.mod                  |   730 +
 gcc/m2/gm2-libs-iso/ProgramArgs.def                |    39 +
 gcc/m2/gm2-libs-iso/ProgramArgs.mod                |   482 +
 gcc/m2/gm2-libs-iso/README.texi                    |    79 +
 gcc/m2/gm2-libs-iso/RTco.def                       |    76 +
 gcc/m2/gm2-libs-iso/RTdata.def                     |    79 +
 gcc/m2/gm2-libs-iso/RTdata.mod                     |   167 +
 gcc/m2/gm2-libs-iso/RTentity.def                   |    58 +
 gcc/m2/gm2-libs-iso/RTentity.mod                   |   300 +
 gcc/m2/gm2-libs-iso/RTfio.def                      |   123 +
 gcc/m2/gm2-libs-iso/RTfio.mod                      |   178 +
 gcc/m2/gm2-libs-iso/RTgen.def                      |   129 +
 gcc/m2/gm2-libs-iso/RTgen.mod                      |   483 +
 gcc/m2/gm2-libs-iso/RTgenif.def                    |   159 +
 gcc/m2/gm2-libs-iso/RTgenif.mod                    |   200 +
 gcc/m2/gm2-libs-iso/RTio.def                       |   110 +
 gcc/m2/gm2-libs-iso/RTio.mod                       |   133 +
 gcc/m2/gm2-libs-iso/RandomNumber.def               |   131 +
 gcc/m2/gm2-libs-iso/RandomNumber.mod               |   200 +
 gcc/m2/gm2-libs-iso/RawIO.def                      |    32 +
 gcc/m2/gm2-libs-iso/RawIO.mod                      |   108 +
 gcc/m2/gm2-libs-iso/RealConv.def                   |    61 +
 gcc/m2/gm2-libs-iso/RealConv.mod                   |   349 +
 gcc/m2/gm2-libs-iso/RealIO.def                     |    67 +
 gcc/m2/gm2-libs-iso/RealIO.mod                     |   172 +
 gcc/m2/gm2-libs-iso/RealMath.def                   |    62 +
 gcc/m2/gm2-libs-iso/RealMath.mod                   |   109 +
 gcc/m2/gm2-libs-iso/RealStr.def                    |    73 +
 gcc/m2/gm2-libs-iso/RealStr.mod                    |   150 +
 gcc/m2/gm2-libs-iso/RndFile.def                    |   116 +
 gcc/m2/gm2-libs-iso/RndFile.mod                    |   511 +
 gcc/m2/gm2-libs-iso/SIOResult.def                  |    37 +
 gcc/m2/gm2-libs-iso/SIOResult.mod                  |    37 +
 gcc/m2/gm2-libs-iso/SLongIO.def                    |    65 +
 gcc/m2/gm2-libs-iso/SLongIO.mod                    |    93 +
 gcc/m2/gm2-libs-iso/SLongWholeIO.def               |    67 +
 gcc/m2/gm2-libs-iso/SLongWholeIO.mod               |    78 +
 gcc/m2/gm2-libs-iso/SRawIO.def                     |    31 +
 gcc/m2/gm2-libs-iso/SRawIO.mod                     |    55 +
 gcc/m2/gm2-libs-iso/SRealIO.def                    |    62 +
 gcc/m2/gm2-libs-iso/SRealIO.mod                    |    93 +
 gcc/m2/gm2-libs-iso/SShortIO.def                   |    80 +
 gcc/m2/gm2-libs-iso/SShortIO.mod                   |    93 +
 gcc/m2/gm2-libs-iso/SShortWholeIO.def              |    67 +
 gcc/m2/gm2-libs-iso/SShortWholeIO.mod              |    78 +
 gcc/m2/gm2-libs-iso/STextIO.def                    |    65 +
 gcc/m2/gm2-libs-iso/STextIO.mod                    |   118 +
 gcc/m2/gm2-libs-iso/SWholeIO.def                   |    52 +
 gcc/m2/gm2-libs-iso/SWholeIO.mod                   |    78 +
 gcc/m2/gm2-libs-iso/SYSTEM.def                     |   235 +
 gcc/m2/gm2-libs-iso/SYSTEM.mod                     |   273 +
 gcc/m2/gm2-libs-iso/Semaphores.def                 |    51 +
 gcc/m2/gm2-libs-iso/Semaphores.mod                 |   287 +
 gcc/m2/gm2-libs-iso/SeqFile.def                    |   115 +
 gcc/m2/gm2-libs-iso/SeqFile.mod                    |   455 +
 gcc/m2/gm2-libs-iso/ShortComplexMath.def           |    88 +
 gcc/m2/gm2-libs-iso/ShortComplexMath.mod           |   164 +
 gcc/m2/gm2-libs-iso/ShortIO.def                    |    82 +
 gcc/m2/gm2-libs-iso/ShortIO.mod                    |   105 +
 gcc/m2/gm2-libs-iso/ShortWholeIO.def               |    69 +
 gcc/m2/gm2-libs-iso/ShortWholeIO.mod               |   175 +
 gcc/m2/gm2-libs-iso/SimpleCipher.def               |    60 +
 gcc/m2/gm2-libs-iso/SimpleCipher.mod               |   452 +
 gcc/m2/gm2-libs-iso/StdChans.def                   |    67 +
 gcc/m2/gm2-libs-iso/StdChans.mod                   |   312 +
 gcc/m2/gm2-libs-iso/Storage.def                    |    57 +
 gcc/m2/gm2-libs-iso/Storage.mod                    |   176 +
 gcc/m2/gm2-libs-iso/StreamFile.def                 |    56 +
 gcc/m2/gm2-libs-iso/StreamFile.mod                 |   290 +
 gcc/m2/gm2-libs-iso/StringChan.def                 |    65 +
 gcc/m2/gm2-libs-iso/StringChan.mod                 |    76 +
 gcc/m2/gm2-libs-iso/Strings.def                    |   157 +
 gcc/m2/gm2-libs-iso/Strings.mod                    |   524 +
 gcc/m2/gm2-libs-iso/SysClock.def                   |    61 +
 gcc/m2/gm2-libs-iso/SysClock.mod                   |   277 +
 gcc/m2/gm2-libs-iso/TERMINATION.def                |    22 +
 gcc/m2/gm2-libs-iso/TERMINATION.mod                |    53 +
 gcc/m2/gm2-libs-iso/TermFile.def                   |    68 +
 gcc/m2/gm2-libs-iso/TermFile.mod                   |   639 +
 gcc/m2/gm2-libs-iso/TextIO.def                     |    74 +
 gcc/m2/gm2-libs-iso/TextIO.mod                     |   243 +
 gcc/m2/gm2-libs-iso/WholeConv.def                  |    73 +
 gcc/m2/gm2-libs-iso/WholeConv.mod                  |   374 +
 gcc/m2/gm2-libs-iso/WholeIO.def                    |    54 +
 gcc/m2/gm2-libs-iso/WholeIO.mod                    |   175 +
 gcc/m2/gm2-libs-iso/WholeStr.def                   |    56 +
 gcc/m2/gm2-libs-iso/WholeStr.mod                   |    99 +
 gcc/m2/gm2-libs-iso/wrapsock.c                     |   260 +
 gcc/m2/gm2-libs-iso/wrapsock.def                   |   125 +
 gcc/m2/gm2-libs-iso/wraptime.c                     |   292 +
 gcc/m2/gm2-libs-iso/wraptime.def                   |   207 +
 gcc/m2/gm2-libs-min/M2RTS.def                      |    52 +
 gcc/m2/gm2-libs-min/M2RTS.mod                      |    79 +
 gcc/m2/gm2-libs-min/SYSTEM.def                     |    45 +
 gcc/m2/gm2-libs-min/SYSTEM.mod                     |    29 +
 gcc/m2/gm2-libs-min/libc.c                         |    40 +
 gcc/m2/gm2-libs-min/libc.def                       |    35 +
 gcc/m2/gm2-libs-pim/BitBlockOps.def                |   132 +
 gcc/m2/gm2-libs-pim/BitBlockOps.mod                |   303 +
 gcc/m2/gm2-libs-pim/BitByteOps.def                 |   143 +
 gcc/m2/gm2-libs-pim/BitByteOps.mod                 |   227 +
 gcc/m2/gm2-libs-pim/BitWordOps.def                 |   143 +
 gcc/m2/gm2-libs-pim/BitWordOps.mod                 |   252 +
 gcc/m2/gm2-libs-pim/BlockOps.def                   |    90 +
 gcc/m2/gm2-libs-pim/BlockOps.mod                   |   193 +
 gcc/m2/gm2-libs-pim/Break.c                        |   128 +
 gcc/m2/gm2-libs-pim/Break.def                      |    65 +
 gcc/m2/gm2-libs-pim/CardinalIO.def                 |   146 +
 gcc/m2/gm2-libs-pim/CardinalIO.mod                 |   257 +
 gcc/m2/gm2-libs-pim/Conversions.def                |    55 +
 gcc/m2/gm2-libs-pim/Conversions.mod                |   126 +
 gcc/m2/gm2-libs-pim/DebugPMD.def                   |    29 +
 gcc/m2/gm2-libs-pim/DebugPMD.mod                   |    29 +
 gcc/m2/gm2-libs-pim/DebugTrace.def                 |    29 +
 gcc/m2/gm2-libs-pim/DebugTrace.mod                 |    29 +
 gcc/m2/gm2-libs-pim/Delay.def                      |    39 +
 gcc/m2/gm2-libs-pim/Delay.mod                      |    43 +
 gcc/m2/gm2-libs-pim/Display.def                    |    41 +
 gcc/m2/gm2-libs-pim/Display.mod                    |    54 +
 gcc/m2/gm2-libs-pim/ErrorCode.def                  |    56 +
 gcc/m2/gm2-libs-pim/ErrorCode.mod                  |    71 +
 gcc/m2/gm2-libs-pim/FileSystem.def                 |   275 +
 gcc/m2/gm2-libs-pim/FileSystem.mod                 |   658 +
 gcc/m2/gm2-libs-pim/FloatingUtilities.def          |   105 +
 gcc/m2/gm2-libs-pim/FloatingUtilities.mod          |   153 +
 gcc/m2/gm2-libs-pim/InOut.def                      |   190 +
 gcc/m2/gm2-libs-pim/InOut.mod                      |   434 +
 gcc/m2/gm2-libs-pim/Keyboard.def                   |    48 +
 gcc/m2/gm2-libs-pim/Keyboard.mod                   |    74 +
 gcc/m2/gm2-libs-pim/LongIO.def                     |    38 +
 gcc/m2/gm2-libs-pim/LongIO.mod                     |    65 +
 gcc/m2/gm2-libs-pim/NumberConversion.def           |    31 +
 gcc/m2/gm2-libs-pim/NumberConversion.mod           |    31 +
 gcc/m2/gm2-libs-pim/README.texi                    |    44 +
 gcc/m2/gm2-libs-pim/Random.def                     |    83 +
 gcc/m2/gm2-libs-pim/Random.mod                     |   133 +
 gcc/m2/gm2-libs-pim/RealConversions.def            |   135 +
 gcc/m2/gm2-libs-pim/RealConversions.mod            |   467 +
 gcc/m2/gm2-libs-pim/RealInOut.def                  |   124 +
 gcc/m2/gm2-libs-pim/RealInOut.mod                  |   248 +
 gcc/m2/gm2-libs-pim/Strings.def                    |    92 +
 gcc/m2/gm2-libs-pim/Strings.mod                    |   179 +
 gcc/m2/gm2-libs-pim/Termbase.def                   |   107 +
 gcc/m2/gm2-libs-pim/Termbase.mod                   |   220 +
 gcc/m2/gm2-libs-pim/Terminal.def                   |    91 +
 gcc/m2/gm2-libs-pim/Terminal.mod                   |   142 +
 gcc/m2/gm2-libs-pim/TimeDate.def                   |    98 +
 gcc/m2/gm2-libs-pim/TimeDate.mod                   |   140 +
 gcc/m2/gm2-libs/ASCII.def                          |    54 +
 gcc/m2/gm2-libs/ASCII.mod                          |    29 +
 gcc/m2/gm2-libs/Args.def                           |    48 +
 gcc/m2/gm2-libs/Args.mod                           |    89 +
 gcc/m2/gm2-libs/Assertion.def                      |    40 +
 gcc/m2/gm2-libs/Assertion.mod                      |    46 +
 gcc/m2/gm2-libs/Break.def                          |    29 +
 gcc/m2/gm2-libs/Break.mod                          |    29 +
 gcc/m2/gm2-libs/Builtins.def                       |   239 +
 gcc/m2/gm2-libs/Builtins.mod                       |   686 +
 gcc/m2/gm2-libs/COROUTINES.def                     |    36 +
 gcc/m2/gm2-libs/COROUTINES.mod                     |    29 +
 gcc/m2/gm2-libs/CmdArgs.def                        |    49 +
 gcc/m2/gm2-libs/CmdArgs.mod                        |   224 +
 gcc/m2/gm2-libs/Debug.def                          |    61 +
 gcc/m2/gm2-libs/Debug.mod                          |   107 +
 gcc/m2/gm2-libs/DynamicStrings.def                 |   378 +
 gcc/m2/gm2-libs/DynamicStrings.mod                 |  1878 ++
 gcc/m2/gm2-libs/Environment.def                    |    53 +
 gcc/m2/gm2-libs/Environment.mod                    |    78 +
 gcc/m2/gm2-libs/FIO.def                            |   344 +
 gcc/m2/gm2-libs/FIO.mod                            |  1712 ++
 gcc/m2/gm2-libs/FormatStrings.def                  |    83 +
 gcc/m2/gm2-libs/FormatStrings.mod                  |   580 +
 gcc/m2/gm2-libs/FpuIO.def                          |    56 +
 gcc/m2/gm2-libs/FpuIO.mod                          |   190 +
 gcc/m2/gm2-libs/GetOpt.def                         |   124 +
 gcc/m2/gm2-libs/GetOpt.mod                         |   213 +
 gcc/m2/gm2-libs/IO.def                             |    85 +
 gcc/m2/gm2-libs/IO.mod                             |   365 +
 gcc/m2/gm2-libs/Indexing.def                       |   133 +
 gcc/m2/gm2-libs/Indexing.mod                       |   345 +
 gcc/m2/gm2-libs/LMathLib0.def                      |    44 +
 gcc/m2/gm2-libs/LMathLib0.mod                      |    81 +
 gcc/m2/gm2-libs/LegacyReal.def                     |    33 +
 gcc/m2/gm2-libs/LegacyReal.mod                     |    29 +
 gcc/m2/gm2-libs/M2Dependent.def                    |    62 +
 gcc/m2/gm2-libs/M2Dependent.mod                    |   830 +
 gcc/m2/gm2-libs/M2EXCEPTION.def                    |    54 +
 gcc/m2/gm2-libs/M2EXCEPTION.mod                    |    69 +
 gcc/m2/gm2-libs/M2LINK.def                         |    41 +
 gcc/m2/gm2-libs/M2RTS.def                          |   187 +
 gcc/m2/gm2-libs/M2RTS.mod                          |   547 +
 gcc/m2/gm2-libs/MathLib0.def                       |    44 +
 gcc/m2/gm2-libs/MathLib0.mod                       |   161 +
 gcc/m2/gm2-libs/MemUtils.def                       |    47 +
 gcc/m2/gm2-libs/MemUtils.mod                       |    85 +
 gcc/m2/gm2-libs/NumberIO.def                       |    83 +
 gcc/m2/gm2-libs/NumberIO.mod                       |   600 +
 gcc/m2/gm2-libs/OptLib.def                         |   106 +
 gcc/m2/gm2-libs/OptLib.mod                         |   279 +
 gcc/m2/gm2-libs/PushBackInput.def                  |   135 +
 gcc/m2/gm2-libs/PushBackInput.mod                  |   307 +
 gcc/m2/gm2-libs/README.texi                        |    18 +
 gcc/m2/gm2-libs/RTExceptions.def                   |   195 +
 gcc/m2/gm2-libs/RTExceptions.mod                   |   835 +
 gcc/m2/gm2-libs/RTint.def                          |   127 +
 gcc/m2/gm2-libs/RTint.mod                          |   847 +
 gcc/m2/gm2-libs/SArgs.def                          |    51 +
 gcc/m2/gm2-libs/SArgs.mod                          |    91 +
 gcc/m2/gm2-libs/SCmdArgs.def                       |    51 +
 gcc/m2/gm2-libs/SCmdArgs.mod                       |   211 +
 gcc/m2/gm2-libs/SEnvironment.def                   |    54 +
 gcc/m2/gm2-libs/SEnvironment.mod                   |    90 +
 gcc/m2/gm2-libs/SFIO.def                           |    94 +
 gcc/m2/gm2-libs/SFIO.mod                           |   148 +
 gcc/m2/gm2-libs/SMathLib0.def                      |    44 +
 gcc/m2/gm2-libs/SMathLib0.mod                      |    81 +
 gcc/m2/gm2-libs/SYSTEM.def                         |   197 +
 gcc/m2/gm2-libs/SYSTEM.mod                         |   273 +
 gcc/m2/gm2-libs/Scan.def                           |    85 +
 gcc/m2/gm2-libs/Scan.mod                           |   420 +
 gcc/m2/gm2-libs/Selective.def                      |    72 +
 gcc/m2/gm2-libs/StdIO.def                          |   102 +
 gcc/m2/gm2-libs/StdIO.mod                          |   165 +
 gcc/m2/gm2-libs/Storage.def                        |    69 +
 gcc/m2/gm2-libs/Storage.mod                        |    57 +
 gcc/m2/gm2-libs/StrCase.def                        |    67 +
 gcc/m2/gm2-libs/StrCase.mod                        |   116 +
 gcc/m2/gm2-libs/StrIO.def                          |    57 +
 gcc/m2/gm2-libs/StrIO.mod                          |   194 +
 gcc/m2/gm2-libs/StrLib.def                         |    86 +
 gcc/m2/gm2-libs/StrLib.mod                         |   220 +
 gcc/m2/gm2-libs/StringConvert.def                  |   337 +
 gcc/m2/gm2-libs/StringConvert.mod                  |  1406 +
 gcc/m2/gm2-libs/SysExceptions.def                  |    47 +
 gcc/m2/gm2-libs/SysStorage.def                     |    81 +
 gcc/m2/gm2-libs/SysStorage.mod                     |   181 +
 gcc/m2/gm2-libs/TimeString.def                     |    40 +
 gcc/m2/gm2-libs/TimeString.mod                     |    62 +
 gcc/m2/gm2-libs/UnixArgs.def                       |    38 +
 gcc/m2/gm2-libs/cbuiltin.def                       |   208 +
 gcc/m2/gm2-libs/cgetopt.def                        |   107 +
 gcc/m2/gm2-libs/config-host                        |  5629 ++++
 gcc/m2/gm2-libs/config-host.in                     |   148 +
 gcc/m2/gm2-libs/cxxabi.def                         |    41 +
 gcc/m2/gm2-libs/dtoa.def                           |    59 +
 gcc/m2/gm2-libs/errno.def                          |    37 +
 gcc/m2/gm2-libs/gdbif.def                          |    60 +
 gcc/m2/gm2-libs/gdbif.mod                          |   109 +
 gcc/m2/gm2-libs/gm2-libs-host.h.in                 |   324 +
 gcc/m2/gm2-libs/ldtoa.def                          |    59 +
 gcc/m2/gm2-libs/libc.def                           |   476 +
 gcc/m2/gm2-libs/libm.def                           |    92 +
 gcc/m2/gm2-libs/sckt.def                           |   160 +
 gcc/m2/gm2-libs/termios.def                        |   233 +
 gcc/m2/gm2-libs/wrapc.def                          |   124 +
 gcc/m2/gm2config.h.in                              |    56 +
 gcc/m2/gm2spec.cc                                  |   946 +
 gcc/m2/gm2version.h                                |    22 +
 gcc/m2/images/LICENSE.IMG                          |    20 +
 gcc/m2/images/gnu.eps                              |   547 +
 gcc/m2/images/gnupng                               |     0
 gcc/m2/init/README                                 |     3 +
 gcc/m2/init/mcinit                                 |   137 +
 gcc/m2/init/ppginit                                |    53 +
 gcc/m2/lang-specs.h                                |    38 +
 gcc/m2/lang.opt                                    |   352 +
 gcc/m2/m2-tree.def                                 |    24 +
 gcc/m2/m2-tree.h                                   |    48 +
 gcc/m2/m2.flex                                     |   760 +
 gcc/m2/m2pp.cc                                     |  2647 ++
 gcc/m2/m2pp.h                                      |    43 +
 gcc/m2/mc-boot-ch/GBuiltins.c                      |    43 +
 gcc/m2/mc-boot-ch/GM2LINK.c                        |    27 +
 gcc/m2/mc-boot-ch/GRTco.c                          |   126 +
 gcc/m2/mc-boot-ch/GSYSTEM.c                        |    38 +
 gcc/m2/mc-boot-ch/GSelective.c                     |   275 +
 gcc/m2/mc-boot-ch/GSysExceptions.c                 |   237 +
 gcc/m2/mc-boot-ch/GUnixArgs.cc                     |    91 +
 gcc/m2/mc-boot-ch/Gabort.c                         |    30 +
 gcc/m2/mc-boot-ch/Gcbuiltin.c                      |   173 +
 gcc/m2/mc-boot-ch/Gdtoa.c                          |   184 +
 gcc/m2/mc-boot-ch/Gerrno.c                         |    54 +
 gcc/m2/mc-boot-ch/Gldtoa.c                         |   107 +
 gcc/m2/mc-boot-ch/Glibc.c                          |   242 +
 gcc/m2/mc-boot-ch/Glibm.c                          |   224 +
 gcc/m2/mc-boot-ch/Gmcrts.c                         |    54 +
 gcc/m2/mc-boot-ch/Gmcrts.h                         |    37 +
 gcc/m2/mc-boot-ch/Gnetwork.h                       |    56 +
 gcc/m2/mc-boot-ch/Gtermios.cc                      |  1947 ++
 gcc/m2/mc-boot-ch/Gwrapc.c                         |   183 +
 gcc/m2/mc-boot-ch/README                           |     2 +
 gcc/m2/mc-boot-ch/m2rts.h                          |    41 +
 gcc/m2/mc-boot-ch/network.c                        |    40 +
 gcc/m2/mc-boot/GASCII.c                            |    86 +
 gcc/m2/mc-boot/GASCII.h                            |    94 +
 gcc/m2/mc-boot/GArgs.c                             |   120 +
 gcc/m2/mc-boot/GArgs.h                             |    69 +
 gcc/m2/mc-boot/GAssertion.c                        |    71 +
 gcc/m2/mc-boot/GAssertion.h                        |    62 +
 gcc/m2/mc-boot/GBreak.c                            |    47 +
 gcc/m2/mc-boot/GBreak.h                            |    55 +
 gcc/m2/mc-boot/GCOROUTINES.h                       |    60 +
 gcc/m2/mc-boot/GCmdArgs.c                          |   322 +
 gcc/m2/mc-boot/GCmdArgs.h                          |    69 +
 gcc/m2/mc-boot/GDebug.c                            |   168 +
 gcc/m2/mc-boot/GDebug.h                            |    72 +
 gcc/m2/mc-boot/GDynamicStrings.c                   |  2686 ++
 gcc/m2/mc-boot/GDynamicStrings.h                   |   334 +
 gcc/m2/mc-boot/GEnvironment.c                      |   129 +
 gcc/m2/mc-boot/GEnvironment.h                      |    73 +
 gcc/m2/mc-boot/GFIO.c                              |  2328 ++
 gcc/m2/mc-boot/GFIO.h                              |   300 +
 gcc/m2/mc-boot/GFormatStrings.c                    |   845 +
 gcc/m2/mc-boot/GFormatStrings.h                    |    99 +
 gcc/m2/mc-boot/GFpuIO.c                            |   336 +
 gcc/m2/mc-boot/GFpuIO.h                            |    67 +
 gcc/m2/mc-boot/GIO.c                               |   479 +
 gcc/m2/mc-boot/GIO.h                               |    88 +
 gcc/m2/mc-boot/GIndexing.c                         |   491 +
 gcc/m2/mc-boot/GIndexing.h                         |   141 +
 gcc/m2/mc-boot/GM2Dependent.c                      |  1116 +
 gcc/m2/mc-boot/GM2Dependent.h                      |    78 +
 gcc/m2/mc-boot/GM2EXCEPTION.c                      |    89 +
 gcc/m2/mc-boot/GM2EXCEPTION.h                      |    59 +
 gcc/m2/mc-boot/GM2LINK.h                           |    59 +
 gcc/m2/mc-boot/GM2RTS.c                            |   744 +
 gcc/m2/mc-boot/GM2RTS.h                            |   182 +
 gcc/m2/mc-boot/GMemUtils.c                         |   126 +
 gcc/m2/mc-boot/GMemUtils.h                         |    68 +
 gcc/m2/mc-boot/GNumberIO.c                         |   776 +
 gcc/m2/mc-boot/GNumberIO.h                         |    78 +
 gcc/m2/mc-boot/GPushBackInput.c                    |   488 +
 gcc/m2/mc-boot/GPushBackInput.h                    |   142 +
 gcc/m2/mc-boot/GRTExceptions.c                     |  1221 +
 gcc/m2/mc-boot/GRTExceptions.h                     |   190 +
 gcc/m2/mc-boot/GRTco.h                             |   114 +
 gcc/m2/mc-boot/GRTint.c                            |  1122 +
 gcc/m2/mc-boot/GRTint.h                            |   137 +
 gcc/m2/mc-boot/GSArgs.c                            |   125 +
 gcc/m2/mc-boot/GSArgs.h                            |    72 +
 gcc/m2/mc-boot/GSFIO.c                             |   216 +
 gcc/m2/mc-boot/GSFIO.h                             |   110 +
 gcc/m2/mc-boot/GSYSTEM.h                           |   112 +
 gcc/m2/mc-boot/GSelective.h                        |    82 +
 gcc/m2/mc-boot/GStdIO.c                            |   269 +
 gcc/m2/mc-boot/GStdIO.h                            |   119 +
 gcc/m2/mc-boot/GStorage.c                          |    74 +
 gcc/m2/mc-boot/GStorage.h                          |    86 +
 gcc/m2/mc-boot/GStrCase.c                          |   175 +
 gcc/m2/mc-boot/GStrCase.h                          |    85 +
 gcc/m2/mc-boot/GStrIO.c                            |   277 +
 gcc/m2/mc-boot/GStrIO.h                            |    76 +
 gcc/m2/mc-boot/GStrLib.c                           |   346 +
 gcc/m2/mc-boot/GStrLib.h                           |   101 +
 gcc/m2/mc-boot/GStringConvert.c                    |  2005 ++
 gcc/m2/mc-boot/GStringConvert.h                    |   317 +
 gcc/m2/mc-boot/GSysExceptions.h                    |    62 +
 gcc/m2/mc-boot/GSysStorage.c                       |   249 +
 gcc/m2/mc-boot/GSysStorage.h                       |    95 +
 gcc/m2/mc-boot/GTimeString.c                       |    91 +
 gcc/m2/mc-boot/GTimeString.h                       |    62 +
 gcc/m2/mc-boot/GUnixArgs.h                         |    59 +
 gcc/m2/mc-boot/Galists.c                           |   440 +
 gcc/m2/mc-boot/Galists.h                           |   131 +
 gcc/m2/mc-boot/Gdecl.c                             | 26922 +++++++++++++++++++
 gcc/m2/mc-boot/Gdecl.h                             |  1281 +
 gcc/m2/mc-boot/Gdtoa.h                             |    76 +
 gcc/m2/mc-boot/Gerrno.h                            |    59 +
 gcc/m2/mc-boot/Gkeyc.c                             |  1621 ++
 gcc/m2/mc-boot/Gkeyc.h                             |   308 +
 gcc/m2/mc-boot/Gldtoa.h                            |    76 +
 gcc/m2/mc-boot/Glibc.h                             |   412 +
 gcc/m2/mc-boot/Glibm.h                             |    97 +
 gcc/m2/mc-boot/Glists.c                            |   439 +
 gcc/m2/mc-boot/Glists.h                            |   127 +
 gcc/m2/mc-boot/GmcComment.c                        |   468 +
 gcc/m2/mc-boot/GmcComment.h                        |   131 +
 gcc/m2/mc-boot/GmcComp.c                           |   660 +
 gcc/m2/mc-boot/GmcComp.h                           |    63 +
 gcc/m2/mc-boot/GmcDebug.c                          |    86 +
 gcc/m2/mc-boot/GmcDebug.h                          |    63 +
 gcc/m2/mc-boot/GmcError.c                          |  1197 +
 gcc/m2/mc-boot/GmcError.h                          |   170 +
 gcc/m2/mc-boot/GmcFileName.c                       |   152 +
 gcc/m2/mc-boot/GmcFileName.h                       |    84 +
 gcc/m2/mc-boot/GmcLexBuf.c                         |  1849 ++
 gcc/m2/mc-boot/GmcLexBuf.h                         |   233 +
 gcc/m2/mc-boot/GmcMetaError.c                      |  1880 ++
 gcc/m2/mc-boot/GmcMetaError.h                      |    76 +
 gcc/m2/mc-boot/GmcOptions.c                        |  1046 +
 gcc/m2/mc-boot/GmcOptions.h                        |   140 +
 gcc/m2/mc-boot/GmcPreprocess.c                     |   181 +
 gcc/m2/mc-boot/GmcPreprocess.h                     |    63 +
 gcc/m2/mc-boot/GmcPretty.c                         |   468 +
 gcc/m2/mc-boot/GmcPretty.h                         |   158 +
 gcc/m2/mc-boot/GmcPrintf.c                         |   655 +
 gcc/m2/mc-boot/GmcPrintf.h                         |   122 +
 gcc/m2/mc-boot/GmcQuiet.c                          |   129 +
 gcc/m2/mc-boot/GmcQuiet.h                          |    56 +
 gcc/m2/mc-boot/GmcReserved.c                       |    40 +
 gcc/m2/mc-boot/GmcReserved.h                       |    52 +
 gcc/m2/mc-boot/GmcSearch.c                         |   408 +
 gcc/m2/mc-boot/GmcSearch.h                         |   119 +
 gcc/m2/mc-boot/GmcStack.c                          |   228 +
 gcc/m2/mc-boot/GmcStack.h                          |   102 +
 gcc/m2/mc-boot/GmcStream.c                         |   266 +
 gcc/m2/mc-boot/GmcStream.h                         |    79 +
 gcc/m2/mc-boot/Gmcflex.h                           |    89 +
 gcc/m2/mc-boot/Gmcp1.c                             |  7265 +++++
 gcc/m2/mc-boot/Gmcp1.h                             |    57 +
 gcc/m2/mc-boot/Gmcp2.c                             |  7637 ++++++
 gcc/m2/mc-boot/Gmcp2.h                             |    57 +
 gcc/m2/mc-boot/Gmcp3.c                             |  7854 ++++++
 gcc/m2/mc-boot/Gmcp3.h                             |    57 +
 gcc/m2/mc-boot/Gmcp4.c                             |  7717 ++++++
 gcc/m2/mc-boot/Gmcp4.h                             |    57 +
 gcc/m2/mc-boot/Gmcp5.c                             |  8576 ++++++
 gcc/m2/mc-boot/Gmcp5.h                             |    57 +
 gcc/m2/mc-boot/GnameKey.c                          |   584 +
 gcc/m2/mc-boot/GnameKey.h                          |   111 +
 gcc/m2/mc-boot/Gpth.h                              |    43 +
 gcc/m2/mc-boot/GsymbolKey.c                        |   406 +
 gcc/m2/mc-boot/GsymbolKey.h                        |   127 +
 gcc/m2/mc-boot/Gtermios.h                          |   207 +
 gcc/m2/mc-boot/Gtop.c                              |   100 +
 gcc/m2/mc-boot/Gvarargs.c                          |   431 +
 gcc/m2/mc-boot/Gvarargs.h                          |   119 +
 gcc/m2/mc-boot/Gwlists.c                           |   471 +
 gcc/m2/mc-boot/Gwlists.h                           |   139 +
 gcc/m2/mc-boot/Gwrapc.h                            |   125 +
 gcc/m2/mc-boot/README                              |     3 +
 gcc/m2/mc/Indexing.def                             |   128 +
 gcc/m2/mc/Indexing.mod                             |   343 +
 gcc/m2/mc/README                                   |    65 +
 gcc/m2/mc/alists.def                               |   112 +
 gcc/m2/mc/alists.mod                               |   305 +
 gcc/m2/mc/decl.def                                 |  1442 +
 gcc/m2/mc/decl.mod                                 | 16953 ++++++++++++
 gcc/m2/mc/decl.mod-extra                           |    64 +
 gcc/m2/mc/keyc.def                                 |   324 +
 gcc/m2/mc/keyc.mod                                 |  1153 +
 gcc/m2/mc/lists.def                                |   112 +
 gcc/m2/mc/lists.mod                                |   304 +
 gcc/m2/mc/m2flex.def                               |    78 +
 gcc/m2/mc/mc.flex                                  |   745 +
 gcc/m2/mc/mcComment.def                            |   116 +
 gcc/m2/mc/mcComment.h                              |    40 +
 gcc/m2/mc/mcComment.mod                            |   293 +
 gcc/m2/mc/mcComp.def                               |    41 +
 gcc/m2/mc/mcComp.mod                               |   477 +
 gcc/m2/mc/mcDebug.def                              |    40 +
 gcc/m2/mc/mcDebug.mod                              |    53 +
 gcc/m2/mc/mcError.def                              |   178 +
 gcc/m2/mc/mcError.mod                              |   806 +
 gcc/m2/mc/mcFileName.def                           |    64 +
 gcc/m2/mc/mcFileName.mod                           |   102 +
 gcc/m2/mc/mcLexBuf.def                             |   244 +
 gcc/m2/mc/mcLexBuf.h                               |   224 +
 gcc/m2/mc/mcLexBuf.mod                             |  1197 +
 gcc/m2/mc/mcMetaError.def                          |   128 +
 gcc/m2/mc/mcMetaError.mod                          |  1034 +
 gcc/m2/mc/mcOptions.def                            |   137 +
 gcc/m2/mc/mcOptions.mod                            |   718 +
 gcc/m2/mc/mcPreprocess.def                         |    41 +
 gcc/m2/mc/mcPreprocess.mod                         |   132 +
 gcc/m2/mc/mcPretty.def                             |   140 +
 gcc/m2/mc/mcPretty.mod                             |   304 +
 gcc/m2/mc/mcPrintf.def                             |    57 +
 gcc/m2/mc/mcPrintf.mod                             |   308 +
 gcc/m2/mc/mcQuiet.def                              |    39 +
 gcc/m2/mc/mcQuiet.mod                              |    69 +
 gcc/m2/mc/mcReserved.def                           |    52 +
 gcc/m2/mc/mcReserved.h                             |    62 +
 gcc/m2/mc/mcReserved.mod                           |    21 +
 gcc/m2/mc/mcSearch.def                             |   107 +
 gcc/m2/mc/mcSearch.mod                             |   295 +
 gcc/m2/mc/mcStack.def                              |    84 +
 gcc/m2/mc/mcStack.mod                              |   145 +
 gcc/m2/mc/mcStream.def                             |    59 +
 gcc/m2/mc/mcStream.mod                             |   180 +
 gcc/m2/mc/mcflex.def                               |    78 +
 gcc/m2/mc/mcp1.bnf                                 |  1101 +
 gcc/m2/mc/mcp1.def                                 |    33 +
 gcc/m2/mc/mcp2.bnf                                 |  1136 +
 gcc/m2/mc/mcp2.def                                 |    32 +
 gcc/m2/mc/mcp3.bnf                                 |  1328 +
 gcc/m2/mc/mcp3.def                                 |    33 +
 gcc/m2/mc/mcp4.bnf                                 |  1267 +
 gcc/m2/mc/mcp4.def                                 |    33 +
 gcc/m2/mc/mcp5.bnf                                 |  1568 ++
 gcc/m2/mc/mcp5.def                                 |    33 +
 gcc/m2/mc/nameKey.def                              |   101 +
 gcc/m2/mc/nameKey.mod                              |   398 +
 gcc/m2/mc/symbolKey.def                            |   104 +
 gcc/m2/mc/symbolKey.mod                            |   298 +
 gcc/m2/mc/top.mod                                  |    60 +
 gcc/m2/mc/varargs.def                              |   105 +
 gcc/m2/mc/varargs.mod                              |   290 +
 gcc/m2/mc/wlists.def                               |   122 +
 gcc/m2/mc/wlists.mod                               |   327 +
 gcc/m2/pge-boot/GASCII.c                           |    84 +
 gcc/m2/pge-boot/GASCII.h                           |    94 +
 gcc/m2/pge-boot/GArgs.c                            |   118 +
 gcc/m2/pge-boot/GArgs.h                            |    69 +
 gcc/m2/pge-boot/GAssertion.c                       |    69 +
 gcc/m2/pge-boot/GAssertion.h                       |    62 +
 gcc/m2/pge-boot/GBreak.h                           |    55 +
 gcc/m2/pge-boot/GBuiltins.c                        |    43 +
 gcc/m2/pge-boot/GCmdArgs.h                         |    69 +
 gcc/m2/pge-boot/GDebug.c                           |   168 +
 gcc/m2/pge-boot/GDebug.h                           |    72 +
 gcc/m2/pge-boot/GDynamicStrings.c                  |  2689 ++
 gcc/m2/pge-boot/GDynamicStrings.h                  |   334 +
 gcc/m2/pge-boot/GEnvironment.h                     |    73 +
 gcc/m2/pge-boot/GFIO.c                             |  2331 ++
 gcc/m2/pge-boot/GFIO.h                             |   300 +
 gcc/m2/pge-boot/GFormatStrings.h                   |    99 +
 gcc/m2/pge-boot/GFpuIO.h                           |    67 +
 gcc/m2/pge-boot/GIO.c                              |   479 +
 gcc/m2/pge-boot/GIO.h                              |    88 +
 gcc/m2/pge-boot/GIndexing.c                        |   493 +
 gcc/m2/pge-boot/GIndexing.h                        |   146 +
 gcc/m2/pge-boot/GLists.c                           |   427 +
 gcc/m2/pge-boot/GLists.h                           |   127 +
 gcc/m2/pge-boot/GM2Dependent.c                     |  1162 +
 gcc/m2/pge-boot/GM2Dependent.h                     |    78 +
 gcc/m2/pge-boot/GM2EXCEPTION.c                     |    88 +
 gcc/m2/pge-boot/GM2EXCEPTION.h                     |    59 +
 gcc/m2/pge-boot/GM2LINK.c                          |    27 +
 gcc/m2/pge-boot/GM2LINK.h                          |    59 +
 gcc/m2/pge-boot/GM2RTS.c                           |   747 +
 gcc/m2/pge-boot/GM2RTS.h                           |   182 +
 gcc/m2/pge-boot/GNameKey.c                         |   612 +
 gcc/m2/pge-boot/GNameKey.h                         |   117 +
 gcc/m2/pge-boot/GNumberIO.c                        |   777 +
 gcc/m2/pge-boot/GNumberIO.h                        |    78 +
 gcc/m2/pge-boot/GOutput.c                          |   315 +
 gcc/m2/pge-boot/GOutput.h                          |   119 +
 gcc/m2/pge-boot/GPushBackInput.c                   |   489 +
 gcc/m2/pge-boot/GPushBackInput.h                   |   142 +
 gcc/m2/pge-boot/GRTExceptions.c                    |  1224 +
 gcc/m2/pge-boot/GRTExceptions.h                    |   190 +
 gcc/m2/pge-boot/GRTco.c                            |   126 +
 gcc/m2/pge-boot/GSArgs.h                           |    72 +
 gcc/m2/pge-boot/GSEnvironment.h                    |    73 +
 gcc/m2/pge-boot/GSFIO.c                            |   215 +
 gcc/m2/pge-boot/GSFIO.h                            |   110 +
 gcc/m2/pge-boot/GSYSTEM.c                          |    38 +
 gcc/m2/pge-boot/GSYSTEM.h                          |   112 +
 gcc/m2/pge-boot/GScan.h                            |    93 +
 gcc/m2/pge-boot/GSelective.c                       |   275 +
 gcc/m2/pge-boot/GStdIO.c                           |   267 +
 gcc/m2/pge-boot/GStdIO.h                           |   119 +
 gcc/m2/pge-boot/GStorage.c                         |    72 +
 gcc/m2/pge-boot/GStorage.h                         |    86 +
 gcc/m2/pge-boot/GStrCase.c                         |   175 +
 gcc/m2/pge-boot/GStrCase.h                         |    85 +
 gcc/m2/pge-boot/GStrIO.c                           |   277 +
 gcc/m2/pge-boot/GStrIO.h                           |    76 +
 gcc/m2/pge-boot/GStrLib.c                          |   346 +
 gcc/m2/pge-boot/GStrLib.h                          |   101 +
 gcc/m2/pge-boot/GStringConvert.h                   |   317 +
 gcc/m2/pge-boot/GSymbolKey.c                       |   556 +
 gcc/m2/pge-boot/GSymbolKey.h                       |   141 +
 gcc/m2/pge-boot/GSysExceptions.c                   |   237 +
 gcc/m2/pge-boot/GSysExceptions.h                   |    62 +
 gcc/m2/pge-boot/GSysStorage.c                      |   249 +
 gcc/m2/pge-boot/GSysStorage.h                      |    95 +
 gcc/m2/pge-boot/GTimeString.h                      |    62 +
 gcc/m2/pge-boot/GUnixArgs.cc                       |    91 +
 gcc/m2/pge-boot/GUnixArgs.h                        |    59 +
 gcc/m2/pge-boot/Gabort.c                           |    30 +
 gcc/m2/pge-boot/Gbnflex.c                          |   602 +
 gcc/m2/pge-boot/Gbnflex.h                          |   147 +
 gcc/m2/pge-boot/Gcbuiltin.c                        |   173 +
 gcc/m2/pge-boot/Gdtoa.c                            |   184 +
 gcc/m2/pge-boot/Gdtoa.h                            |    76 +
 gcc/m2/pge-boot/Gerrno.c                           |    54 +
 gcc/m2/pge-boot/Gerrno.h                           |    59 +
 gcc/m2/pge-boot/Gldtoa.c                           |   107 +
 gcc/m2/pge-boot/Gldtoa.h                           |    76 +
 gcc/m2/pge-boot/Glibc.c                            |   242 +
 gcc/m2/pge-boot/Glibc.h                            |   412 +
 gcc/m2/pge-boot/Glibm.c                            |   224 +
 gcc/m2/pge-boot/Glibm.h                            |    97 +
 gcc/m2/pge-boot/Gmcrts.c                           |    54 +
 gcc/m2/pge-boot/Gmcrts.h                           |    37 +
 gcc/m2/pge-boot/Gnetwork.h                         |    56 +
 gcc/m2/pge-boot/Gpge.c                             |  9753 +++++++
 gcc/m2/pge-boot/Gtermios.cc                        |  1947 ++
 gcc/m2/pge-boot/Gtermios.h                         |   207 +
 gcc/m2/pge-boot/Gwrapc.c                           |   183 +
 gcc/m2/pge-boot/Gwrapc.h                           |   125 +
 gcc/m2/pge-boot/README                             |     2 +
 gcc/m2/pge-boot/m2rts.h                            |    41 +
 gcc/m2/pge-boot/main.c                             |   123 +
 gcc/m2/pge-boot/network.c                          |    40 +
 gcc/m2/plugin/README                               |     2 +
 gcc/m2/plugin/m2rte.cc                             |   335 +
 gcc/m2/target-independent/Builtins.texi            |   340 +
 gcc/m2/target-independent/SYSTEM-iso.texi          |   251 +
 gcc/m2/target-independent/SYSTEM-pim.texi          |   190 +
 gcc/m2/target-independent/gm2-libs.texi            | 14967 +++++++++++
 gcc/m2/target-independent/readme.txt               |     3 +
 gcc/m2/tools-src/README                            |     3 +
 gcc/m2/tools-src/boilerplate.py                    |   548 +
 gcc/m2/tools-src/buildpg                           |   289 +
 gcc/m2/tools-src/calcpath                          |    51 +
 gcc/m2/tools-src/def2doc.py                        |   539 +
 gcc/m2/tools-src/makeSystem                        |   108 +
 gcc/m2/tools-src/mklink.c                          |   807 +
 gcc/m2/tools-src/tidydates.py                      |   166 +
 gcc/m2/version.c                                   |     1 +
 .../gm2/calling-c/datatypes/unbounded/run/pass/c.c |    30 +
 .../calling-c/datatypes/unbounded/run/pass/c.def   |    28 +
 .../calling-c-datatypes-unbounded-run-pass.exp     |    43 +
 .../calling-c/datatypes/unbounded/run/pass/m.mod   |    42 +
 gcc/testsuite/gm2/case/pass/case-pass.exp          |    37 +
 gcc/testsuite/gm2/case/pass/testcase1.mod          |    40 +
 gcc/testsuite/gm2/case/pass/testcase2.mod          |    42 +
 gcc/testsuite/gm2/case/pass/testcase3.mod          |    32 +
 gcc/testsuite/gm2/case/pass/testcase4.mod          |    38 +
 gcc/testsuite/gm2/complex/fail/var1.mod            |    29 +
 gcc/testsuite/gm2/complex/pass/arith.mod           |    30 +
 gcc/testsuite/gm2/complex/pass/arith2.mod          |    35 +
 gcc/testsuite/gm2/complex/pass/arith3.mod          |    46 +
 gcc/testsuite/gm2/complex/pass/arith4.mod          |    24 +
 gcc/testsuite/gm2/complex/pass/arith5.mod          |    26 +
 gcc/testsuite/gm2/complex/pass/arith6.mod          |    31 +
 gcc/testsuite/gm2/complex/pass/complex-pass.exp    |    37 +
 gcc/testsuite/gm2/complex/pass/consts.mod          |    26 +
 gcc/testsuite/gm2/complex/pass/consts2.mod         |    31 +
 gcc/testsuite/gm2/complex/pass/consts3.mod         |    33 +
 gcc/testsuite/gm2/complex/pass/tinycabs.mod        |    34 +
 gcc/testsuite/gm2/complex/pass/var1.mod            |    28 +
 gcc/testsuite/gm2/complex/pass/var2.mod            |    28 +
 gcc/testsuite/gm2/complex/pass/var3.mod            |    28 +
 gcc/testsuite/gm2/complex/pass/var4.mod            |    29 +
 gcc/testsuite/gm2/complex/pass/var5.mod            |    27 +
 gcc/testsuite/gm2/complex/pass/var6.mod            |    27 +
 gcc/testsuite/gm2/complex/pass/var7.mod            |    27 +
 gcc/testsuite/gm2/complex/pass/var8.mod            |    28 +
 gcc/testsuite/gm2/complex/run/pass/arith3.mod      |    58 +
 gcc/testsuite/gm2/complex/run/pass/arith4.mod      |    53 +
 gcc/testsuite/gm2/complex/run/pass/arith5.mod      |    67 +
 gcc/testsuite/gm2/complex/run/pass/arith6.mod      |    31 +
 gcc/testsuite/gm2/complex/run/pass/arith7.mod      |    44 +
 gcc/testsuite/gm2/complex/run/pass/arith8.mod      |    36 +
 .../gm2/complex/run/pass/complex-run-pass.exp      |    41 +
 .../pim/run/pass/coroutines-pim-run-pass.exp       |    39 +
 .../gm2/coroutines/pim/run/pass/testiotransfer.mod |    88 +
 .../gm2/coroutines/pim/run/pass/testtransfer.mod   |    87 +
 gcc/testsuite/gm2/cpp/fail/another.h               |    21 +
 gcc/testsuite/gm2/cpp/fail/fail1.mod               |    26 +
 gcc/testsuite/gm2/cpp/longcard2.mod                |    29 +
 gcc/testsuite/gm2/cpp/longstrimp.mod               |    21 +
 gcc/testsuite/gm2/cpp/pass/arrayhuge.mod           |    30 +
 gcc/testsuite/gm2/cpp/pass/arrayhuge2.mod          |    30 +
 gcc/testsuite/gm2/cpp/pass/cpp-pass.exp            |    37 +
 gcc/testsuite/gm2/cpp/pass/cpp.mod                 |    49 +
 gcc/testsuite/gm2/cpp/pass/cpph.mod                |    49 +
 gcc/testsuite/gm2/cpp/pass/subaddr.mod             |    35 +
 gcc/testsuite/gm2/cpp/pass/testcpp.mod             |    32 +
 gcc/testsuite/gm2/cpp/pass/testcpp2.mod            |    46 +
 gcc/testsuite/gm2/cpp/setchar2.mod                 |    37 +
 gcc/testsuite/gm2/cpp/setchar6.mod                 |    37 +
 gcc/testsuite/gm2/cse/fail/cse-fail.exp            |    37 +
 gcc/testsuite/gm2/cse/fail/testcse38.mod           |    28 +
 gcc/testsuite/gm2/cse/pass/cse-pass.exp            |    37 +
 gcc/testsuite/gm2/cse/pass/m2t.c                   |   113 +
 gcc/testsuite/gm2/cse/pass/testb.mod               |    23 +
 gcc/testsuite/gm2/cse/pass/testbuiltin.def         |    22 +
 gcc/testsuite/gm2/cse/pass/testbuiltin.mod         |    27 +
 gcc/testsuite/gm2/cse/pass/testcse.def             |    32 +
 gcc/testsuite/gm2/cse/pass/testcse.mod             |    29 +
 gcc/testsuite/gm2/cse/pass/testcse10.mod           |    27 +
 gcc/testsuite/gm2/cse/pass/testcse11.mod           |    39 +
 gcc/testsuite/gm2/cse/pass/testcse12.mod           |    49 +
 gcc/testsuite/gm2/cse/pass/testcse13.mod           |    47 +
 gcc/testsuite/gm2/cse/pass/testcse14.mod           |    37 +
 gcc/testsuite/gm2/cse/pass/testcse15.mod           |    49 +
 gcc/testsuite/gm2/cse/pass/testcse16.mod           |    80 +
 gcc/testsuite/gm2/cse/pass/testcse17.mod           |    55 +
 gcc/testsuite/gm2/cse/pass/testcse18.mod           |    54 +
 gcc/testsuite/gm2/cse/pass/testcse19.mod           |    28 +
 gcc/testsuite/gm2/cse/pass/testcse2.mod            |    27 +
 gcc/testsuite/gm2/cse/pass/testcse20.mod           |    41 +
 gcc/testsuite/gm2/cse/pass/testcse21.mod           |    40 +
 gcc/testsuite/gm2/cse/pass/testcse22.mod           |    32 +
 gcc/testsuite/gm2/cse/pass/testcse23.mod           |    26 +
 gcc/testsuite/gm2/cse/pass/testcse24.mod           |    41 +
 gcc/testsuite/gm2/cse/pass/testcse25.mod           |    35 +
 gcc/testsuite/gm2/cse/pass/testcse26.mod           |    73 +
 gcc/testsuite/gm2/cse/pass/testcse27.mod           |    46 +
 gcc/testsuite/gm2/cse/pass/testcse28.mod           |    43 +
 gcc/testsuite/gm2/cse/pass/testcse29.mod           |    50 +
 gcc/testsuite/gm2/cse/pass/testcse3.mod            |    33 +
 gcc/testsuite/gm2/cse/pass/testcse31.mod           |    49 +
 gcc/testsuite/gm2/cse/pass/testcse32.mod           |    26 +
 gcc/testsuite/gm2/cse/pass/testcse33.mod           |    51 +
 gcc/testsuite/gm2/cse/pass/testcse34.mod           |    26 +
 gcc/testsuite/gm2/cse/pass/testcse35.mod           |    29 +
 gcc/testsuite/gm2/cse/pass/testcse36.mod           |    24 +
 gcc/testsuite/gm2/cse/pass/testcse37.mod           |    33 +
 gcc/testsuite/gm2/cse/pass/testcse39.mod           |    41 +
 gcc/testsuite/gm2/cse/pass/testcse4.c              |    48 +
 gcc/testsuite/gm2/cse/pass/testcse4.mod            |    44 +
 gcc/testsuite/gm2/cse/pass/testcse40.mod           |    23 +
 gcc/testsuite/gm2/cse/pass/testcse41.mod           |    42 +
 gcc/testsuite/gm2/cse/pass/testcse42.mod           |    26 +
 gcc/testsuite/gm2/cse/pass/testcse43.mod           |    95 +
 gcc/testsuite/gm2/cse/pass/testcse44.mod           |    35 +
 gcc/testsuite/gm2/cse/pass/testcse45.mod           |    62 +
 gcc/testsuite/gm2/cse/pass/testcse46.mod           |    26 +
 gcc/testsuite/gm2/cse/pass/testcse47.mod           |    24 +
 gcc/testsuite/gm2/cse/pass/testcse48.mod           |    52 +
 gcc/testsuite/gm2/cse/pass/testcse49.mod           |    53 +
 gcc/testsuite/gm2/cse/pass/testcse5.c              |    56 +
 gcc/testsuite/gm2/cse/pass/testcse5.mod            |    94 +
 gcc/testsuite/gm2/cse/pass/testcse50.def           |    22 +
 gcc/testsuite/gm2/cse/pass/testcse50.mod           |    37 +
 gcc/testsuite/gm2/cse/pass/testcse51.mod           |    28 +
 gcc/testsuite/gm2/cse/pass/testcse52.def           |    30 +
 gcc/testsuite/gm2/cse/pass/testcse52.mod           |    29 +
 gcc/testsuite/gm2/cse/pass/testcse53.def           |    30 +
 gcc/testsuite/gm2/cse/pass/testcse53.mod           |    30 +
 gcc/testsuite/gm2/cse/pass/testcse6.c              |    14 +
 gcc/testsuite/gm2/cse/pass/testcse6.mod            |    42 +
 gcc/testsuite/gm2/cse/pass/testcse7.c              |    21 +
 gcc/testsuite/gm2/cse/pass/testcse7.mod            |    53 +
 gcc/testsuite/gm2/cse/pass/testcse8.c              |    30 +
 gcc/testsuite/gm2/cse/pass/testcse8.mod            |    54 +
 gcc/testsuite/gm2/cse/pass/testcse9.c              |     7 +
 gcc/testsuite/gm2/cse/pass/testsize.mod            |    27 +
 gcc/testsuite/gm2/dynamic/pass/add.mod             |    23 +
 gcc/testsuite/gm2/dynamic/pass/dynamic-pass.exp    |    37 +
 gcc/testsuite/gm2/dynamic/pass/prog21.mod          |   199 +
 gcc/testsuite/gm2/dynamic/pass/testarray.mod       |    41 +
 gcc/testsuite/gm2/dynamic/pass/testarray2.mod      |    27 +
 gcc/testsuite/gm2/dynamic/pass/testarray3.mod      |    27 +
 gcc/testsuite/gm2/dynamic/pass/testarray4.mod      |    36 +
 gcc/testsuite/gm2/dynamic/pass/testarray6.mod      |    26 +
 gcc/testsuite/gm2/dynamic/pass/testbec.mod         |    42 +
 gcc/testsuite/gm2/dynamic/pass/testbec10.mod       |    40 +
 gcc/testsuite/gm2/dynamic/pass/testbec11.mod       |    46 +
 gcc/testsuite/gm2/dynamic/pass/testbec12.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec13.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec14.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec15.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec16.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec17.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec18.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec19.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec2.mod        |    26 +
 gcc/testsuite/gm2/dynamic/pass/testbec20.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec21.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec22.mod       |    29 +
 gcc/testsuite/gm2/dynamic/pass/testbec23.mod       |    30 +
 gcc/testsuite/gm2/dynamic/pass/testbec24.mod       |    30 +
 gcc/testsuite/gm2/dynamic/pass/testbec25.mod       |    27 +
 gcc/testsuite/gm2/dynamic/pass/testbec26.mod       |    26 +
 gcc/testsuite/gm2/dynamic/pass/testbec27.mod       |    29 +
 gcc/testsuite/gm2/dynamic/pass/testbec28.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec29.mod       |    29 +
 gcc/testsuite/gm2/dynamic/pass/testbec3.mod        |    25 +
 gcc/testsuite/gm2/dynamic/pass/testbec30.mod       |    25 +
 gcc/testsuite/gm2/dynamic/pass/testbec31.mod       |    29 +
 gcc/testsuite/gm2/dynamic/pass/testbec32.mod       |    35 +
 gcc/testsuite/gm2/dynamic/pass/testbec33.mod       |    38 +
 gcc/testsuite/gm2/dynamic/pass/testbec34.mod       |    32 +
 gcc/testsuite/gm2/dynamic/pass/testbec35.mod       |    31 +
 gcc/testsuite/gm2/dynamic/pass/testbec36.mod       |    38 +
 gcc/testsuite/gm2/dynamic/pass/testbec37.mod       |    40 +
 gcc/testsuite/gm2/dynamic/pass/testbec38.mod       |    37 +
 gcc/testsuite/gm2/dynamic/pass/testbec39.mod       |    26 +
 gcc/testsuite/gm2/dynamic/pass/testbec4.mod        |    33 +
 gcc/testsuite/gm2/dynamic/pass/testbec40.mod       |    27 +
 gcc/testsuite/gm2/dynamic/pass/testbec41.mod       |    25 +
 gcc/testsuite/gm2/dynamic/pass/testbec42.mod       |    27 +
 gcc/testsuite/gm2/dynamic/pass/testbec43.mod       |    24 +
 gcc/testsuite/gm2/dynamic/pass/testbec44.mod       |    32 +
 gcc/testsuite/gm2/dynamic/pass/testbec45.mod       |    25 +
 gcc/testsuite/gm2/dynamic/pass/testbec5.mod        |    38 +
 gcc/testsuite/gm2/dynamic/pass/testbec6.mod        |    32 +
 gcc/testsuite/gm2/dynamic/pass/testbec7.mod        |    42 +
 gcc/testsuite/gm2/dynamic/pass/testbec8.mod        |    31 +
 gcc/testsuite/gm2/dynamic/pass/testbec9.mod        |    26 +
 gcc/testsuite/gm2/dynamic/pass/testdavid.mod       |    28 +
 gcc/testsuite/gm2/dynamic/pass/testdiv.mod         |   104 +
 gcc/testsuite/gm2/dynamic/pass/testexp.mod         |    27 +
 gcc/testsuite/gm2/dynamic/pass/testfor.mod         |    53 +
 gcc/testsuite/gm2/dynamic/pass/testfor2.mod        |    26 +
 gcc/testsuite/gm2/dynamic/pass/testfunc.mod        |    31 +
 gcc/testsuite/gm2/dynamic/pass/testfunc2.mod       |    37 +
 gcc/testsuite/gm2/dynamic/pass/testfunc3.mod       |    81 +
 gcc/testsuite/gm2/dynamic/pass/testfunc4.mod       |    30 +
 gcc/testsuite/gm2/dynamic/pass/testfunc5.mod       |    51 +
 gcc/testsuite/gm2/dynamic/pass/testfunc6.mod       |    36 +
 gcc/testsuite/gm2/dynamic/pass/testif.mod          |    61 +
 gcc/testsuite/gm2/dynamic/pass/testit.mod          |    23 +
 gcc/testsuite/gm2/dynamic/pass/testloop.mod        |    23 +
 gcc/testsuite/gm2/dynamic/pass/testloop2.mod       |    56 +
 gcc/testsuite/gm2/dynamic/pass/testloop3.mod       |    55 +
 gcc/testsuite/gm2/dynamic/pass/testloop4.mod       |    36 +
 gcc/testsuite/gm2/dynamic/pass/testloop5.mod       |    46 +
 gcc/testsuite/gm2/dynamic/pass/testmin.mod         |    46 +
 gcc/testsuite/gm2/dynamic/pass/testnum4.mod        |    25 +
 gcc/testsuite/gm2/dynamic/pass/testord.mod         |    31 +
 gcc/testsuite/gm2/dynamic/pass/testparam.mod       |    29 +
 gcc/testsuite/gm2/dynamic/pass/testparam2.mod      |    58 +
 gcc/testsuite/gm2/dynamic/pass/testproc.mod        |    24 +
 gcc/testsuite/gm2/dynamic/pass/testproc2.c         |    21 +
 gcc/testsuite/gm2/dynamic/pass/testproc2.def       |    25 +
 gcc/testsuite/gm2/dynamic/pass/testproc2.mod       |    32 +
 gcc/testsuite/gm2/dynamic/pass/testscn.mod         |    49 +
 gcc/testsuite/gm2/dynamic/pass/testset.mod         |    32 +
 gcc/testsuite/gm2/dynamic/pass/testset2.mod        |    31 +
 gcc/testsuite/gm2/dynamic/pass/testset3.mod        |    24 +
 gcc/testsuite/gm2/dynamic/pass/teststr.c           |    12 +
 gcc/testsuite/gm2/dynamic/pass/teststr.mod         |    53 +
 gcc/testsuite/gm2/dynamic/pass/teststr2.mod        |    35 +
 gcc/testsuite/gm2/dynamic/pass/teststring.mod      |    40 +
 gcc/testsuite/gm2/dynamic/pass/testunbounded.mod   |    44 +
 gcc/testsuite/gm2/dynamic/pass/testwith.mod        |    38 +
 gcc/testsuite/gm2/dynamic/pass/testzero.mod        |    27 +
 gcc/testsuite/gm2/dynamic/pass/wc.mod              |    59 +
 gcc/testsuite/gm2/embedded/pass/embedded-pass.exp  |    37 +
 gcc/testsuite/gm2/embedded/pass/varataddress.mod   |    25 +
 gcc/testsuite/gm2/embedded/pass/varataddress1.mod  |    27 +
 gcc/testsuite/gm2/embedded/pass/varataddress2.mod  |    28 +
 gcc/testsuite/gm2/embedded/pass/varataddress3.mod  |    32 +
 gcc/testsuite/gm2/errors/fail/array1.mod           |    25 +
 gcc/testsuite/gm2/errors/fail/badexpr.mod          |    13 +
 gcc/testsuite/gm2/errors/fail/badfor.mod           |    33 +
 gcc/testsuite/gm2/errors/fail/badhigh.mod          |     9 +
 gcc/testsuite/gm2/errors/fail/badshift.mod         |    32 +
 gcc/testsuite/gm2/errors/fail/badsubexpradr.mod    |    30 +
 gcc/testsuite/gm2/errors/fail/binaryconst.mod      |     7 +
 gcc/testsuite/gm2/errors/fail/binarygeneric.mod    |    11 +
 .../gm2/errors/fail/binarygenericconst.mod         |    10 +
 gcc/testsuite/gm2/errors/fail/end.mod              |    20 +
 gcc/testsuite/gm2/errors/fail/errors-fail.exp      |    37 +
 gcc/testsuite/gm2/errors/fail/mismatched.mod       |    23 +
 gcc/testsuite/gm2/errors/fail/mismatchedproc.mod   |    28 +
 gcc/testsuite/gm2/errors/fail/nestedproc4.mod      |    78 +
 gcc/testsuite/gm2/errors/fail/nomodule.mod         |    24 +
 gcc/testsuite/gm2/errors/fail/proctype.mod         |    32 +
 gcc/testsuite/gm2/errors/fail/prog110.mod          |    43 +
 gcc/testsuite/gm2/errors/fail/prog111.mod          |    24 +
 gcc/testsuite/gm2/errors/fail/prog113.mod          |    26 +
 gcc/testsuite/gm2/errors/fail/prog114.mod          |    27 +
 gcc/testsuite/gm2/errors/fail/testaddress.mod      |    10 +
 gcc/testsuite/gm2/errors/fail/testarray.mod        |    24 +
 gcc/testsuite/gm2/errors/fail/testbit.mod          |    30 +
 gcc/testsuite/gm2/errors/fail/testbit2.mod         |    30 +
 gcc/testsuite/gm2/errors/fail/testcase.mod         |    27 +
 gcc/testsuite/gm2/errors/fail/testcomment.mod      |    26 +
 gcc/testsuite/gm2/errors/fail/testcomment2.mod     |    25 +
 gcc/testsuite/gm2/errors/fail/testcomment3.mod     |    24 +
 gcc/testsuite/gm2/errors/fail/testconst.mod        |    23 +
 gcc/testsuite/gm2/errors/fail/testdyn.mod          |    31 +
 gcc/testsuite/gm2/errors/fail/testdyn2.mod         |    27 +
 gcc/testsuite/gm2/errors/fail/testdyn3.mod         |    27 +
 gcc/testsuite/gm2/errors/fail/testexp.mod          |    26 +
 gcc/testsuite/gm2/errors/fail/testfio.mod          |    48 +
 gcc/testsuite/gm2/errors/fail/testimport.mod       |    25 +
 gcc/testsuite/gm2/errors/fail/testimport2.def      |    22 +
 gcc/testsuite/gm2/errors/fail/testimport2.mod      |    31 +
 gcc/testsuite/gm2/errors/fail/testinit.mod         |    45 +
 gcc/testsuite/gm2/errors/fail/testmodule.mod       |     7 +
 gcc/testsuite/gm2/errors/fail/testnil.mod          |     7 +
 gcc/testsuite/gm2/errors/fail/testnil2.mod         |     7 +
 gcc/testsuite/gm2/errors/fail/testparam.mod        |    28 +
 gcc/testsuite/gm2/errors/fail/testproc.mod         |     9 +
 gcc/testsuite/gm2/errors/fail/testproc2.mod        |    44 +
 gcc/testsuite/gm2/errors/fail/testsize.mod         |     9 +
 gcc/testsuite/gm2/errors/fail/teststring.mod       |    24 +
 gcc/testsuite/gm2/errors/fail/testsub3.mod         |    28 +
 gcc/testsuite/gm2/errors/fail/testsub4.mod         |    25 +
 gcc/testsuite/gm2/errors/fail/testtype.mod         |    36 +
 gcc/testsuite/gm2/errors/fail/testvar.mod          |    27 +
 gcc/testsuite/gm2/errors/fail/testwith.mod         |    30 +
 gcc/testsuite/gm2/errors/fail/testwrite.mod        |    40 +
 gcc/testsuite/gm2/errors/fail/type.mod             |    29 +
 gcc/testsuite/gm2/errors/fail/unarygeneric.mod     |    10 +
 gcc/testsuite/gm2/errors/mustfail                  |     1 +
 gcc/testsuite/gm2/errors/options                   |     1 +
 gcc/testsuite/gm2/errors/testchar.mod              |    25 +
 gcc/testsuite/gm2/errors/testsub2.mod              |    27 +
 .../callingC/pass/examples-callingC-pass.exp       |    37 +
 gcc/testsuite/gm2/examples/callingC/pass/hello.mod |    28 +
 .../gm2/examples/callingC/pass/libprintf.def       |    35 +
 gcc/testsuite/gm2/examples/callingC/run/pass/c.c   |     7 +
 gcc/testsuite/gm2/examples/callingC/run/pass/c.def |    33 +
 .../run/pass/examples-callingC-run-pass.exp        |    43 +
 .../gm2/examples/callingC/run/pass/hello.mod       |    28 +
 .../gm2/examples/callingC/run/pass/libprintf.def   |    35 +
 gcc/testsuite/gm2/examples/callingC/run/pass/m.mod |    19 +
 .../gm2/examples/cpp/pass/examples-cpp-pass.exp    |    37 +
 gcc/testsuite/gm2/examples/cpp/pass/hello.mod      |    34 +
 gcc/testsuite/gm2/examples/cppDef/pass/a.def       |    38 +
 gcc/testsuite/gm2/examples/cppDef/pass/a.mod       |    29 +
 gcc/testsuite/gm2/examples/cppDef/pass/b.mod       |    29 +
 .../examples/cppDef/pass/examples-cppDef-pass.exp  |    37 +
 .../gm2/examples/cppDef/pass/libprintf.def         |    35 +
 .../examples/hello/pass/examples-hello-pass.exp    |    37 +
 gcc/testsuite/gm2/examples/hello/pass/hello.mod    |    26 +
 gcc/testsuite/gm2/examples/map/pass/AdvMap.def     |   107 +
 gcc/testsuite/gm2/examples/map/pass/AdvMap.mod     |   420 +
 gcc/testsuite/gm2/examples/map/pass/BoxMap.def     |    83 +
 gcc/testsuite/gm2/examples/map/pass/BoxMap.mod     |  1760 ++
 gcc/testsuite/gm2/examples/map/pass/Chance.def     |    72 +
 gcc/testsuite/gm2/examples/map/pass/Chance.mod     |   206 +
 gcc/testsuite/gm2/examples/map/pass/Find.def       |    52 +
 gcc/testsuite/gm2/examples/map/pass/Find.mod       |   309 +
 gcc/testsuite/gm2/examples/map/pass/Geometry.def   |   100 +
 gcc/testsuite/gm2/examples/map/pass/Geometry.mod   |   154 +
 gcc/testsuite/gm2/examples/map/pass/MakeBoxes.def  |    67 +
 gcc/testsuite/gm2/examples/map/pass/MakeBoxes.mod  |   238 +
 gcc/testsuite/gm2/examples/map/pass/Map.mod        |    26 +
 gcc/testsuite/gm2/examples/map/pass/RoomMap.def    |    92 +
 gcc/testsuite/gm2/examples/map/pass/RoomMap.mod    |  1470 +
 gcc/testsuite/gm2/examples/map/pass/Semantic.mod   |   389 +
 gcc/testsuite/gm2/examples/map/pass/StoreCoord.def |    72 +
 gcc/testsuite/gm2/examples/map/pass/StoreCoord.mod |   231 +
 .../gm2/examples/map/pass/StoreCoords.def          |    72 +
 .../gm2/examples/map/pass/StoreCoords.mod          |   230 +
 gcc/testsuite/gm2/examples/map/pass/WriteMap.def   |    39 +
 gcc/testsuite/gm2/examples/map/pass/WriteMap.mod   |   132 +
 .../gm2/examples/map/pass/examples-map-pass.exp    |    37 +
 gcc/testsuite/gm2/examples/map/pass/makemaps       |     8 +
 gcc/testsuite/gm2/examples/map/pass/testch2.mod    |    37 +
 gcc/testsuite/gm2/examples/map/pass/testchan.mod   |    29 +
 gcc/testsuite/gm2/examples/map/pass/testcoor.mod   |    44 +
 gcc/testsuite/gm2/examples/map/pass/testmaps       |    25 +
 gcc/testsuite/gm2/exceptions/run/pass/cpp.cpp      |    11 +
 gcc/testsuite/gm2/exceptions/run/pass/cpp.def      |    31 +
 .../exceptions/run/pass/exceptions-run-pass.exp    |    54 +
 .../gm2/exceptions/run/pass/libexcept.mod          |    63 +
 gcc/testsuite/gm2/exceptions/run/pass/m2test.def   |    31 +
 gcc/testsuite/gm2/exceptions/run/pass/m2test.mod   |    28 +
 gcc/testsuite/gm2/exceptions/run/pass/mycpp.cpp    |    53 +
 gcc/testsuite/gm2/exceptions/run/pass/mycpp.def    |    31 +
 gcc/testsuite/gm2/exceptions/run/pass/mym2.mod     |    38 +
 gcc/testsuite/gm2/exceptions/run/pass/mym2a.mod    |    34 +
 gcc/testsuite/gm2/extensions/pass/align.mod        |    29 +
 gcc/testsuite/gm2/extensions/pass/align2.mod       |    26 +
 gcc/testsuite/gm2/extensions/pass/card16p.mod      |   101 +
 gcc/testsuite/gm2/extensions/pass/card32p.mod      |   110 +
 gcc/testsuite/gm2/extensions/pass/card64p.mod      |   119 +
 gcc/testsuite/gm2/extensions/pass/card8p.mod       |    92 +
 gcc/testsuite/gm2/extensions/pass/co.def           |    31 +
 gcc/testsuite/gm2/extensions/pass/co.mod           |    27 +
 .../gm2/extensions/pass/extensions-pass.exp        |    37 +
 gcc/testsuite/gm2/extensions/pass/frame.mod        |    32 +
 gcc/testsuite/gm2/extensions/pass/hello.mod        |    29 +
 gcc/testsuite/gm2/extensions/pass/int16p.mod       |   101 +
 gcc/testsuite/gm2/extensions/pass/int32p.mod       |   110 +
 gcc/testsuite/gm2/extensions/pass/int64p.mod       |   119 +
 gcc/testsuite/gm2/extensions/pass/int8p.mod        |    92 +
 gcc/testsuite/gm2/extensions/pass/intsize8.mod     |    29 +
 gcc/testsuite/gm2/extensions/pass/jmp.mod          |    29 +
 gcc/testsuite/gm2/extensions/pass/libc.def         |    25 +
 gcc/testsuite/gm2/extensions/pass/optparam.mod     |    27 +
 gcc/testsuite/gm2/extensions/pass/optparam2.mod    |    32 +
 gcc/testsuite/gm2/extensions/pass/return.mod       |    32 +
 gcc/testsuite/gm2/extensions/pass/set8.mod         |    26 +
 gcc/testsuite/gm2/extensions/pass/set8a.mod        |    32 +
 gcc/testsuite/gm2/extensions/pass/set8b.mod        |    33 +
 gcc/testsuite/gm2/extensions/pass/testco.mod       |    33 +
 .../extensions/run/fail/extensions-run-fail.exp    |    39 +
 gcc/testsuite/gm2/extensions/run/fail/intsize8.mod |    28 +
 gcc/testsuite/gm2/extensions/run/pass/align3.mod   |    39 +
 gcc/testsuite/gm2/extensions/run/pass/align4.mod   |    34 +
 gcc/testsuite/gm2/extensions/run/pass/align5.mod   |    38 +
 gcc/testsuite/gm2/extensions/run/pass/align6.mod   |    34 +
 gcc/testsuite/gm2/extensions/run/pass/align7.mod   |    37 +
 gcc/testsuite/gm2/extensions/run/pass/callingc.mod |    21 +
 gcc/testsuite/gm2/extensions/run/pass/card16p.mod  |   101 +
 gcc/testsuite/gm2/extensions/run/pass/card32p.mod  |   110 +
 gcc/testsuite/gm2/extensions/run/pass/card64p.mod  |   119 +
 gcc/testsuite/gm2/extensions/run/pass/card8p.mod   |    92 +
 gcc/testsuite/gm2/extensions/run/pass/column.mod   |    39 +
 gcc/testsuite/gm2/extensions/run/pass/cvararg.c    |    60 +
 gcc/testsuite/gm2/extensions/run/pass/cvararg.def  |    28 +
 .../extensions/run/pass/extensions-run-pass.exp    |    42 +
 gcc/testsuite/gm2/extensions/run/pass/int16p.mod   |   101 +
 gcc/testsuite/gm2/extensions/run/pass/int32p.mod   |   110 +
 gcc/testsuite/gm2/extensions/run/pass/int64p.mod   |   119 +
 .../gm2/extensions/run/pass/int8field.mod          |    51 +
 gcc/testsuite/gm2/extensions/run/pass/int8p.mod    |    92 +
 .../gm2/extensions/run/pass/packedrecord.mod       |    56 +
 .../gm2/extensions/run/pass/packedrecord2.mod      |    57 +
 gcc/testsuite/gm2/extensions/run/pass/real32.mod   |    37 +
 gcc/testsuite/gm2/extensions/run/pass/real32a.mod  |    35 +
 gcc/testsuite/gm2/extensions/run/pass/record.mod   |    25 +
 gcc/testsuite/gm2/extensions/run/pass/testopen.mod |    32 +
 gcc/testsuite/gm2/extensions/run/pass/vararg.mod   |    38 +
 gcc/testsuite/gm2/extensions/run/pass/vararg2.mod  |    33 +
 gcc/testsuite/gm2/extensions/run/pass/vararg3.mod  |    27 +
 gcc/testsuite/gm2/fpu/pass/five.mod                |    28 +
 gcc/testsuite/gm2/fpu/pass/fp.def                  |    29 +
 gcc/testsuite/gm2/fpu/pass/fp.mod                  |    24 +
 gcc/testsuite/gm2/fpu/pass/fpu-pass.exp            |    37 +
 gcc/testsuite/gm2/fpu/pass/one.mod                 |    28 +
 gcc/testsuite/gm2/fpu/pass/r1.mod                  |    30 +
 gcc/testsuite/gm2/fpu/pass/realconst.mod           |    49 +
 gcc/testsuite/gm2/fpu/pass/testfp.mod              |    35 +
 gcc/testsuite/gm2/fpu/pass/testfp2.mod             |    42 +
 gcc/testsuite/gm2/fpu/pass/testfpu1.mod            |    32 +
 gcc/testsuite/gm2/fpu/pass/testfpu2.mod            |    28 +
 gcc/testsuite/gm2/fpu/pass/testfpu3.mod            |    46 +
 gcc/testsuite/gm2/fpu/pass/testsin.mod             |    39 +
 gcc/testsuite/gm2/imports/run/pass/c.def           |    35 +
 gcc/testsuite/gm2/imports/run/pass/c.mod           |    21 +
 .../gm2/imports/run/pass/imports-run-pass.exp      |    44 +
 gcc/testsuite/gm2/imports/run/pass/innermods.mod   |    44 +
 gcc/testsuite/gm2/imports/run/pass/innermods2.mod  |    45 +
 gcc/testsuite/gm2/imports/run/pass/innermods3.mod  |    50 +
 gcc/testsuite/gm2/imports/run/pass/innermods4.mod  |    44 +
 gcc/testsuite/gm2/imports/run/pass/innermods5.def  |    25 +
 gcc/testsuite/gm2/imports/run/pass/innermods5.mod  |    32 +
 gcc/testsuite/gm2/imports/run/pass/innermods6.mod  |    32 +
 gcc/testsuite/gm2/integer/div.mod                  |    35 +
 gcc/testsuite/gm2/integer/expr.mod                 |    88 +
 gcc/testsuite/gm2/integer/mod.mod                  |    34 +
 gcc/testsuite/gm2/integer/mod2.mod                 |    35 +
 gcc/testsuite/gm2/integer/one.mod                  |    29 +
 gcc/testsuite/gm2/integer/options                  |     1 +
 gcc/testsuite/gm2/integer/zero.mod                 |    29 +
 gcc/testsuite/gm2/iso/analysis/fail/Makefile       |     9 +
 .../gm2/iso/analysis/fail/arithoverflow.mod        |    40 +
 .../gm2/iso/analysis/fail/arithoverflow2.mod       |    40 +
 .../gm2/iso/analysis/fail/arithsubcard.mod         |    40 +
 gcc/testsuite/gm2/iso/analysis/fail/arrayrange.mod |    36 +
 .../gm2/iso/analysis/fail/assignvalue.mod          |    36 +
 .../gm2/iso/analysis/fail/callassignment.mod       |    47 +
 .../gm2/iso/analysis/fail/callassignment2.mod      |    50 +
 .../gm2/iso/analysis/fail/callassignment3.mod      |    54 +
 .../gm2/iso/analysis/fail/callassignment4.mod      |    61 +
 gcc/testsuite/gm2/iso/analysis/fail/caserange.mod  |    36 +
 gcc/testsuite/gm2/iso/analysis/fail/decvalue.mod   |    41 +
 gcc/testsuite/gm2/iso/analysis/fail/forloop.mod    |    30 +
 gcc/testsuite/gm2/iso/analysis/fail/incvalue.mod   |    41 +
 .../gm2/iso/analysis/fail/iso-analysis-fail.exp    |    36 +
 gcc/testsuite/gm2/iso/analysis/fail/noreturn.mod   |    33 +
 .../gm2/iso/analysis/fail/returnvalue.mod          |    36 +
 .../gm2/iso/analysis/fail/staticarray.mod          |    36 +
 .../gm2/iso/check/fail/iso-check-fail.exp          |    58 +
 .../gm2/iso/check/fail/modulusoverflow.mod         |    29 +
 gcc/testsuite/gm2/iso/fail/badarray.mod            |     7 +
 gcc/testsuite/gm2/iso/fail/badarray2.mod           |     8 +
 gcc/testsuite/gm2/iso/fail/badipv4.mod             |     9 +
 gcc/testsuite/gm2/iso/fail/bug10.mod               |    12 +
 gcc/testsuite/gm2/iso/fail/bug8.mod                |    17 +
 gcc/testsuite/gm2/iso/fail/bug9.mod                |    13 +
 gcc/testsuite/gm2/iso/fail/case.mod                |    34 +
 gcc/testsuite/gm2/iso/fail/case2.mod               |    34 +
 gcc/testsuite/gm2/iso/fail/case3.mod               |    35 +
 gcc/testsuite/gm2/iso/fail/const1.mod              |    34 +
 gcc/testsuite/gm2/iso/fail/constarray.mod          |    11 +
 gcc/testsuite/gm2/iso/fail/constarray2.mod         |    11 +
 gcc/testsuite/gm2/iso/fail/constprocedure.mod      |    28 +
 gcc/testsuite/gm2/iso/fail/constrecord.mod         |    13 +
 gcc/testsuite/gm2/iso/fail/constrecord2.mod        |    13 +
 gcc/testsuite/gm2/iso/fail/constrecord3.mod        |    15 +
 gcc/testsuite/gm2/iso/fail/constsubrange.mod       |     8 +
 gcc/testsuite/gm2/iso/fail/constsubrange2.mod      |     7 +
 gcc/testsuite/gm2/iso/fail/constsubrange3.mod      |     7 +
 gcc/testsuite/gm2/iso/fail/defa.def                |    23 +
 gcc/testsuite/gm2/iso/fail/defa.mod                |    27 +
 gcc/testsuite/gm2/iso/fail/defb.def                |    24 +
 gcc/testsuite/gm2/iso/fail/defb.mod                |    26 +
 gcc/testsuite/gm2/iso/fail/defc.def                |    24 +
 gcc/testsuite/gm2/iso/fail/defc.mod                |    24 +
 gcc/testsuite/gm2/iso/fail/except.mod              |    46 +
 gcc/testsuite/gm2/iso/fail/except2.mod             |    47 +
 gcc/testsuite/gm2/iso/fail/iso-fail.exp            |    36 +
 gcc/testsuite/gm2/iso/fail/isoa.def                |    24 +
 gcc/testsuite/gm2/iso/fail/isoa.mod                |    22 +
 gcc/testsuite/gm2/iso/fail/lengthsubexpr.mod       |    10 +
 gcc/testsuite/gm2/iso/fail/proc.mod                |    55 +
 gcc/testsuite/gm2/iso/fail/realbitscast.mod        |    40 +
 gcc/testsuite/gm2/iso/fail/varient.mod             |    33 +
 gcc/testsuite/gm2/iso/fail/varient2.mod            |    31 +
 gcc/testsuite/gm2/iso/future/builtinlj.mod         |    40 +
 gcc/testsuite/gm2/iso/pass/ChanConsts.def          |    69 +
 gcc/testsuite/gm2/iso/pass/ChanConsts.mod          |    20 +
 gcc/testsuite/gm2/iso/pass/ConvTypes.def           |    27 +
 gcc/testsuite/gm2/iso/pass/ConvTypes.mod           |    31 +
 gcc/testsuite/gm2/iso/pass/addadr1.mod             |    39 +
 gcc/testsuite/gm2/iso/pass/bits32c.mod             |    35 +
 gcc/testsuite/gm2/iso/pass/callwraptime.mod        |    11 +
 gcc/testsuite/gm2/iso/pass/caseiso.mod             |    39 +
 gcc/testsuite/gm2/iso/pass/caseiso2.mod            |    58 +
 gcc/testsuite/gm2/iso/pass/cast.mod                |    33 +
 gcc/testsuite/gm2/iso/pass/cast3.mod               |    28 +
 gcc/testsuite/gm2/iso/pass/castiso.mod             |    34 +
 gcc/testsuite/gm2/iso/pass/const1.mod              |    30 +
 gcc/testsuite/gm2/iso/pass/constreal.mod           |    25 +
 gcc/testsuite/gm2/iso/pass/constructor1.mod        |    30 +
 gcc/testsuite/gm2/iso/pass/constructor2.mod        |    37 +
 gcc/testsuite/gm2/iso/pass/constructor3.mod        |    32 +
 gcc/testsuite/gm2/iso/pass/constructor4.mod        |    39 +
 gcc/testsuite/gm2/iso/pass/constructor5.mod        |    40 +
 gcc/testsuite/gm2/iso/pass/constructor6.mod        |    30 +
 gcc/testsuite/gm2/iso/pass/constsize4.mod          |    37 +
 gcc/testsuite/gm2/iso/pass/delim.mod               |    25 +
 gcc/testsuite/gm2/iso/pass/delim2.mod              |    28 +
 gcc/testsuite/gm2/iso/pass/enummodule.mod          |    33 +
 gcc/testsuite/gm2/iso/pass/except1.mod             |    45 +
 gcc/testsuite/gm2/iso/pass/expproc.mod             |    31 +
 gcc/testsuite/gm2/iso/pass/expproc2.mod            |    37 +
 gcc/testsuite/gm2/iso/pass/iso-pass.exp            |    36 +
 gcc/testsuite/gm2/iso/pass/isob.def                |    23 +
 gcc/testsuite/gm2/iso/pass/isob.mod                |    24 +
 gcc/testsuite/gm2/iso/pass/isobitset.mod           |    26 +
 gcc/testsuite/gm2/iso/pass/isobitset2.mod          |    27 +
 gcc/testsuite/gm2/iso/pass/longm.mod               |    32 +
 gcc/testsuite/gm2/iso/pass/m.mod                   |    40 +
 gcc/testsuite/gm2/iso/pass/proccast.mod            |    47 +
 gcc/testsuite/gm2/iso/pass/realbitscast.mod        |    69 +
 gcc/testsuite/gm2/iso/pass/set12.mod               |    28 +
 gcc/testsuite/gm2/iso/pass/stringchar.mod          |    41 +
 gcc/testsuite/gm2/iso/pass/subassign.mod           |     8 +
 gcc/testsuite/gm2/iso/pass/testaddindr.mod         |    36 +
 gcc/testsuite/gm2/iso/pass/testconv.def            |    34 +
 gcc/testsuite/gm2/iso/pass/testconv.mod            |    49 +
 gcc/testsuite/gm2/iso/pass/testconv2.def           |    33 +
 gcc/testsuite/gm2/iso/pass/testconv2.mod           |    45 +
 gcc/testsuite/gm2/iso/pass/testconv3.mod           |    41 +
 gcc/testsuite/gm2/iso/pass/testconv4.mod           |    43 +
 gcc/testsuite/gm2/iso/pass/testconv5.mod           |    31 +
 gcc/testsuite/gm2/iso/pass/testconv6.mod           |    39 +
 gcc/testsuite/gm2/iso/pass/testconv7.mod           |    48 +
 gcc/testsuite/gm2/iso/pass/testconv8.mod           |    48 +
 gcc/testsuite/gm2/iso/pass/testconv9.mod           |    48 +
 gcc/testsuite/gm2/iso/pass/testiso.mod             |    32 +
 gcc/testsuite/gm2/iso/pass/testiso2.mod            |    36 +
 gcc/testsuite/gm2/iso/pass/testisosize.mod         |    24 +
 gcc/testsuite/gm2/iso/pass/testlength.mod          |    31 +
 gcc/testsuite/gm2/iso/pass/testlength2.mod         |    37 +
 gcc/testsuite/gm2/iso/pass/testlength3.mod         |    41 +
 gcc/testsuite/gm2/iso/pass/testlength4.mod         |    31 +
 gcc/testsuite/gm2/iso/pass/testlength5.mod         |    37 +
 gcc/testsuite/gm2/iso/pass/unbounded.mod           |    31 +
 gcc/testsuite/gm2/iso/pass/unbounded2.mod          |    31 +
 gcc/testsuite/gm2/iso/run/pass/adraddress.mod      |    42 +
 gcc/testsuite/gm2/iso/run/pass/adrunbounded3.mod   |    93 +
 gcc/testsuite/gm2/iso/run/pass/baseimport.mod      |    27 +
 gcc/testsuite/gm2/iso/run/pass/compsize.mod        |    28 +
 gcc/testsuite/gm2/iso/run/pass/concurrentstore.mod |   162 +
 gcc/testsuite/gm2/iso/run/pass/constprocedure.mod  |    35 +
 gcc/testsuite/gm2/iso/run/pass/constructor1.mod    |    58 +
 gcc/testsuite/gm2/iso/run/pass/constructor2.mod    |    50 +
 gcc/testsuite/gm2/iso/run/pass/conststrarray.mod   |    59 +
 gcc/testsuite/gm2/iso/run/pass/contimer.mod        |   101 +
 gcc/testsuite/gm2/iso/run/pass/except.c            |   157 +
 gcc/testsuite/gm2/iso/run/pass/except2.mod         |    78 +
 gcc/testsuite/gm2/iso/run/pass/except3.cpp         |    88 +
 gcc/testsuite/gm2/iso/run/pass/except4.mod         |    68 +
 gcc/testsuite/gm2/iso/run/pass/except5.cpp         |    63 +
 gcc/testsuite/gm2/iso/run/pass/except5.mod         |    65 +
 gcc/testsuite/gm2/iso/run/pass/except6.cpp         |    64 +
 gcc/testsuite/gm2/iso/run/pass/except7.mod         |    88 +
 gcc/testsuite/gm2/iso/run/pass/except8.mod         |    77 +
 gcc/testsuite/gm2/iso/run/pass/fileio.def          |    22 +
 gcc/testsuite/gm2/iso/run/pass/fileio.mod          |    25 +
 gcc/testsuite/gm2/iso/run/pass/hello.mod           |    25 +
 gcc/testsuite/gm2/iso/run/pass/int8field.mod       |    54 +
 gcc/testsuite/gm2/iso/run/pass/iso-run-pass.exp    |    41 +
 gcc/testsuite/gm2/iso/run/pass/long.mod            |    30 +
 gcc/testsuite/gm2/iso/run/pass/long2.mod           |    36 +
 gcc/testsuite/gm2/iso/run/pass/long3.mod           |    36 +
 gcc/testsuite/gm2/iso/run/pass/long4.c             |    15 +
 gcc/testsuite/gm2/iso/run/pass/long4.mod           |    35 +
 gcc/testsuite/gm2/iso/run/pass/minmax.mod          |    37 +
 gcc/testsuite/gm2/iso/run/pass/modulus.mod         |    36 +
 gcc/testsuite/gm2/iso/run/pass/nestediso.mod       |    46 +
 gcc/testsuite/gm2/iso/run/pass/nestedrecord.mod    |    36 +
 gcc/testsuite/gm2/iso/run/pass/onebyte.mod         |    54 +
 gcc/testsuite/gm2/iso/run/pass/onebyte2.mod        |    60 +
 gcc/testsuite/gm2/iso/run/pass/onebyte3.mod        |    66 +
 gcc/testsuite/gm2/iso/run/pass/packed.mod          |    57 +
 gcc/testsuite/gm2/iso/run/pass/proc.c              |    17 +
 gcc/testsuite/gm2/iso/run/pass/proc.mod            |    48 +
 gcc/testsuite/gm2/iso/run/pass/proc2.mod           |    46 +
 gcc/testsuite/gm2/iso/run/pass/returnrecord.mod    |    49 +
 gcc/testsuite/gm2/iso/run/pass/shift.mod           |    46 +
 gcc/testsuite/gm2/iso/run/pass/shift2.mod          |    40 +
 gcc/testsuite/gm2/iso/run/pass/shift3.mod          |    65 +
 gcc/testsuite/gm2/iso/run/pass/shift4.mod          |    76 +
 gcc/testsuite/gm2/iso/run/pass/simple              |    39 +
 gcc/testsuite/gm2/iso/run/pass/simplelarge.mod     |   121 +
 gcc/testsuite/gm2/iso/run/pass/strcons.mod         |    38 +
 gcc/testsuite/gm2/iso/run/pass/strcons2.mod        |    42 +
 gcc/testsuite/gm2/iso/run/pass/t.cpp               |    19 +
 gcc/testsuite/gm2/iso/run/pass/t1.cpp              |    14 +
 gcc/testsuite/gm2/iso/run/pass/testLength.mod      |    35 +
 gcc/testsuite/gm2/iso/run/pass/testarray.mod       |    30 +
 gcc/testsuite/gm2/iso/run/pass/testgeneric.mod     |    60 +
 gcc/testsuite/gm2/iso/run/pass/testlarge.mod       |   292 +
 gcc/testsuite/gm2/iso/run/pass/testsystem.mod      |   180 +
 gcc/testsuite/gm2/iso/run/pass/tinyconst.mod       |    48 +
 gcc/testsuite/gm2/iso/run/pass/tinyconst2.mod      |    50 +
 gcc/testsuite/gm2/iso/run/pass/tinyconst3.mod      |    47 +
 gcc/testsuite/gm2/iso/run/pass/tinyconst4.mod      |    46 +
 gcc/testsuite/gm2/iso/run/pass/tinyconst5.mod      |    47 +
 gcc/testsuite/gm2/iso/run/pass/tinytimer.mod       |    38 +
 gcc/testsuite/gm2/iso/run/pass/trivialmodulus.mod  |    32 +
 gcc/testsuite/gm2/iso/run/pass/tsize.mod           |    60 +
 gcc/testsuite/gm2/iso/run/pass/tsize2.mod          |    53 +
 gcc/testsuite/gm2/iso/run/pass/tstLength.mod       |    22 +
 gcc/testsuite/gm2/iso/run/pass/unbounded.mod       |    69 +
 gcc/testsuite/gm2/iso/run/pass/unbounded2.mod      |    50 +
 gcc/testsuite/gm2/iso/run/pass/unbounded3.mod      |    51 +
 gcc/testsuite/gm2/iso/run/pass/unbounded4.mod      |    42 +
 gcc/testsuite/gm2/iso/run/pass/unbounded5.mod      |    49 +
 gcc/testsuite/gm2/iso/run/pass/unbounded6.mod      |    44 +
 gcc/testsuite/gm2/iso/run/pass/unbounded7.mod      |    38 +
 gcc/testsuite/gm2/iso/run/pass/unbounded8.mod      |    45 +
 .../gm2/isocoroutines/run/pass/coroutine.mod       |    70 +
 .../run/pass/isocoroutines-run-pass.exp            |    38 +
 gcc/testsuite/gm2/isolib/run/pass/arraycons.mod    |    73 +
 gcc/testsuite/gm2/isolib/run/pass/arraycons2.mod   |    81 +
 gcc/testsuite/gm2/isolib/run/pass/arraycons3.mod   |    33 +
 gcc/testsuite/gm2/isolib/run/pass/arraycons5.mod   |    33 +
 gcc/testsuite/gm2/isolib/run/pass/arraycons6.mod   |    34 +
 gcc/testsuite/gm2/isolib/run/pass/arraycons7.mod   |    50 +
 gcc/testsuite/gm2/isolib/run/pass/arrayconst8.mod  |    29 +
 .../gm2/isolib/run/pass/exceptiontest.mod          |    12 +
 gcc/testsuite/gm2/isolib/run/pass/filepos.mod      |    55 +
 gcc/testsuite/gm2/isolib/run/pass/hello.mod        |    24 +
 gcc/testsuite/gm2/isolib/run/pass/insert.mod       |    63 +
 gcc/testsuite/gm2/isolib/run/pass/intconv.mod      |    90 +
 .../gm2/isolib/run/pass/isolib-run-pass.exp        |    44 +
 gcc/testsuite/gm2/isolib/run/pass/longstr.mod      |   178 +
 gcc/testsuite/gm2/isolib/run/pass/openlibc.mod     |    31 +
 gcc/testsuite/gm2/isolib/run/pass/raise.mod        |    33 +
 gcc/testsuite/gm2/isolib/run/pass/raise2.mod       |    38 +
 gcc/testsuite/gm2/isolib/run/pass/readreal.mod     |    35 +
 gcc/testsuite/gm2/isolib/run/pass/real1.mod        |    48 +
 gcc/testsuite/gm2/isolib/run/pass/real2.mod        |    38 +
 gcc/testsuite/gm2/isolib/run/pass/real3.mod        |    39 +
 gcc/testsuite/gm2/isolib/run/pass/realconv.mod     |    52 +
 gcc/testsuite/gm2/isolib/run/pass/realconv2.mod    |    51 +
 gcc/testsuite/gm2/isolib/run/pass/realstr.mod      |   178 +
 gcc/testsuite/gm2/isolib/run/pass/sigfig.mod       |    93 +
 gcc/testsuite/gm2/isolib/run/pass/stringreal2.mod  |    41 +
 .../gm2/isolib/run/pass/termfile.mod-disabled      |    42 +
 gcc/testsuite/gm2/isolib/run/pass/testappend.mod   |    32 +
 gcc/testsuite/gm2/isolib/run/pass/testinput        |     3 +
 gcc/testsuite/gm2/isolib/run/pass/testio.mod       |    38 +
 gcc/testsuite/gm2/isolib/run/pass/testio2.mod      |    52 +
 gcc/testsuite/gm2/isolib/run/pass/testmem.mod      |    66 +
 gcc/testsuite/gm2/isolib/run/pass/testmem2.mod     |    66 +
 gcc/testsuite/gm2/isolib/run/pass/testnumber       |     1 +
 gcc/testsuite/gm2/isolib/run/pass/tiny.mod         |    24 +
 gcc/testsuite/gm2/isolib/run/pass/tiny2.mod        |    24 +
 gcc/testsuite/gm2/isolib/run/pass/tiny3.mod        |    24 +
 gcc/testsuite/gm2/isolib/run/pass/tiny4.mod        |    24 +
 gcc/testsuite/gm2/isolib/run/pass/tiny5.mod        |    24 +
 gcc/testsuite/gm2/libs/a.def                       |    23 +
 gcc/testsuite/gm2/libs/a.mod                       |    26 +
 gcc/testsuite/gm2/libs/b.def                       |    23 +
 gcc/testsuite/gm2/libs/b.mod                       |    23 +
 gcc/testsuite/gm2/libs/testraw.mod                 |    31 +
 .../gm2/link/externalscaffold/pass/hello.mod       |     7 +
 .../pass/link-externalscaffold-pass.exp            |    40 +
 .../gm2/link/externalscaffold/pass/scaffold.c      |    37 +
 gcc/testsuite/gm2/link/pim/fail/import.mod         |    23 +
 gcc/testsuite/gm2/link/pim/fail/link-pim-fail.exp  |    37 +
 gcc/testsuite/gm2/link/pim/pass/link-pim-pass.exp  |    37 +
 gcc/testsuite/gm2/link/pimc/pass/README            |     3 +
 .../gm2/link/pimc/pass/link-pimc-pass.exp          |    37 +
 gcc/testsuite/gm2/link/pimc/pass/testdtoa.mod      |     9 +
 gcc/testsuite/gm2/link/pimc/pass/testerrno.mod     |    11 +
 gcc/testsuite/gm2/link/pimc/pass/testgetopt.mod    |   102 +
 gcc/testsuite/gm2/link/pimc/pass/testldtoa.mod     |     9 +
 gcc/testsuite/gm2/link/pimc/pass/testlibc.mod      |    10 +
 gcc/testsuite/gm2/link/pimc/pass/testlibc2.mod     |    16 +
 gcc/testsuite/gm2/link/pimc/pass/testsckt.mod      |     9 +
 gcc/testsuite/gm2/link/pimc/pass/testselective.mod |     9 +
 .../gm2/link/pimc/pass/testsysexceptions.mod       |     8 +
 gcc/testsuite/gm2/link/pimc/pass/testtermios.mod   |     7 +
 gcc/testsuite/gm2/link/pimc/pass/testunixargs.mod  |    14 +
 gcc/testsuite/gm2/link/pimc/pass/testwrapc.mod     |     9 +
 gcc/testsuite/gm2/linking/libarchive/pass/c.c      |    24 +
 gcc/testsuite/gm2/linking/libarchive/pass/c.def    |    35 +
 gcc/testsuite/gm2/linking/libarchive/pass/d.def    |    32 +
 gcc/testsuite/gm2/linking/libarchive/pass/e.def    |    49 +
 .../libarchive/pass/linking-libarchive-pass.exp    |    45 +
 gcc/testsuite/gm2/linking/libarchive/pass/m.mod    |    28 +
 gcc/testsuite/gm2/linking/verbose/pass/hello.mod   |     7 +
 .../linking/verbose/pass/linking-verbose-pass.exp  |    42 +
 gcc/testsuite/gm2/pim/fail/TestLong3.mod           |    26 +
 gcc/testsuite/gm2/pim/fail/TestLong6.mod           |    32 +
 gcc/testsuite/gm2/pim/fail/a.def                   |    23 +
 gcc/testsuite/gm2/pim/fail/assignbounds.mod        |    24 +
 gcc/testsuite/gm2/pim/fail/assignsubrange.mod      |    27 +
 gcc/testsuite/gm2/pim/fail/assignsubrange2.mod     |    27 +
 gcc/testsuite/gm2/pim/fail/b.def                   |    23 +
 gcc/testsuite/gm2/pim/fail/bad.def                 |    21 +
 gcc/testsuite/gm2/pim/fail/badconst.mod            |    26 +
 gcc/testsuite/gm2/pim/fail/badfunc.mod             |    26 +
 gcc/testsuite/gm2/pim/fail/badparam.mod            |    40 +
 gcc/testsuite/gm2/pim/fail/badparam2.mod           |    44 +
 gcc/testsuite/gm2/pim/fail/badtype.mod             |    24 +
 gcc/testsuite/gm2/pim/fail/badtypes.mod            |    28 +
 gcc/testsuite/gm2/pim/fail/bits.mod                |    28 +
 gcc/testsuite/gm2/pim/fail/bits2.mod               |    29 +
 gcc/testsuite/gm2/pim/fail/bits3.mod               |    25 +
 gcc/testsuite/gm2/pim/fail/bits4.mod               |    28 +
 gcc/testsuite/gm2/pim/fail/cardword.mod            |    27 +
 gcc/testsuite/gm2/pim/fail/constbec.mod            |    28 +
 gcc/testsuite/gm2/pim/fail/constsize3.mod          |    36 +
 gcc/testsuite/gm2/pim/fail/constvar.mod            |     9 +
 gcc/testsuite/gm2/pim/fail/convert5.mod            |    40 +
 gcc/testsuite/gm2/pim/fail/dupconst.mod            |    26 +
 gcc/testsuite/gm2/pim/fail/dupenum.mod             |    27 +
 gcc/testsuite/gm2/pim/fail/dupfield.mod            |    31 +
 gcc/testsuite/gm2/pim/fail/duptype.mod             |    28 +
 gcc/testsuite/gm2/pim/fail/dupvar.mod              |    26 +
 gcc/testsuite/gm2/pim/fail/expression.mod          |    25 +
 gcc/testsuite/gm2/pim/fail/expression2.mod         |    25 +
 gcc/testsuite/gm2/pim/fail/expression3.mod         |    27 +
 gcc/testsuite/gm2/pim/fail/func.mod                |    34 +
 gcc/testsuite/gm2/pim/fail/good.def                |    19 +
 gcc/testsuite/gm2/pim/fail/good.mod                |    21 +
 gcc/testsuite/gm2/pim/fail/import.mod              |    27 +
 gcc/testsuite/gm2/pim/fail/inserttok.def           |    19 +
 gcc/testsuite/gm2/pim/fail/inserttok.mod           |     5 +
 gcc/testsuite/gm2/pim/fail/integer.mod             |   271 +
 gcc/testsuite/gm2/pim/fail/keyword.mod             |    25 +
 gcc/testsuite/gm2/pim/fail/longtypes2.mod          |    36 +
 gcc/testsuite/gm2/pim/fail/longtypes3.mod          |    36 +
 gcc/testsuite/gm2/pim/fail/multisetf.mod           |    39 +
 gcc/testsuite/gm2/pim/fail/nested3.mod             |    43 +
 gcc/testsuite/gm2/pim/fail/opaque.mod              |    30 +
 gcc/testsuite/gm2/pim/fail/opaque2.mod             |    32 +
 gcc/testsuite/gm2/pim/fail/opasfail.mod            |    27 +
 gcc/testsuite/gm2/pim/fail/opcpfail.mod            |    29 +
 gcc/testsuite/gm2/pim/fail/pim-fail.exp            |    36 +
 gcc/testsuite/gm2/pim/fail/procmod.mod             |    30 +
 gcc/testsuite/gm2/pim/fail/rotate.mod              |    29 +
 gcc/testsuite/gm2/pim/fail/rotate2.mod             |    29 +
 gcc/testsuite/gm2/pim/fail/setbec.mod              |    29 +
 gcc/testsuite/gm2/pim/fail/setequiv.mod            |    36 +
 gcc/testsuite/gm2/pim/fail/setsnulf.mod            |    39 +
 gcc/testsuite/gm2/pim/fail/settype.mod             |    29 +
 gcc/testsuite/gm2/pim/fail/shift.mod               |    29 +
 gcc/testsuite/gm2/pim/fail/shift2.mod              |    29 +
 gcc/testsuite/gm2/pim/fail/subrange7.mod           |    32 +
 gcc/testsuite/gm2/pim/fail/unary.mod               |    25 +
 gcc/testsuite/gm2/pim/fail/undeclared.mod          |    23 +
 gcc/testsuite/gm2/pim/fail/val.mod                 |    27 +
 gcc/testsuite/gm2/pim/fail/val2.mod                |    32 +
 gcc/testsuite/gm2/pim/fail/wordconst.mod           |    29 +
 .../gm2/pim/no-options/run/pass/integer.mod        |   274 +
 .../run/pass/pim-no-options-run-pass.exp           |    38 +
 .../gm2/pim/options/bounds/fail/IdentifierBug.mod  |    23 +
 .../bounds/fail/pim-options-bounds-fail.exp        |    36 +
 .../gm2/pim/options/optimize/run/pass/addition.def |    23 +
 .../gm2/pim/options/optimize/run/pass/addition.mod |    25 +
 .../gm2/pim/options/optimize/run/pass/concat.mod   |    57 +
 .../run/pass/pim-options-optimize-run-pass.exp     |    56 +
 .../gm2/pim/options/optimize/run/pass/testadd.mod  |    51 +
 gcc/testsuite/gm2/pim/pass/ABSBug.mod              |    27 +
 gcc/testsuite/gm2/pim/pass/TestLong4.mod           |    27 +
 gcc/testsuite/gm2/pim/pass/TestLong7.mod           |    23 +
 gcc/testsuite/gm2/pim/pass/TestLong8.mod           |    23 +
 gcc/testsuite/gm2/pim/pass/TestLong9.mod           |    26 +
 gcc/testsuite/gm2/pim/pass/another.mod             |    37 +
 gcc/testsuite/gm2/pim/pass/aochar.mod              |    31 +
 gcc/testsuite/gm2/pim/pass/array.mod               |    31 +
 gcc/testsuite/gm2/pim/pass/array2.mod              |    28 +
 gcc/testsuite/gm2/pim/pass/array3.mod              |    26 +
 gcc/testsuite/gm2/pim/pass/array4.mod              |    41 +
 gcc/testsuite/gm2/pim/pass/array5.mod              |    43 +
 gcc/testsuite/gm2/pim/pass/array6.mod              |    25 +
 gcc/testsuite/gm2/pim/pass/arraybool.mod           |    39 +
 gcc/testsuite/gm2/pim/pass/arraychar.mod           |    25 +
 gcc/testsuite/gm2/pim/pass/arraychar2.mod          |    27 +
 gcc/testsuite/gm2/pim/pass/arraychar3.mod          |    28 +
 gcc/testsuite/gm2/pim/pass/arrayconst1.mod         |    31 +
 gcc/testsuite/gm2/pim/pass/arrayconst2.mod         |    31 +
 gcc/testsuite/gm2/pim/pass/arrayconst3.mod         |    31 +
 gcc/testsuite/gm2/pim/pass/arraydecl.mod           |    24 +
 gcc/testsuite/gm2/pim/pass/arraydim.mod            |    25 +
 gcc/testsuite/gm2/pim/pass/arraydyn.mod            |    58 +
 gcc/testsuite/gm2/pim/pass/arrayeqiv.mod           |    36 +
 gcc/testsuite/gm2/pim/pass/arrayfio.mod            |    49 +
 gcc/testsuite/gm2/pim/pass/arrayhuge.mod           |    32 +
 gcc/testsuite/gm2/pim/pass/arrayhuge2.mod          |    24 +
 gcc/testsuite/gm2/pim/pass/arrayindex.mod          |    27 +
 gcc/testsuite/gm2/pim/pass/arrayindirect.mod       |    80 +
 gcc/testsuite/gm2/pim/pass/arrayinproc.mod         |    40 +
 gcc/testsuite/gm2/pim/pass/arrayint.mod            |    53 +
 gcc/testsuite/gm2/pim/pass/arrayofbyte.mod         |    35 +
 gcc/testsuite/gm2/pim/pass/arrayofcard.mod         |    42 +
 gcc/testsuite/gm2/pim/pass/arrayptr.mod            |    30 +
 gcc/testsuite/gm2/pim/pass/arrayptr2.mod           |    31 +
 gcc/testsuite/gm2/pim/pass/arrayptr3.mod           |    27 +
 gcc/testsuite/gm2/pim/pass/arrayptr4.mod           |    27 +
 gcc/testsuite/gm2/pim/pass/arrayptr5.mod           |    27 +
 gcc/testsuite/gm2/pim/pass/arrayptr6.mod           |    27 +
 gcc/testsuite/gm2/pim/pass/arrayrecord.mod         |    38 +
 gcc/testsuite/gm2/pim/pass/arraytiny.c             |    24 +
 gcc/testsuite/gm2/pim/pass/arraytiny.mod           |    25 +
 gcc/testsuite/gm2/pim/pass/arraytype.mod           |    24 +
 gcc/testsuite/gm2/pim/pass/arraytype2.mod          |    30 +
 gcc/testsuite/gm2/pim/pass/arraytype3.mod          |    36 +
 gcc/testsuite/gm2/pim/pass/arraytype4.mod          |    25 +
 gcc/testsuite/gm2/pim/pass/assignment.mod          |    24 +
 gcc/testsuite/gm2/pim/pass/assignment2.mod         |    24 +
 gcc/testsuite/gm2/pim/pass/assignment3.mod         |    24 +
 gcc/testsuite/gm2/pim/pass/assignment4.mod         |    24 +
 gcc/testsuite/gm2/pim/pass/badpointer.mod          |    30 +
 gcc/testsuite/gm2/pim/pass/bits32.def              |    25 +
 gcc/testsuite/gm2/pim/pass/bits32.mod              |    19 +
 gcc/testsuite/gm2/pim/pass/bits32i.mod             |    25 +
 gcc/testsuite/gm2/pim/pass/bitset.mod              |    32 +
 gcc/testsuite/gm2/pim/pass/bitset2.mod             |    25 +
 gcc/testsuite/gm2/pim/pass/bitset3.mod             |    28 +
 gcc/testsuite/gm2/pim/pass/bitset4.mod             |    31 +
 gcc/testsuite/gm2/pim/pass/bitset5.mod             |    30 +
 gcc/testsuite/gm2/pim/pass/bitsetfunc.mod          |    25 +
 gcc/testsuite/gm2/pim/pass/block.mod               |    45 +
 gcc/testsuite/gm2/pim/pass/blockindirect.mod       |    50 +
 gcc/testsuite/gm2/pim/pass/builtin.def             |    28 +
 gcc/testsuite/gm2/pim/pass/builtin.mod             |    45 +
 gcc/testsuite/gm2/pim/pass/builtin2.mod            |    28 +
 gcc/testsuite/gm2/pim/pass/builtinconst.mod        |    26 +
 gcc/testsuite/gm2/pim/pass/bytearray.mod           |    37 +
 gcc/testsuite/gm2/pim/pass/card.mod                |    30 +
 gcc/testsuite/gm2/pim/pass/card2.mod               |    29 +
 gcc/testsuite/gm2/pim/pass/char.mod                |    32 +
 gcc/testsuite/gm2/pim/pass/char2.mod               |    24 +
 gcc/testsuite/gm2/pim/pass/charproc.mod            |    30 +
 gcc/testsuite/gm2/pim/pass/charset.mod             |    39 +
 gcc/testsuite/gm2/pim/pass/charset2.mod            |    34 +
 gcc/testsuite/gm2/pim/pass/charset3.mod            |    29 +
 gcc/testsuite/gm2/pim/pass/checkparm.def           |    22 +
 gcc/testsuite/gm2/pim/pass/checkparm.mod           |    24 +
 gcc/testsuite/gm2/pim/pass/colour.mod              |    38 +
 gcc/testsuite/gm2/pim/pass/comment1.mod            |    27 +
 gcc/testsuite/gm2/pim/pass/complexarray.mod        |    25 +
 gcc/testsuite/gm2/pim/pass/complextypes.mod        |    33 +
 gcc/testsuite/gm2/pim/pass/constcast.mod           |    25 +
 gcc/testsuite/gm2/pim/pass/constmax.mod            |    26 +
 gcc/testsuite/gm2/pim/pass/constset.mod            |    30 +
 gcc/testsuite/gm2/pim/pass/constset2.mod           |    29 +
 gcc/testsuite/gm2/pim/pass/constset3.mod           |    29 +
 gcc/testsuite/gm2/pim/pass/constsize.mod           |    29 +
 gcc/testsuite/gm2/pim/pass/constsize2.mod          |    33 +
 gcc/testsuite/gm2/pim/pass/convert.mod             |    43 +
 gcc/testsuite/gm2/pim/pass/convert2.mod            |    24 +
 gcc/testsuite/gm2/pim/pass/convert3.mod            |    28 +
 gcc/testsuite/gm2/pim/pass/convert4.mod            |    39 +
 gcc/testsuite/gm2/pim/pass/danglingelse.mod        |   114 +
 gcc/testsuite/gm2/pim/pass/debug                   |    42 +
 gcc/testsuite/gm2/pim/pass/defset.def              |    23 +
 gcc/testsuite/gm2/pim/pass/defset.mod              |    20 +
 gcc/testsuite/gm2/pim/pass/deftype.mod             |    29 +
 gcc/testsuite/gm2/pim/pass/divaddr.mod             |    26 +
 gcc/testsuite/gm2/pim/pass/enum.mod                |    27 +
 gcc/testsuite/gm2/pim/pass/enum2.mod               |    27 +
 gcc/testsuite/gm2/pim/pass/enum3.mod               |    31 +
 gcc/testsuite/gm2/pim/pass/file.mod                |    31 +
 gcc/testsuite/gm2/pim/pass/filesystem.mod          |    37 +
 gcc/testsuite/gm2/pim/pass/foo.mod                 |    97 +
 gcc/testsuite/gm2/pim/pass/foo2.mod                |    47 +
 gcc/testsuite/gm2/pim/pass/for1.mod                |    29 +
 gcc/testsuite/gm2/pim/pass/function.mod            |    30 +
 gcc/testsuite/gm2/pim/pass/function2.mod           |    29 +
 gcc/testsuite/gm2/pim/pass/gcd.def                 |    23 +
 gcc/testsuite/gm2/pim/pass/gcd.mod                 |    54 +
 gcc/testsuite/gm2/pim/pass/getconst.mod            |    79 +
 gcc/testsuite/gm2/pim/pass/hello.mod               |    23 +
 gcc/testsuite/gm2/pim/pass/impa.mod                |    23 +
 gcc/testsuite/gm2/pim/pass/impb.def                |    25 +
 gcc/testsuite/gm2/pim/pass/impb.mod                |    20 +
 gcc/testsuite/gm2/pim/pass/impc.def                |    25 +
 gcc/testsuite/gm2/pim/pass/impc.mod                |    20 +
 gcc/testsuite/gm2/pim/pass/impd.mod                |    30 +
 gcc/testsuite/gm2/pim/pass/impe.mod                |    30 +
 gcc/testsuite/gm2/pim/pass/impf.mod                |    30 +
 gcc/testsuite/gm2/pim/pass/impg.mod                |    30 +
 gcc/testsuite/gm2/pim/pass/imph.mod                |    26 +
 gcc/testsuite/gm2/pim/pass/impi.mod                |    26 +
 gcc/testsuite/gm2/pim/pass/impj.mod                |    26 +
 gcc/testsuite/gm2/pim/pass/impk.mod                |    27 +
 gcc/testsuite/gm2/pim/pass/impl.mod                |    26 +
 gcc/testsuite/gm2/pim/pass/impm.mod                |    24 +
 gcc/testsuite/gm2/pim/pass/impn.def                |    25 +
 gcc/testsuite/gm2/pim/pass/impn.mod                |    20 +
 gcc/testsuite/gm2/pim/pass/impo.mod                |    24 +
 gcc/testsuite/gm2/pim/pass/imports.mod             |    36 +
 gcc/testsuite/gm2/pim/pass/impp.def                |    25 +
 gcc/testsuite/gm2/pim/pass/impp.mod                |    24 +
 gcc/testsuite/gm2/pim/pass/impq.def                |    23 +
 gcc/testsuite/gm2/pim/pass/impq.mod                |    29 +
 gcc/testsuite/gm2/pim/pass/incompsets.mod          |    37 +
 gcc/testsuite/gm2/pim/pass/index.mod               |    26 +
 gcc/testsuite/gm2/pim/pass/index2.mod              |    24 +
 gcc/testsuite/gm2/pim/pass/indirect.mod            |    45 +
 gcc/testsuite/gm2/pim/pass/inner.mod               |    38 +
 gcc/testsuite/gm2/pim/pass/inner2.mod              |    30 +
 gcc/testsuite/gm2/pim/pass/int.mod                 |    28 +
 gcc/testsuite/gm2/pim/pass/largeset.mod            |    35 +
 gcc/testsuite/gm2/pim/pass/largeset1.mod           |    75 +
 gcc/testsuite/gm2/pim/pass/largeset2.mod           |    93 +
 gcc/testsuite/gm2/pim/pass/largeset3.mod           |   137 +
 gcc/testsuite/gm2/pim/pass/largeset4.mod           |    33 +
 gcc/testsuite/gm2/pim/pass/largeset5.mod           |    45 +
 gcc/testsuite/gm2/pim/pass/largeset6.mod           |    36 +
 gcc/testsuite/gm2/pim/pass/largeset7.mod           |    35 +
 gcc/testsuite/gm2/pim/pass/localmod.mod            |    42 +
 gcc/testsuite/gm2/pim/pass/localproc.mod           |    67 +
 gcc/testsuite/gm2/pim/pass/localvar.mod            |    31 +
 gcc/testsuite/gm2/pim/pass/log                     |   457 +
 gcc/testsuite/gm2/pim/pass/longint.mod             |    28 +
 gcc/testsuite/gm2/pim/pass/longint2.mod            |    26 +
 gcc/testsuite/gm2/pim/pass/longmm.mod              |    35 +
 gcc/testsuite/gm2/pim/pass/longreal.mod            |    27 +
 gcc/testsuite/gm2/pim/pass/longtypes.mod           |    35 +
 gcc/testsuite/gm2/pim/pass/longtypes3.mod          |    25 +
 gcc/testsuite/gm2/pim/pass/longtypes4.mod          |    25 +
 gcc/testsuite/gm2/pim/pass/longtypes5.mod          |    25 +
 gcc/testsuite/gm2/pim/pass/longtypes6.mod          |    25 +
 gcc/testsuite/gm2/pim/pass/loopexit.mod            |    34 +
 gcc/testsuite/gm2/pim/pass/math.mod                |    27 +
 gcc/testsuite/gm2/pim/pass/maxlongint.mod          |    40 +
 gcc/testsuite/gm2/pim/pass/maxreal.mod             |    27 +
 gcc/testsuite/gm2/pim/pass/maxreal2.mod            |    28 +
 gcc/testsuite/gm2/pim/pass/minmaxconst.mod         |    28 +
 gcc/testsuite/gm2/pim/pass/minmaxconst2.mod        |    32 +
 gcc/testsuite/gm2/pim/pass/modaddr.mod             |    26 +
 gcc/testsuite/gm2/pim/pass/multaddr.mod            |    26 +
 gcc/testsuite/gm2/pim/pass/multiple.mod            |    51 +
 gcc/testsuite/gm2/pim/pass/multiset.mod            |    39 +
 gcc/testsuite/gm2/pim/pass/multtypes.mod           |    68 +
 gcc/testsuite/gm2/pim/pass/mydef.def               |    24 +
 gcc/testsuite/gm2/pim/pass/negatives.def           |    25 +
 gcc/testsuite/gm2/pim/pass/negatives.mod           |    61 +
 gcc/testsuite/gm2/pim/pass/nested.mod              |    37 +
 gcc/testsuite/gm2/pim/pass/nested2.mod             |    35 +
 gcc/testsuite/gm2/pim/pass/nested3.mod             |    43 +
 gcc/testsuite/gm2/pim/pass/nested4.mod             |    49 +
 gcc/testsuite/gm2/pim/pass/nested5.mod             |    52 +
 gcc/testsuite/gm2/pim/pass/nested6.mod             |    32 +
 gcc/testsuite/gm2/pim/pass/nested7.mod             |    47 +
 gcc/testsuite/gm2/pim/pass/nestedfor.mod           |    71 +
 gcc/testsuite/gm2/pim/pass/nestedif.mod            |    39 +
 gcc/testsuite/gm2/pim/pass/nestedset.mod           |    22 +
 gcc/testsuite/gm2/pim/pass/onezero.mod             |    35 +
 gcc/testsuite/gm2/pim/pass/opaque.def              |    25 +
 gcc/testsuite/gm2/pim/pass/opaque.mod              |    47 +
 gcc/testsuite/gm2/pim/pass/opaque2.mod             |    38 +
 gcc/testsuite/gm2/pim/pass/opaquetype.def          |    36 +
 gcc/testsuite/gm2/pim/pass/opaquetype.mod          |    25 +
 gcc/testsuite/gm2/pim/pass/param.mod               |    34 +
 gcc/testsuite/gm2/pim/pass/param2.mod              |    40 +
 gcc/testsuite/gm2/pim/pass/param3.mod              |    34 +
 gcc/testsuite/gm2/pim/pass/parambool.mod           |    51 +
 gcc/testsuite/gm2/pim/pass/paramreal.mod           |    53 +
 gcc/testsuite/gm2/pim/pass/pim-pass.exp            |    38 +
 gcc/testsuite/gm2/pim/pass/pimimp.mod              |    54 +
 gcc/testsuite/gm2/pim/pass/pointer.mod             |    28 +
 gcc/testsuite/gm2/pim/pass/procadr.mod             |    39 +
 gcc/testsuite/gm2/pim/pass/procconv.mod            |    47 +
 gcc/testsuite/gm2/pim/pass/procconv2.mod           |    47 +
 gcc/testsuite/gm2/pim/pass/procedure1.mod          |    32 +
 gcc/testsuite/gm2/pim/pass/procedure2.mod          |    44 +
 gcc/testsuite/gm2/pim/pass/procindirect.mod        |    59 +
 gcc/testsuite/gm2/pim/pass/procmod.mod             |    36 +
 gcc/testsuite/gm2/pim/pass/procmod2.mod            |    36 +
 gcc/testsuite/gm2/pim/pass/procmod3.mod            |    54 +
 gcc/testsuite/gm2/pim/pass/procmod31.mod           |    40 +
 gcc/testsuite/gm2/pim/pass/procmod4.mod            |    34 +
 gcc/testsuite/gm2/pim/pass/procmod5.mod            |    33 +
 gcc/testsuite/gm2/pim/pass/procmod6.def            |    25 +
 gcc/testsuite/gm2/pim/pass/procmod6.mod            |    33 +
 gcc/testsuite/gm2/pim/pass/procmod7.mod            |    40 +
 gcc/testsuite/gm2/pim/pass/procmod8.mod            |    63 +
 gcc/testsuite/gm2/pim/pass/procmod9.mod            |    54 +
 gcc/testsuite/gm2/pim/pass/proctype.mod            |    27 +
 gcc/testsuite/gm2/pim/pass/proctype2.def           |    37 +
 gcc/testsuite/gm2/pim/pass/proctype3.mod           |    27 +
 gcc/testsuite/gm2/pim/pass/proctype4.mod           |    29 +
 gcc/testsuite/gm2/pim/pass/program.mod             |   108 +
 gcc/testsuite/gm2/pim/pass/program2.mod            |   284 +
 gcc/testsuite/gm2/pim/pass/ptrarray.mod            |    31 +
 gcc/testsuite/gm2/pim/pass/ptrarray2.mod           |    24 +
 gcc/testsuite/gm2/pim/pass/ptrarray3.mod           |    19 +
 gcc/testsuite/gm2/pim/pass/ptrcard.mod             |    30 +
 gcc/testsuite/gm2/pim/pass/quads.def               |    25 +
 gcc/testsuite/gm2/pim/pass/quads.mod               |    24 +
 gcc/testsuite/gm2/pim/pass/real.mod                |    28 +
 gcc/testsuite/gm2/pim/pass/real2.mod               |    27 +
 gcc/testsuite/gm2/pim/pass/real3.mod               |    39 +
 gcc/testsuite/gm2/pim/pass/realconst.mod           |    26 +
 gcc/testsuite/gm2/pim/pass/realneg.mod             |    31 +
 gcc/testsuite/gm2/pim/pass/realneg2.mod            |    34 +
 gcc/testsuite/gm2/pim/pass/realone.mod             |    28 +
 gcc/testsuite/gm2/pim/pass/realsize.mod            |    28 +
 gcc/testsuite/gm2/pim/pass/record1.mod             |    35 +
 gcc/testsuite/gm2/pim/pass/record10.mod            |    44 +
 gcc/testsuite/gm2/pim/pass/record11.mod            |    35 +
 gcc/testsuite/gm2/pim/pass/record12.def            |    35 +
 gcc/testsuite/gm2/pim/pass/record13.def            |    36 +
 gcc/testsuite/gm2/pim/pass/record14.def            |    40 +
 gcc/testsuite/gm2/pim/pass/record15.def            |    41 +
 gcc/testsuite/gm2/pim/pass/record16.def            |    34 +
 gcc/testsuite/gm2/pim/pass/record2.mod             |    41 +
 gcc/testsuite/gm2/pim/pass/record3.mod             |    69 +
 gcc/testsuite/gm2/pim/pass/record4.mod             |    42 +
 gcc/testsuite/gm2/pim/pass/record5.mod             |    34 +
 gcc/testsuite/gm2/pim/pass/record6.mod             |    37 +
 gcc/testsuite/gm2/pim/pass/record7.mod             |    36 +
 gcc/testsuite/gm2/pim/pass/record8.mod             |    35 +
 gcc/testsuite/gm2/pim/pass/record9.mod             |    37 +
 gcc/testsuite/gm2/pim/pass/recordarray.c           |    19 +
 gcc/testsuite/gm2/pim/pass/recordarray.mod         |    39 +
 gcc/testsuite/gm2/pim/pass/recordarray2.mod        |    30 +
 gcc/testsuite/gm2/pim/pass/redef.mod               |    23 +
 gcc/testsuite/gm2/pim/pass/set10.mod               |    23 +
 gcc/testsuite/gm2/pim/pass/set11.def               |    27 +
 gcc/testsuite/gm2/pim/pass/set11.mod               |    31 +
 gcc/testsuite/gm2/pim/pass/set12.mod               |    30 +
 gcc/testsuite/gm2/pim/pass/set4.mod                |    29 +
 gcc/testsuite/gm2/pim/pass/set5.mod                |    40 +
 gcc/testsuite/gm2/pim/pass/set6.mod                |    40 +
 gcc/testsuite/gm2/pim/pass/set7.mod                |    30 +
 gcc/testsuite/gm2/pim/pass/set8.mod                |    40 +
 gcc/testsuite/gm2/pim/pass/set9.mod                |    45 +
 gcc/testsuite/gm2/pim/pass/setchar.mod             |    29 +
 gcc/testsuite/gm2/pim/pass/setchar10.mod           |    43 +
 gcc/testsuite/gm2/pim/pass/setchar11.mod           |    26 +
 gcc/testsuite/gm2/pim/pass/setchar3.mod            |    40 +
 gcc/testsuite/gm2/pim/pass/setchar4.mod            |    39 +
 gcc/testsuite/gm2/pim/pass/setchar5.mod            |    34 +
 gcc/testsuite/gm2/pim/pass/setchar7.mod            |    32 +
 gcc/testsuite/gm2/pim/pass/setchar8.mod            |    31 +
 gcc/testsuite/gm2/pim/pass/setchar9.mod            |    35 +
 gcc/testsuite/gm2/pim/pass/setconst.mod            |    33 +
 gcc/testsuite/gm2/pim/pass/setconst2.mod           |    40 +
 gcc/testsuite/gm2/pim/pass/setconst3.mod           |    30 +
 gcc/testsuite/gm2/pim/pass/setenum.mod             |    32 +
 gcc/testsuite/gm2/pim/pass/setimp.mod              |    39 +
 gcc/testsuite/gm2/pim/pass/setimp2.mod             |    51 +
 gcc/testsuite/gm2/pim/pass/setofchar.mod           |    33 +
 gcc/testsuite/gm2/pim/pass/setoverflow.mod         |    29 +
 gcc/testsuite/gm2/pim/pass/sets.mod                |    30 +
 gcc/testsuite/gm2/pim/pass/sets2.mod               |    45 +
 gcc/testsuite/gm2/pim/pass/sets3.mod               |   172 +
 gcc/testsuite/gm2/pim/pass/sets4.mod               |    24 +
 gcc/testsuite/gm2/pim/pass/sets5.mod               |    31 +
 gcc/testsuite/gm2/pim/pass/sets6.mod               |    30 +
 gcc/testsuite/gm2/pim/pass/setsnul.mod             |    39 +
 gcc/testsuite/gm2/pim/pass/settest1.mod            |     8 +
 gcc/testsuite/gm2/pim/pass/settest2.mod            |     8 +
 gcc/testsuite/gm2/pim/pass/settest3.mod            |     8 +
 gcc/testsuite/gm2/pim/pass/simpleproc.mod          |    45 +
 gcc/testsuite/gm2/pim/pass/sizes.mod               |    28 +
 gcc/testsuite/gm2/pim/pass/sizetype.mod            |    26 +
 gcc/testsuite/gm2/pim/pass/smallset1.mod           |    44 +
 gcc/testsuite/gm2/pim/pass/smallset2.mod           |    63 +
 gcc/testsuite/gm2/pim/pass/smallset3.mod           |    79 +
 gcc/testsuite/gm2/pim/pass/smallset4.mod           |   102 +
 gcc/testsuite/gm2/pim/pass/smallset5.mod           |    49 +
 gcc/testsuite/gm2/pim/pass/smallset6.mod           |    39 +
 gcc/testsuite/gm2/pim/pass/smallset7.mod           |    33 +
 gcc/testsuite/gm2/pim/pass/stabs.mod               |    29 +
 gcc/testsuite/gm2/pim/pass/stdio.mod               |    53 +
 gcc/testsuite/gm2/pim/pass/str1.mod                |    39 +
 gcc/testsuite/gm2/pim/pass/str2.mod                |    34 +
 gcc/testsuite/gm2/pim/pass/str3.mod                |    37 +
 gcc/testsuite/gm2/pim/pass/str4.mod                |    26 +
 gcc/testsuite/gm2/pim/pass/str5.mod                |    28 +
 gcc/testsuite/gm2/pim/pass/stressset.mod           |    38 +
 gcc/testsuite/gm2/pim/pass/stringassign.mod        |    28 +
 gcc/testsuite/gm2/pim/pass/stringopaq.mod          |    26 +
 gcc/testsuite/gm2/pim/pass/strings.mod             |    28 +
 gcc/testsuite/gm2/pim/pass/strparam.def            |    22 +
 gcc/testsuite/gm2/pim/pass/strparam.mod            |    86 +
 gcc/testsuite/gm2/pim/pass/subrange.mod            |    26 +
 gcc/testsuite/gm2/pim/pass/subrange10.mod          |    45 +
 gcc/testsuite/gm2/pim/pass/subrange11.mod          |    46 +
 gcc/testsuite/gm2/pim/pass/subrange12.mod          |    29 +
 gcc/testsuite/gm2/pim/pass/subrange14.mod          |    28 +
 gcc/testsuite/gm2/pim/pass/subrange15.mod          |    30 +
 gcc/testsuite/gm2/pim/pass/subrange16.mod          |    31 +
 gcc/testsuite/gm2/pim/pass/subrange17.mod          |    32 +
 gcc/testsuite/gm2/pim/pass/subrange2.mod           |    27 +
 gcc/testsuite/gm2/pim/pass/subrange3.mod           |    29 +
 gcc/testsuite/gm2/pim/pass/subrange4.mod           |    31 +
 gcc/testsuite/gm2/pim/pass/subrange5.mod           |    23 +
 gcc/testsuite/gm2/pim/pass/subrange6.mod           |    27 +
 gcc/testsuite/gm2/pim/pass/subrange7.mod           |    32 +
 gcc/testsuite/gm2/pim/pass/subrange8.mod           |    28 +
 gcc/testsuite/gm2/pim/pass/subrange9.mod           |    43 +
 gcc/testsuite/gm2/pim/pass/test2recursive.mod      |    27 +
 gcc/testsuite/gm2/pim/pass/testabs.mod             |    36 +
 gcc/testsuite/gm2/pim/pass/testbuiltin.mod         |    39 +
 gcc/testsuite/gm2/pim/pass/testbuiltin2.mod        |    37 +
 gcc/testsuite/gm2/pim/pass/testbuiltstr.mod        |    29 +
 gcc/testsuite/gm2/pim/pass/testcap.mod             |    32 +
 gcc/testsuite/gm2/pim/pass/testcap2.mod            |    36 +
 gcc/testsuite/gm2/pim/pass/testcard.mod            |    25 +
 gcc/testsuite/gm2/pim/pass/testcard2.mod           |    29 +
 gcc/testsuite/gm2/pim/pass/testcard3.mod           |    25 +
 gcc/testsuite/gm2/pim/pass/testcard4.mod           |    30 +
 gcc/testsuite/gm2/pim/pass/testcard5.mod           |    26 +
 gcc/testsuite/gm2/pim/pass/testcase.mod            |    35 +
 gcc/testsuite/gm2/pim/pass/testcase2.mod           |    30 +
 gcc/testsuite/gm2/pim/pass/testcase3.mod           |    34 +
 gcc/testsuite/gm2/pim/pass/testcase4.mod           |    30 +
 gcc/testsuite/gm2/pim/pass/testchar.mod            |    30 +
 gcc/testsuite/gm2/pim/pass/testfloat.mod           |    34 +
 gcc/testsuite/gm2/pim/pass/testfloat2.mod          |    43 +
 gcc/testsuite/gm2/pim/pass/testfloat3.mod          |    43 +
 gcc/testsuite/gm2/pim/pass/testfloat4.mod          |    45 +
 gcc/testsuite/gm2/pim/pass/testfor.mod             |    29 +
 gcc/testsuite/gm2/pim/pass/testimpvar.mod          |    25 +
 gcc/testsuite/gm2/pim/pass/testlong3.mod           |    24 +
 gcc/testsuite/gm2/pim/pass/testmod.mod             |    28 +
 gcc/testsuite/gm2/pim/pass/testmod2.mod            |    43 +
 gcc/testsuite/gm2/pim/pass/testodd.mod             |    36 +
 gcc/testsuite/gm2/pim/pass/testopaque.mod          |    31 +
 gcc/testsuite/gm2/pim/pass/testopaque2.mod         |    27 +
 gcc/testsuite/gm2/pim/pass/testopaque3.mod         |    31 +
 gcc/testsuite/gm2/pim/pass/testord.mod             |    32 +
 gcc/testsuite/gm2/pim/pass/testparam.mod           |    43 +
 gcc/testsuite/gm2/pim/pass/testparam2.mod          |    35 +
 gcc/testsuite/gm2/pim/pass/testparam3.mod          |    35 +
 gcc/testsuite/gm2/pim/pass/testpimsize.mod         |    26 +
 gcc/testsuite/gm2/pim/pass/testrecursive.def       |    21 +
 gcc/testsuite/gm2/pim/pass/testrecursive.mod       |    22 +
 gcc/testsuite/gm2/pim/pass/testreturnstr.mod       |    21 +
 gcc/testsuite/gm2/pim/pass/testset.mod             |    28 +
 gcc/testsuite/gm2/pim/pass/testshort.mod           |    35 +
 gcc/testsuite/gm2/pim/pass/testsinf.mod            |    27 +
 gcc/testsuite/gm2/pim/pass/testsinl.mod            |    27 +
 gcc/testsuite/gm2/pim/pass/testsize.mod            |    34 +
 gcc/testsuite/gm2/pim/pass/testvar.mod             |    53 +
 gcc/testsuite/gm2/pim/pass/testvarin.mod           |    28 +
 gcc/testsuite/gm2/pim/pass/timeio.mod              |    36 +
 gcc/testsuite/gm2/pim/pass/timeio2.mod             |    40 +
 gcc/testsuite/gm2/pim/pass/timeio3.mod             |    36 +
 gcc/testsuite/gm2/pim/pass/timeio4.mod             |    38 +
 gcc/testsuite/gm2/pim/pass/timeio5.mod             |    36 +
 gcc/testsuite/gm2/pim/pass/timeio6.mod             |    39 +
 gcc/testsuite/gm2/pim/pass/timeio7.mod             |    34 +
 gcc/testsuite/gm2/pim/pass/timeio8.mod             |    39 +
 gcc/testsuite/gm2/pim/pass/timeio9.mod             |    37 +
 gcc/testsuite/gm2/pim/pass/tinyalloc.mod           |    27 +
 gcc/testsuite/gm2/pim/pass/tinyarray.mod           |    27 +
 gcc/testsuite/gm2/pim/pass/tinyarray2.mod          |    33 +
 gcc/testsuite/gm2/pim/pass/tinyarray3.mod          |    28 +
 gcc/testsuite/gm2/pim/pass/tinyarray4.mod          |    25 +
 gcc/testsuite/gm2/pim/pass/tinyarray5.mod          |    28 +
 gcc/testsuite/gm2/pim/pass/tinyarray6.mod          |    28 +
 gcc/testsuite/gm2/pim/pass/tinyassign.def          |    22 +
 gcc/testsuite/gm2/pim/pass/tinyassign.mod          |    28 +
 gcc/testsuite/gm2/pim/pass/tinyassign2.mod         |    25 +
 gcc/testsuite/gm2/pim/pass/tinyassign3.mod         |    32 +
 gcc/testsuite/gm2/pim/pass/tinyassign4.mod         |    34 +
 gcc/testsuite/gm2/pim/pass/tinyassign5.mod         |    29 +
 gcc/testsuite/gm2/pim/pass/tinybitset.mod          |    25 +
 gcc/testsuite/gm2/pim/pass/tinyelse.mod            |    35 +
 gcc/testsuite/gm2/pim/pass/tinyenum.mod            |    25 +
 gcc/testsuite/gm2/pim/pass/tinyfor.mod             |    29 +
 gcc/testsuite/gm2/pim/pass/tinyfor2.mod            |    29 +
 gcc/testsuite/gm2/pim/pass/tinyfor3.mod            |    29 +
 gcc/testsuite/gm2/pim/pass/tinyhalt.mod            |    24 +
 gcc/testsuite/gm2/pim/pass/tinyhello.mod           |    25 +
 gcc/testsuite/gm2/pim/pass/tinyif.mod              |    32 +
 gcc/testsuite/gm2/pim/pass/tinyif2.mod             |    35 +
 gcc/testsuite/gm2/pim/pass/tinyif3.mod             |    36 +
 gcc/testsuite/gm2/pim/pass/tinyif4.mod             |    39 +
 gcc/testsuite/gm2/pim/pass/tinyif5.mod             |    37 +
 gcc/testsuite/gm2/pim/pass/tinyif6.mod             |    37 +
 gcc/testsuite/gm2/pim/pass/tinyif7.mod             |    38 +
 gcc/testsuite/gm2/pim/pass/tinyif8.mod             |    39 +
 gcc/testsuite/gm2/pim/pass/tinyimp.mod             |    23 +
 gcc/testsuite/gm2/pim/pass/tinylit.mod             |    28 +
 gcc/testsuite/gm2/pim/pass/tinylit2.mod            |    28 +
 gcc/testsuite/gm2/pim/pass/tinymax.mod             |    29 +
 gcc/testsuite/gm2/pim/pass/tinymod.mod             |    21 +
 gcc/testsuite/gm2/pim/pass/tinynode.mod            |    34 +
 gcc/testsuite/gm2/pim/pass/tinyparam.mod           |    39 +
 gcc/testsuite/gm2/pim/pass/tinyparam2.mod          |    39 +
 gcc/testsuite/gm2/pim/pass/tinyplus.mod            |    33 +
 gcc/testsuite/gm2/pim/pass/tinyproc.mod            |    32 +
 gcc/testsuite/gm2/pim/pass/tinyproc2.mod           |    26 +
 gcc/testsuite/gm2/pim/pass/tinyproc3.mod           |    26 +
 gcc/testsuite/gm2/pim/pass/tinyproc4.mod           |    26 +
 gcc/testsuite/gm2/pim/pass/tinyproc5.mod           |    30 +
 gcc/testsuite/gm2/pim/pass/tinyproc6.mod           |    30 +
 gcc/testsuite/gm2/pim/pass/tinyptr.mod             |    28 +
 gcc/testsuite/gm2/pim/pass/tinyreal.mod            |    12 +
 gcc/testsuite/gm2/pim/pass/tinyrecord.mod          |    43 +
 gcc/testsuite/gm2/pim/pass/tinyrepeat.mod          |    31 +
 gcc/testsuite/gm2/pim/pass/tinyset6.mod            |    35 +
 gcc/testsuite/gm2/pim/pass/tinyset7.mod            |    32 +
 gcc/testsuite/gm2/pim/pass/tinystate.mod           |    60 +
 gcc/testsuite/gm2/pim/pass/tinysub.def             |    37 +
 gcc/testsuite/gm2/pim/pass/tinytest.mod            |    24 +
 gcc/testsuite/gm2/pim/pass/tinytrue.mod            |    25 +
 gcc/testsuite/gm2/pim/pass/tinyvar.mod             |    23 +
 gcc/testsuite/gm2/pim/pass/tinyvar2.mod            |    24 +
 gcc/testsuite/gm2/pim/pass/tinyvar3.mod            |    24 +
 gcc/testsuite/gm2/pim/pass/tinyvar4.mod            |    29 +
 gcc/testsuite/gm2/pim/pass/tinyvar5.mod            |    29 +
 gcc/testsuite/gm2/pim/pass/tinyvarient.mod         |    36 +
 gcc/testsuite/gm2/pim/pass/tinyvarient2.mod        |    36 +
 gcc/testsuite/gm2/pim/pass/tinyvarient3.def        |    24 +
 gcc/testsuite/gm2/pim/pass/tinyvarient3.mod        |    36 +
 gcc/testsuite/gm2/pim/pass/tinyvarient4.mod        |    44 +
 gcc/testsuite/gm2/pim/pass/tinyvarient5.mod        |    53 +
 gcc/testsuite/gm2/pim/pass/tinyvarient6.mod        |   145 +
 gcc/testsuite/gm2/pim/pass/tinywhile.mod           |    29 +
 gcc/testsuite/gm2/pim/pass/tinywith.mod            |    33 +
 gcc/testsuite/gm2/pim/pass/tinywith2.mod           |    37 +
 gcc/testsuite/gm2/pim/pass/tinywith3.mod           |    39 +
 gcc/testsuite/gm2/pim/pass/tinywith4.mod           |    35 +
 gcc/testsuite/gm2/pim/pass/tinywith5.mod           |    36 +
 gcc/testsuite/gm2/pim/pass/tinywith6.mod           |    40 +
 gcc/testsuite/gm2/pim/pass/trunc.mod               |    30 +
 gcc/testsuite/gm2/pim/pass/try                     |    74 +
 gcc/testsuite/gm2/pim/pass/typeequiv.mod           |    56 +
 gcc/testsuite/gm2/pim/pass/typeequiv2.mod          |    52 +
 gcc/testsuite/gm2/pim/pass/typeequiv3.mod          |    50 +
 gcc/testsuite/gm2/pim/pass/typeonly.def            |    25 +
 gcc/testsuite/gm2/pim/pass/typeonly.mod            |    20 +
 gcc/testsuite/gm2/pim/pass/typesize.mod            |    29 +
 gcc/testsuite/gm2/pim/pass/unbounded.mod           |    26 +
 gcc/testsuite/gm2/pim/pass/unbounded2.mod          |    26 +
 gcc/testsuite/gm2/pim/pass/unbounded3.mod          |    27 +
 gcc/testsuite/gm2/pim/pass/v.def                   |    23 +
 gcc/testsuite/gm2/pim/pass/varaddress.mod          |    31 +
 gcc/testsuite/gm2/pim/pass/varaddress2.mod         |    26 +
 gcc/testsuite/gm2/pim/pass/varaddress3.mod         |    33 +
 gcc/testsuite/gm2/pim/pass/varcard.mod             |    34 +
 gcc/testsuite/gm2/pim/pass/variant9.mod            |    45 +
 gcc/testsuite/gm2/pim/pass/varient.mod             |    45 +
 gcc/testsuite/gm2/pim/pass/varient2.mod            |    34 +
 gcc/testsuite/gm2/pim/pass/varient3.mod            |    36 +
 gcc/testsuite/gm2/pim/pass/varient4.mod            |    46 +
 gcc/testsuite/gm2/pim/pass/varient5.mod            |    34 +
 gcc/testsuite/gm2/pim/pass/varient6.mod            |    37 +
 gcc/testsuite/gm2/pim/pass/varient7.mod            |    35 +
 gcc/testsuite/gm2/pim/pass/varient8.mod            |    44 +
 gcc/testsuite/gm2/pim/pass/varin.def               |    24 +
 gcc/testsuite/gm2/pim/pass/varin.mod               |    22 +
 gcc/testsuite/gm2/pim/pass/varint.mod              |    30 +
 gcc/testsuite/gm2/pim/pass/wincat.mod              |    36 +
 gcc/testsuite/gm2/pim/pass/with.mod                |    36 +
 gcc/testsuite/gm2/pim/pass/wordconst.mod           |    29 +
 gcc/testsuite/gm2/pim/run/fail/case.mod            |    33 +
 gcc/testsuite/gm2/pim/run/fail/nil.mod             |    28 +
 gcc/testsuite/gm2/pim/run/fail/pim-run-fail.exp    |    38 +
 gcc/testsuite/gm2/pim/run/pass/Countdown.mod       |    39 +
 gcc/testsuite/gm2/pim/run/pass/EndFor.def          |    28 +
 gcc/testsuite/gm2/pim/run/pass/EndFor.mod          |   185 +
 gcc/testsuite/gm2/pim/run/pass/EnumTest.mod        |    70 +
 gcc/testsuite/gm2/pim/run/pass/For1.mod            |    33 +
 gcc/testsuite/gm2/pim/run/pass/For10.mod           |    65 +
 gcc/testsuite/gm2/pim/run/pass/For11.mod           |    65 +
 gcc/testsuite/gm2/pim/run/pass/For12.mod           |    34 +
 gcc/testsuite/gm2/pim/run/pass/For2.mod            |    33 +
 gcc/testsuite/gm2/pim/run/pass/For3.mod            |    48 +
 gcc/testsuite/gm2/pim/run/pass/For4.mod            |    54 +
 gcc/testsuite/gm2/pim/run/pass/For5.mod            |    50 +
 gcc/testsuite/gm2/pim/run/pass/For6.mod            |    54 +
 gcc/testsuite/gm2/pim/run/pass/For7.mod            |    60 +
 gcc/testsuite/gm2/pim/run/pass/For8.mod            |    59 +
 gcc/testsuite/gm2/pim/run/pass/For9.mod            |    27 +
 gcc/testsuite/gm2/pim/run/pass/FpuIOBug.mod        |    35 +
 gcc/testsuite/gm2/pim/run/pass/MaxReal.mod         |    31 +
 gcc/testsuite/gm2/pim/run/pass/MaxReal2.mod        |    36 +
 gcc/testsuite/gm2/pim/run/pass/TestLong.mod        |    52 +
 gcc/testsuite/gm2/pim/run/pass/TestLong2.mod       |    31 +
 gcc/testsuite/gm2/pim/run/pass/TestLong4.mod       |    40 +
 gcc/testsuite/gm2/pim/run/pass/TestLong5.mod       |    48 +
 gcc/testsuite/gm2/pim/run/pass/addrarray.mod       |    38 +
 gcc/testsuite/gm2/pim/run/pass/arraychar.mod       |    46 +
 gcc/testsuite/gm2/pim/run/pass/arraychar2.mod      |    50 +
 gcc/testsuite/gm2/pim/run/pass/arrayrecord.mod     |    58 +
 gcc/testsuite/gm2/pim/run/pass/bitsettest.def      |    22 +
 gcc/testsuite/gm2/pim/run/pass/bitsettest.mod      |    37 +
 gcc/testsuite/gm2/pim/run/pass/bytearray.mod       |    42 +
 gcc/testsuite/gm2/pim/run/pass/constdynstr.mod     |    29 +
 gcc/testsuite/gm2/pim/run/pass/conststr.mod        |    25 +
 gcc/testsuite/gm2/pim/run/pass/conststr2.mod       |    54 +
 gcc/testsuite/gm2/pim/run/pass/cycles.mod          |    41 +
 gcc/testsuite/gm2/pim/run/pass/dec.mod             |    44 +
 gcc/testsuite/gm2/pim/run/pass/enums.mod           |    31 +
 gcc/testsuite/gm2/pim/run/pass/incsubrange.def     |     9 +
 gcc/testsuite/gm2/pim/run/pass/incsubrange.mod     |    26 +
 gcc/testsuite/gm2/pim/run/pass/index3.mod          |    39 +
 gcc/testsuite/gm2/pim/run/pass/int16.mod           |    27 +
 gcc/testsuite/gm2/pim/run/pass/int32.mod           |    39 +
 gcc/testsuite/gm2/pim/run/pass/int8.mod            |    27 +
 gcc/testsuite/gm2/pim/run/pass/line.mod            |    31 +
 gcc/testsuite/gm2/pim/run/pass/long.mod            |    25 +
 gcc/testsuite/gm2/pim/run/pass/longfor.mod         |    38 +
 gcc/testsuite/gm2/pim/run/pass/longtypes10.mod     |    39 +
 gcc/testsuite/gm2/pim/run/pass/longtypes7.mod      |    41 +
 gcc/testsuite/gm2/pim/run/pass/longtypes8.mod      |    45 +
 gcc/testsuite/gm2/pim/run/pass/longtypes9.mod      |    39 +
 gcc/testsuite/gm2/pim/run/pass/math.mod            |    44 +
 gcc/testsuite/gm2/pim/run/pass/math2.mod           |    44 +
 gcc/testsuite/gm2/pim/run/pass/mathconst.mod       |    56 +
 gcc/testsuite/gm2/pim/run/pass/minhello.mod        |    12 +
 gcc/testsuite/gm2/pim/run/pass/minimal.mod         |     5 +
 gcc/testsuite/gm2/pim/run/pass/nestedproc.mod      |    56 +
 gcc/testsuite/gm2/pim/run/pass/nestedproc2.mod     |    58 +
 gcc/testsuite/gm2/pim/run/pass/nestedproc3.mod     |    67 +
 gcc/testsuite/gm2/pim/run/pass/nestedproc4.mod     |    33 +
 gcc/testsuite/gm2/pim/run/pass/nestedproc5.mod     |    62 +
 gcc/testsuite/gm2/pim/run/pass/nestedproc6.mod     |    45 +
 gcc/testsuite/gm2/pim/run/pass/nestedproc7.mod     |    35 +
 gcc/testsuite/gm2/pim/run/pass/nestedwith.mod      |    41 +
 gcc/testsuite/gm2/pim/run/pass/nestedwith2.mod     |    45 +
 gcc/testsuite/gm2/pim/run/pass/nestedwith3.mod     |    45 +
 gcc/testsuite/gm2/pim/run/pass/nothing.mod         |    27 +
 gcc/testsuite/gm2/pim/run/pass/pim-run-pass.exp    |    44 +
 gcc/testsuite/gm2/pim/run/pass/prog31ex.mod        |    36 +
 gcc/testsuite/gm2/pim/run/pass/rts.mod             |    41 +
 gcc/testsuite/gm2/pim/run/pass/setcritical.mod     |   129 +
 gcc/testsuite/gm2/pim/run/pass/setequiv.mod        |    36 +
 gcc/testsuite/gm2/pim/run/pass/str6.mod            |    40 +
 gcc/testsuite/gm2/pim/run/pass/stringaddr.mod      |    14 +
 gcc/testsuite/gm2/pim/run/pass/stringaddr2.def     |    22 +
 gcc/testsuite/gm2/pim/run/pass/stringaddr2.mod     |    14 +
 gcc/testsuite/gm2/pim/run/pass/stripped.mod        |    22 +
 gcc/testsuite/gm2/pim/run/pass/sys.def             |    24 +
 gcc/testsuite/gm2/pim/run/pass/sys.mod             |    37 +
 gcc/testsuite/gm2/pim/run/pass/t.def               |     1 +
 gcc/testsuite/gm2/pim/run/pass/testaddr.mod        |    42 +
 gcc/testsuite/gm2/pim/run/pass/testaddr2.mod       |    25 +
 gcc/testsuite/gm2/pim/run/pass/testaddr3.mod       |    27 +
 gcc/testsuite/gm2/pim/run/pass/testarray.mod       |    32 +
 gcc/testsuite/gm2/pim/run/pass/testarray2.mod      |    48 +
 gcc/testsuite/gm2/pim/run/pass/testarray3.mod      |    45 +
 gcc/testsuite/gm2/pim/run/pass/testarray4.mod      |    45 +
 gcc/testsuite/gm2/pim/run/pass/testarray5.mod      |    51 +
 gcc/testsuite/gm2/pim/run/pass/testavail.mod       |    32 +
 gcc/testsuite/gm2/pim/run/pass/testdiv.mod         |   136 +
 gcc/testsuite/gm2/pim/run/pass/testfpufunc.mod     |    38 +
 gcc/testsuite/gm2/pim/run/pass/testfpufunc2.mod    |    42 +
 gcc/testsuite/gm2/pim/run/pass/testlarge.mod       |    44 +
 gcc/testsuite/gm2/pim/run/pass/testlarge2.mod      |    45 +
 gcc/testsuite/gm2/pim/run/pass/testnextproc.mod    |    33 +
 gcc/testsuite/gm2/pim/run/pass/testparam.mod       |    70 +
 gcc/testsuite/gm2/pim/run/pass/testreturnstr.mod   |    39 +
 gcc/testsuite/gm2/pim/run/pass/testreturnstr2.mod  |    36 +
 gcc/testsuite/gm2/pim/run/pass/testreturnstr3.def  |    35 +
 gcc/testsuite/gm2/pim/run/pass/testreturnstr3.mod  |    25 +
 gcc/testsuite/gm2/pim/run/pass/testsize.mod        |    27 +
 gcc/testsuite/gm2/pim/run/pass/testsize2.mod       |    37 +
 gcc/testsuite/gm2/pim/run/pass/testsize3.mod       |    28 +
 gcc/testsuite/gm2/pim/run/pass/testsize4.mod       |    37 +
 gcc/testsuite/gm2/pim/run/pass/testtbitsize.mod    |    34 +
 gcc/testsuite/gm2/pim/run/pass/tinywith.mod        |    42 +
 gcc/testsuite/gm2/pim/run/pass/unbounded.mod       |    53 +
 gcc/testsuite/gm2/pim/run/pass/varaddress3.mod     |    33 +
 gcc/testsuite/gm2/pim/run/pass/varparam2.mod       |    48 +
 gcc/testsuite/gm2/pim/run/pass/varparam3.mod       |    68 +
 gcc/testsuite/gm2/pim/run/pass/varparm.mod         |    42 +
 gcc/testsuite/gm2/pim/run/pass/wr.mod              |    26 +
 gcc/testsuite/gm2/pimcoroutines/pass/imports.mod   |    27 +
 gcc/testsuite/gm2/pimcoroutines/pass/imports2.mod  |    25 +
 .../gm2/pimcoroutines/pass/pimcoroutines-pass.exp  |    37 +
 .../run/pass/pimcoroutines-run-pass.exp            |    43 +
 .../gm2/pimcoroutines/run/pass/testtime.mod        |   116 +
 gcc/testsuite/gm2/pimlib/base/run/pass/FIO.mod     |  1712 ++
 gcc/testsuite/gm2/pimlib/base/run/pass/StrLib.mod  |   217 +
 .../pimlib/base/run/pass/pimlib-base-run-pass.exp  |    39 +
 .../gm2/pimlib/base/run/pass/testconvert.mod       |    57 +
 .../coroutines/pass/pimlib-coroutines-pass.exp     |    37 +
 .../gm2/pimlib/coroutines/pass/priority.mod        |    21 +
 .../gm2/pimlib/coroutines/pass/priority2.mod       |    38 +
 .../gm2/pimlib/coroutines/pass/priority3.def       |    22 +
 .../gm2/pimlib/coroutines/pass/priority3.mod       |    50 +
 .../gm2/pimlib/logitech/pass/LogitechLong.mod      |    40 +
 gcc/testsuite/gm2/pimlib/logitech/pass/hello.mod   |    24 +
 .../pimlib/logitech/pass/pimlib-logitech-pass.exp  |    37 +
 .../gm2/pimlib/logitech/run/pass/bbits.mod         |    94 +
 .../gm2/pimlib/logitech/run/pass/hello.mod         |    24 +
 .../gm2/pimlib/logitech/run/pass/helloinout.mod    |    24 +
 .../gm2/pimlib/logitech/run/pass/intb.mod          |    88 +
 .../logitech/run/pass/pimlib-logitech-run-pass.exp |    41 +
 .../gm2/pimlib/logitech/run/pass/realconv.mod      |    85 +
 .../gm2/pimlib/logitech/run/pass/realinput.mod     |    65 +
 .../gm2/pimlib/logitech/run/pass/realinput2.mod    |    65 +
 .../gm2/pimlib/logitech/run/pass/realinput3.mod    |    65 +
 .../gm2/pimlib/logitech/run/pass/rename.mod        |    47 +
 .../gm2/pimlib/logitech/run/pass/timedate.mod      |    36 +
 .../gm2/pimlib/logitech/run/pass/writeoct.mod      |    25 +
 gcc/testsuite/gm2/pimlib/pass/pimlib-pass.exp      |    37 +
 gcc/testsuite/gm2/pimlib/run/pass/format.mod       |    98 +
 gcc/testsuite/gm2/pimlib/run/pass/limittests.c     |    16 +
 gcc/testsuite/gm2/pimlib/run/pass/limittests.mod   |    68 +
 gcc/testsuite/gm2/pimlib/run/pass/longreal.mod     |    54 +
 .../gm2/pimlib/run/pass/pimlib-run-pass.exp        |    41 +
 gcc/testsuite/gm2/pimlib/run/pass/test.c           |    16 +
 gcc/testsuite/gm2/pimlib/run/pass/testreal.mod     |    50 +
 gcc/testsuite/gm2/pimlib/run/pass/testreal2.mod    |    93 +
 gcc/testsuite/gm2/pimlib/run/pass/testreal4.mod    |    64 +
 gcc/testsuite/gm2/projects/README                  |     3 +
 .../gm2/projects/iso/run/pass/halma/halma.mod      |  1952 ++
 .../run/pass/halma/projects-iso-run-pass-halma.exp |    40 +
 .../gm2/projects/iso/run/pass/hello/hello.mod      |     7 +
 .../run/pass/hello/projects-iso-run-pass-hello.exp |    40 +
 .../gm2/projects/log/run/pass/hello/hello.mod      |     7 +
 .../run/pass/hello/projects-log-run-pass-hello.exp |    40 +
 .../gm2/projects/pim/run/pass/hello/hello.mod      |     7 +
 .../run/pass/hello/projects-pim-run-pass-hello.exp |    40 +
 .../gm2/projects/pim/run/pass/random/AdvMap.def    |   107 +
 .../gm2/projects/pim/run/pass/random/AdvMap.mod    |   420 +
 .../gm2/projects/pim/run/pass/random/BoxMap.def    |    81 +
 .../gm2/projects/pim/run/pass/random/BoxMap.mod    |  1784 ++
 .../gm2/projects/pim/run/pass/random/Chance.def    |    87 +
 .../gm2/projects/pim/run/pass/random/Chance.mod    |   222 +
 .../gm2/projects/pim/run/pass/random/Geometry.def  |   100 +
 .../gm2/projects/pim/run/pass/random/Geometry.mod  |   155 +
 .../gm2/projects/pim/run/pass/random/MakeBoxes.def |    67 +
 .../gm2/projects/pim/run/pass/random/MakeBoxes.mod |   238 +
 .../gm2/projects/pim/run/pass/random/Map.mod       |    30 +
 .../projects/pim/run/pass/random/MapOptions.def    |    51 +
 .../projects/pim/run/pass/random/MapOptions.mod    |    51 +
 .../gm2/projects/pim/run/pass/random/Options.def   |    47 +
 .../gm2/projects/pim/run/pass/random/Options.mod   |   171 +
 .../gm2/projects/pim/run/pass/random/RoomMap.def   |    91 +
 .../gm2/projects/pim/run/pass/random/RoomMap.mod   |  1497 ++
 .../projects/pim/run/pass/random/StoreCoords.def   |    72 +
 .../projects/pim/run/pass/random/StoreCoords.mod   |   235 +
 .../gm2/projects/pim/run/pass/random/WriteMap.def  |    48 +
 .../gm2/projects/pim/run/pass/random/WriteMap.mod  |   185 +
 .../pass/random/projects-pim-run-pass-random.exp   |    51 +
 gcc/testsuite/gm2/quads/run/pass/becomes.mod       |    24 +
 gcc/testsuite/gm2/quads/run/pass/param.mod         |    26 +
 .../gm2/quads/run/pass/quads-run-pass.exp          |    39 +
 gcc/testsuite/gm2/quads/run/pass/return.mod        |    29 +
 .../gm2/recover/pass/cannot-solve/begin.mod        |    34 +
 .../recover/pass/cannot-solve/statementsemi.mod    |    12 +
 gcc/testsuite/gm2/recover/pass/end2.mod            |    26 +
 gcc/testsuite/gm2/recover/pass/of.mod              |    23 +
 gcc/testsuite/gm2/recover/pass/procsemi.mod        |    10 +
 gcc/testsuite/gm2/recover/pass/recover-pass.exp    |    37 +
 gcc/testsuite/gm2/recover/pass/rrbra.mod           |    24 +
 gcc/testsuite/gm2/recover/pass/rsbra.mod           |    23 +
 gcc/testsuite/gm2/recover/pass/semi.mod            |    21 +
 gcc/testsuite/gm2/run/fail/list.mod                |   105 +
 gcc/testsuite/gm2/run/fail/options                 |     1 +
 gcc/testsuite/gm2/run/fail/testdec.mod             |    25 +
 gcc/testsuite/gm2/run/fail/testfunc.mod            |    37 +
 gcc/testsuite/gm2/run/pass/cycles.mod              |    41 +
 gcc/testsuite/gm2/run/pass/line.mod                |    31 +
 gcc/testsuite/gm2/run/pass/nestedproc.mod          |    56 +
 gcc/testsuite/gm2/run/pass/nestedproc2.mod         |    58 +
 gcc/testsuite/gm2/run/pass/nestedproc3.mod         |    67 +
 gcc/testsuite/gm2/run/pass/nestedproc5.mod         |    57 +
 gcc/testsuite/gm2/run/pass/nestedset.mod           |    22 +
 gcc/testsuite/gm2/run/pass/nothing.mod             |    27 +
 gcc/testsuite/gm2/run/pass/options                 |     1 +
 gcc/testsuite/gm2/run/pass/prog31ex.mod            |    36 +
 gcc/testsuite/gm2/run/pass/rts.mod                 |    41 +
 gcc/testsuite/gm2/run/pass/stripped.mod            |    22 +
 gcc/testsuite/gm2/run/pass/testavail.mod           |    32 +
 gcc/testsuite/gm2/run/pass/testfpufunc.mod         |    38 +
 gcc/testsuite/gm2/run/pass/testfpufunc2.mod        |    42 +
 gcc/testsuite/gm2/run/pass/testnextproc.mod        |    33 +
 gcc/testsuite/gm2/run/pass/testparam.mod           |    70 +
 gcc/testsuite/gm2/run/pass/testsize.mod            |    27 +
 gcc/testsuite/gm2/run/pass/testsize2.mod           |    37 +
 gcc/testsuite/gm2/run/pass/testsize3.mod           |    28 +
 gcc/testsuite/gm2/run/pass/wr.mod                  |    42 +
 gcc/testsuite/gm2/scripts/addit                    |    29 +
 gcc/testsuite/gm2/scripts/comp                     |    40 +
 gcc/testsuite/gm2/scripts/compile                  |    53 +
 gcc/testsuite/gm2/scripts/compileiso               |    53 +
 gcc/testsuite/gm2/scripts/link                     |    45 +
 gcc/testsuite/gm2/scripts/regression               |   147 +
 gcc/testsuite/gm2/scripts/subit                    |    32 +
 gcc/testsuite/gm2/sets/run/pass/multisetarith.mod  |    35 +
 gcc/testsuite/gm2/sets/run/pass/multisetarith2.mod |    35 +
 gcc/testsuite/gm2/sets/run/pass/multisetarith3.mod |    34 +
 gcc/testsuite/gm2/sets/run/pass/multisetarith4.mod |    34 +
 gcc/testsuite/gm2/sets/run/pass/multisetrotate.mod |    34 +
 .../gm2/sets/run/pass/multisetrotate2.mod          |    34 +
 .../gm2/sets/run/pass/multisetrotate3.mod          |    76 +
 .../gm2/sets/run/pass/multisetrotate4.mod          |    41 +
 gcc/testsuite/gm2/sets/run/pass/multisetshift.mod  |    34 +
 gcc/testsuite/gm2/sets/run/pass/multisetshift2.mod |    34 +
 gcc/testsuite/gm2/sets/run/pass/multisimple.mod    |    34 +
 gcc/testsuite/gm2/sets/run/pass/multisimple2.mod   |    35 +
 gcc/testsuite/gm2/sets/run/pass/multisimple3.mod   |    35 +
 gcc/testsuite/gm2/sets/run/pass/multisimple4.mod   |    35 +
 gcc/testsuite/gm2/sets/run/pass/multisimple5.mod   |    35 +
 gcc/testsuite/gm2/sets/run/pass/multisimple6.mod   |    35 +
 gcc/testsuite/gm2/sets/run/pass/multisimple7.mod   |    35 +
 gcc/testsuite/gm2/sets/run/pass/setarith.mod       |    32 +
 gcc/testsuite/gm2/sets/run/pass/setarith2.mod      |    32 +
 gcc/testsuite/gm2/sets/run/pass/setarith3.mod      |    31 +
 gcc/testsuite/gm2/sets/run/pass/setarith4.mod      |    31 +
 gcc/testsuite/gm2/sets/run/pass/setrotate.mod      |    32 +
 gcc/testsuite/gm2/sets/run/pass/setrotate2.mod     |    32 +
 gcc/testsuite/gm2/sets/run/pass/setrotate3.mod     |    38 +
 gcc/testsuite/gm2/sets/run/pass/setrotate4.mod     |    38 +
 gcc/testsuite/gm2/sets/run/pass/sets-run-pass.exp  |    40 +
 gcc/testsuite/gm2/sets/run/pass/setshift.mod       |    32 +
 gcc/testsuite/gm2/sets/run/pass/setshift2.mod      |    32 +
 gcc/testsuite/gm2/sets/run/pass/simple.mod         |    31 +
 gcc/testsuite/gm2/sets/run/pass/simple2.mod        |    32 +
 gcc/testsuite/gm2/sets/run/pass/simple3.mod        |    32 +
 gcc/testsuite/gm2/sets/run/pass/simple4.mod        |    32 +
 gcc/testsuite/gm2/sets/run/pass/simple5.mod        |    32 +
 gcc/testsuite/gm2/sets/run/pass/simple6.mod        |    32 +
 gcc/testsuite/gm2/sets/run/pass/simple7.mod        |    32 +
 .../auto-init/fail/switches-auto-init-fail.exp     |    48 +
 .../gm2/switches/auto-init/fail/uninitptr.mod      |     7 +
 .../gm2/switches/auto-init/fail/uninitptr2.mod     |    12 +
 .../gm2/switches/check-all/pim2/fail/overflow.mod  |    44 +
 .../gm2/switches/check-all/pim2/fail/overflow2.mod |    42 +
 .../switches/check-all/pim2/fail/overflowdiv1.mod  |    34 +
 .../pim2/fail/switches-check-all-pim2-fail.exp     |    48 +
 .../check-all/plugin/iso/fail/divceilposneg.mod    |    32 +
 .../check-all/plugin/iso/fail/divceilposneg2.mod   |    32 +
 .../plugin/iso/fail/divceilposnegcall.mod          |    39 +
 .../plugin/iso/fail/divceilposnegcall2.mod         |    36 +
 .../check-all/plugin/iso/fail/divfloornegpos.mod   |    32 +
 .../check-all/plugin/iso/fail/divfloorpospos.mod   |    32 +
 .../switches/check-all/plugin/iso/fail/lowdiv.mod  |    47 +
 .../fail/switches-check-all-plugin-iso-fail.exp    |    59 +
 .../check-all/plugin/pim2/fail/divceil.mod         |    32 +
 .../check-all/plugin/pim2/fail/highdiv.mod         |    34 +
 .../check-all/plugin/pim2/fail/modulus.mod         |    42 +
 .../check-all/plugin/pim2/fail/plugin1.mod         |    42 +
 .../check-all/plugin/pim2/fail/plugin3.mod         |    49 +
 .../check-all/plugin/pim2/fail/plugin4.def         |    26 +
 .../check-all/plugin/pim2/fail/plugin4.mod         |    40 +
 .../check-all/plugin/pim2/fail/plugin5.def         |    26 +
 .../check-all/plugin/pim2/fail/plugin5.mod         |    33 +
 .../check-all/plugin/pim2/fail/plugin6.def         |    26 +
 .../check-all/plugin/pim2/fail/plugin6.mod         |    35 +
 .../check-all/plugin/pim2/fail/plugin7.def         |    26 +
 .../check-all/plugin/pim2/fail/plugin7.mod         |    46 +
 .../check-all/plugin/pim2/fail/plugin8.def         |    26 +
 .../check-all/plugin/pim2/fail/plugin8.mod         |    43 +
 .../check-all/plugin/pim2/fail/plugin9.mod         |    53 +
 .../fail/switches-check-all-plugin-pim2-fail.exp   |    59 +
 .../gm2/switches/check-all/run/fail/cardrange.mod  |    30 +
 .../gm2/switches/check-all/run/fail/cardrange2.mod |    30 +
 .../gm2/switches/check-all/run/fail/cardrange3.mod |    29 +
 .../gm2/switches/check-all/run/fail/intrange.mod   |    30 +
 .../gm2/switches/check-all/run/fail/intrange2.mod  |    30 +
 .../gm2/switches/check-all/run/fail/intrange3.mod  |    30 +
 .../gm2/switches/check-all/run/fail/intrange4.mod  |    29 +
 .../gm2/switches/check-all/run/fail/intrange5.mod  |    29 +
 .../gm2/switches/check-all/run/fail/multint1.mod   |    30 +
 .../gm2/switches/check-all/run/fail/multint2.mod   |    30 +
 .../gm2/switches/check-all/run/fail/multint3.mod   |    30 +
 .../switches/check-all/run/fail/rangesupport.def   |    26 +
 .../switches/check-all/run/fail/rangesupport.mod   |    46 +
 .../gm2/switches/check-all/run/fail/realrange.mod  |    27 +
 .../gm2/switches/check-all/run/fail/subrange.mod   |    29 +
 .../run/fail/switches-check-all-run-fail.exp       |    51 +
 .../gm2/switches/check-all/run/fail/tinyrange.mod  |    17 +
 .../gm2/switches/check-all/run/pass/cardrange.mod  |    28 +
 .../gm2/switches/check-all/run/pass/forcheck.mod   |    59 +
 .../gm2/switches/check-all/run/pass/subrange.mod   |    28 +
 .../run/pass/switches-check-all-run-pass.exp       |    39 +
 .../gm2/switches/extended-opaque/fail/a.def        |    25 +
 .../gm2/switches/extended-opaque/fail/a.mod        |    25 +
 .../fail/switches-extended-opaque-fail.exp         |    42 +
 .../gm2/switches/extended-opaque/pass/a.def        |    25 +
 .../gm2/switches/extended-opaque/pass/a.mod        |    25 +
 .../gm2/switches/extended-opaque/pass/b.mod        |    25 +
 .../pass/switches-extended-opaque-pass.exp         |    37 +
 .../gm2/switches/iso/run/pass/modulus.mod          |    76 +
 .../gm2/switches/iso/run/pass/modulus4.mod         |    76 +
 .../iso/run/pass/switches-iso-run-pass.exp         |    38 +
 .../makeall/fail/switches-makeall-fail.exp         |    42 +
 gcc/testsuite/gm2/switches/makeall/fail/test.def   |     5 +
 gcc/testsuite/gm2/switches/makeall/fail/test.mod   |     8 +
 .../makeall/pass/switches-makeall-pass.exp         |    37 +
 gcc/testsuite/gm2/switches/makeall/pass/test.def   |     5 +
 gcc/testsuite/gm2/switches/makeall/pass/test.mod   |     8 +
 .../gm2/switches/none/run/pass/gm2-none.exp        |    39 +
 gcc/testsuite/gm2/switches/none/run/pass/hello.mod |    25 +
 .../gm2/switches/optimization/run/pass/fact.mod    |    38 +
 .../run/pass/switches-optimization-run-pass.exp    |    37 +
 .../gm2/switches/pedantic-params/fail/a.def        |    23 +
 .../gm2/switches/pedantic-params/fail/a.mod        |    23 +
 .../fail/switches-pedantic-params-fail.exp         |    37 +
 .../gm2/switches/pedantic-params/pass/Strings.def  |   166 +
 .../gm2/switches/pedantic-params/pass/Strings.mod  |   515 +
 .../gm2/switches/pedantic-params/pass/Strings2.def |   166 +
 .../gm2/switches/pedantic-params/pass/Strings2.mod |   521 +
 .../pass/switches-pedantic-params-pass.exp         |    37 +
 .../gm2/switches/pedantic/fail/onlywrite.mod       |    25 +
 .../gm2/switches/pedantic/fail/readb4.mod          |    28 +
 gcc/testsuite/gm2/switches/pic/run/pass/func.c     |    12 +
 gcc/testsuite/gm2/switches/pic/run/pass/func.mod   |    30 +
 gcc/testsuite/gm2/switches/pic/run/pass/func2.c    |    24 +
 gcc/testsuite/gm2/switches/pic/run/pass/func2.mod  |    33 +
 .../pic/run/pass/switches-pic-run-pass.exp         |    40 +
 .../gm2/switches/pim2/run/pass/modulus.mod         |    62 +
 .../pim2/run/pass/switches-pim2-run-pass.exp       |    39 +
 .../gm2/switches/pim3/run/pass/modulus.mod         |    62 +
 .../pim3/run/pass/switches-pim3-run-pass.exp       |    38 +
 .../gm2/switches/pim4/run/pass/FpuIOBug.mod        |    97 +
 .../gm2/switches/pim4/run/pass/InOutBug.mod        |    73 +
 .../gm2/switches/pim4/run/pass/NumberIOBug.mod     |    58 +
 .../gm2/switches/pim4/run/pass/modulus.mod         |    64 +
 .../gm2/switches/pim4/run/pass/modulus2.mod        |   108 +
 .../pim4/run/pass/switches-pim4-run-pass.exp       |    38 +
 .../gm2/switches/whole-program/pass/run/hello.mod  |     7 +
 .../gm2/switches/whole-program/pass/run/hello2.mod |     7 +
 .../pass/run/switches-whole-program-pass-run.exp   |    36 +
 .../gm2/switches/whole-program/pass/run/tiny.mod   |    25 +
 .../gm2/switches/whole-program/pass/run/tiny2.mod  |    25 +
 gcc/testsuite/gm2/types/bitset.mod                 |    25 +
 gcc/testsuite/gm2/types/bitset2.mod                |    27 +
 gcc/testsuite/gm2/types/bitset3.mod                |    37 +
 gcc/testsuite/gm2/types/charset.mod                |    26 +
 gcc/testsuite/gm2/types/const.mod                  |    41 +
 gcc/testsuite/gm2/types/prog35.mod                 |    44 +
 gcc/testsuite/gm2/types/real.mod                   |    27 +
 gcc/testsuite/gm2/types/run/pass/d.c               |    55 +
 gcc/testsuite/gm2/types/run/pass/d.def             |    39 +
 .../gm2/types/run/pass/types-run-pass.exp          |    42 +
 gcc/testsuite/gm2/types/run/pass/varient4.mod      |    41 +
 gcc/testsuite/gm2/types/run/pass/varient5.mod      |    62 +
 gcc/testsuite/gm2/types/string.mod                 |    45 +
 gcc/testsuite/gm2/types/type1.mod                  |    25 +
 gcc/testsuite/gm2/types/type2.mod                  |    24 +
 gcc/testsuite/gm2/types/type3.mod                  |    37 +
 gcc/testsuite/gm2/types/type4.mod                  |    48 +
 gcc/testsuite/gm2/types/varient.mod                |    76 +
 gcc/testsuite/gm2/types/word.mod                   |    29 +
 gcc/testsuite/gm2/ulmlib/pass/ulmlib-pass.exp      |    37 +
 .../gm2/ulmlib/std/pass/ulmlib-std-pass.exp        |    37 +
 .../gm2/ulmlib/sys/pass/ulmlib-sys-pass.exp        |    37 +
 gcc/testsuite/gm2/warnings/todo/nestedproc6.mod    |    57 +
 gcc/testsuite/gm2/warnings/todo/options            |     1 +
 gcc/testsuite/gm2/warnings/todo/testfor.mod        |    32 +
 gcc/testsuite/gm2/warnings/todo/testfor2.mod       |    33 +
 gcc/testsuite/gm2/warnings/todo/testfor3.mod       |    26 +
 gcc/testsuite/gm2/warnings/todo/testkeywords.mod   |    24 +
 gcc/testsuite/gm2/warnings/todo/testloop.mod       |    24 +
 gcc/testsuite/gm2/warnings/todo/testscope.mod      |    42 +
 gcc/testsuite/gm2/warnings/todo/testscope2.mod     |    32 +
 gcc/testsuite/gm2/x86-asm/asm.mod                  |    27 +
 gcc/testsuite/gm2/x86-asm/asm2.mod                 |    36 +
 gcc/testsuite/lib/gm2-dg.exp                       |    77 +
 gcc/testsuite/lib/gm2-simple.exp                   |   137 +
 gcc/testsuite/lib/gm2-torture.exp                  |   538 +
 gcc/testsuite/lib/gm2.exp                          |   498 +
 libgm2/ChangeLog                                   |     5 -
 libgm2/Makefile.am                                 |   103 +
 libgm2/Makefile.in                                 |   732 +
 libgm2/aclocal.m4                                  |  1200 +
 libgm2/autogen.sh                                  |    31 +
 libgm2/config.h.in                                 |   313 +
 libgm2/configure                                   | 22363 +++++++++++++++
 libgm2/configure.ac                                |   376 +
 libgm2/libm2cor/KeyBoardLEDs.cc                    |   157 +
 libgm2/libm2cor/Makefile.am                        |   156 +
 libgm2/libm2cor/Makefile.in                        |   826 +
 libgm2/libm2iso/ChanConsts.h                       |    57 +
 libgm2/libm2iso/ErrnoCategory.cc                   |   180 +
 libgm2/libm2iso/Makefile.am                        |   244 +
 libgm2/libm2iso/Makefile.in                        |   947 +
 libgm2/libm2iso/RTco.cc                            |   468 +
 libgm2/libm2iso/m2rts.h                            |    41 +
 libgm2/libm2iso/wrapsock.c                         |   250 +
 libgm2/libm2iso/wraptime.c                         |   408 +
 libgm2/libm2log/Break.c                            |   134 +
 libgm2/libm2log/Makefile.am                        |   166 +
 libgm2/libm2log/Makefile.in                        |   803 +
 libgm2/libm2min/Makefile.am                        |   147 +
 libgm2/libm2min/Makefile.in                        |   779 +
 libgm2/libm2min/libc.c                             |    43 +
 libgm2/libm2pim/Makefile.am                        |   209 +
 libgm2/libm2pim/Makefile.in                        |   912 +
 libgm2/libm2pim/Selective.cc                       |   319 +
 libgm2/libm2pim/SysExceptions.cc                   |   259 +
 libgm2/libm2pim/UnixArgs.cc                        |    91 +
 libgm2/libm2pim/cgetopt.cc                         |   158 +
 libgm2/libm2pim/dtoa.cc                            |   265 +
 libgm2/libm2pim/errno.cc                           |    70 +
 libgm2/libm2pim/ldtoa.cc                           |   190 +
 libgm2/libm2pim/sckt.cc                            |   430 +
 libgm2/libm2pim/target.c                           |    61 +
 libgm2/libm2pim/termios.cc                         |  1987 ++
 libgm2/libm2pim/wrapc.c                            |   296 +
 2620 files changed, 541380 insertions(+), 30 deletions(-)

diff --git a/Makefile.def b/Makefile.def
index c67eb567783..5f44190154e 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -185,6 +185,7 @@ target_modules = { module= libffi; no_install=true; };
 target_modules = { module= zlib; bootstrap=true; };
 target_modules = { module= rda; };
 target_modules = { module= libada; };
+target_modules = { module= libgm2; lib_path=.libs; };
 target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; };
 target_modules = { module= libitm; lib_path=.libs; };
 target_modules = { module= libatomic; bootstrap=true; lib_path=.libs; };
@@ -307,6 +308,8 @@ flags_to_pass = { flag= GOC_FOR_TARGET ; };
 flags_to_pass = { flag= GOCFLAGS_FOR_TARGET ; };
 flags_to_pass = { flag= GDC_FOR_TARGET ; };
 flags_to_pass = { flag= GDCFLAGS_FOR_TARGET ; };
+flags_to_pass = { flag= GM2_FOR_TARGET ; };
+flags_to_pass = { flag= GM2FLAGS_FOR_TARGET ; };
 flags_to_pass = { flag= LD_FOR_TARGET ; };
 flags_to_pass = { flag= LIPO_FOR_TARGET ; };
 flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; };
@@ -618,6 +621,8 @@ dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; };
 dependencies = { module=all-target-libgo; on=all-target-libbacktrace; };
 dependencies = { module=all-target-libgo; on=all-target-libffi; };
 dependencies = { module=all-target-libgo; on=all-target-libatomic; };
+dependencies = { module=configure-target-libgm2; on=all-target-libstdc++-v3; };
+dependencies = { module=all-target-libgm2; on=all-target-libatomic; };
 dependencies = { module=configure-target-libphobos; on=configure-target-libbacktrace; };
 dependencies = { module=configure-target-libphobos; on=configure-target-zlib; };
 dependencies = { module=all-target-libphobos; on=all-target-libbacktrace; };
@@ -673,6 +678,8 @@ languages = { language=obj-c++;	gcc-check-target=check-obj-c++; };
 languages = { language=go;	gcc-check-target=check-go;
 				lib-check-target=check-target-libgo;
 				lib-check-target=check-gotools; };
+languages = { language=m2;	gcc-check-target=check-m2;
+				lib-check-target=check-target-libgm2; };
 languages = { language=d;	gcc-check-target=check-d;
 				lib-check-target=check-target-libphobos; };
 languages = { language=jit;	gcc-check-target=check-jit; };
diff --git a/Makefile.in b/Makefile.in
index fad49011e61..83e250f21a9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -163,6 +163,8 @@ BUILD_EXPORTS = \
 	GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
 	GDC="$(GDC_FOR_BUILD)"; export GDC; \
 	GDCFLAGS="$(GDCFLAGS_FOR_BUILD)"; export GDCFLAGS; \
+	GM2="$(GM2_FOR_BUILD)"; export GM2; \
+	GM2FLAGS="$(GM2FLAGS_FOR_BUILD)"; export GM2FLAGS; \
 	DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
 	DSYMUTIL="$(DSYMUTIL_FOR_BUILD)"; export DSYMUTIL; \
 	LD="$(LD_FOR_BUILD)"; export LD; \
@@ -201,6 +203,7 @@ HOST_EXPORTS = \
 	GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
 	GOC="$(GOC)"; export GOC; \
 	GDC="$(GDC)"; export GDC; \
+	GM2="$(GM2)"; export GM2; \
 	AR="$(AR)"; export AR; \
 	AS="$(AS)"; export AS; \
 	CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
@@ -304,6 +307,7 @@ BASE_TARGET_EXPORTS = \
 	GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
 	GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
 	GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
+	GM2="$(GM2_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GM2; \
 	DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
 	DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
 	LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
@@ -370,6 +374,7 @@ DSYMUTIL_FOR_BUILD = @DSYMUTIL_FOR_BUILD@
 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
 GOC_FOR_BUILD = @GOC_FOR_BUILD@
 GDC_FOR_BUILD = @GDC_FOR_BUILD@
+GM2_FOR_BUILD = @GM2_FOR_BUILD@
 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
 LD_FOR_BUILD = @LD_FOR_BUILD@
 NM_FOR_BUILD = @NM_FOR_BUILD@
@@ -440,6 +445,7 @@ CXXFLAGS = @CXXFLAGS@
 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
 GOCFLAGS = $(CFLAGS)
 GDCFLAGS = $(CFLAGS)
+GM2FLAGS = $(CFLAGS)
 
 # Pass additional PGO and LTO compiler options to the PGO build.
 BUILD_CFLAGS = $(PGO_BUILD_CFLAGS) $(PGO_BUILD_LTO_CFLAGS)
@@ -655,6 +661,7 @@ RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
 GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
+GM2_FOR_TARGET=$(STAGE_CC_WRAPPER) @GM2_FOR_TARGET@
 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
 DSYMUTIL_FOR_TARGET=@DSYMUTIL_FOR_TARGET@
 LD_FOR_TARGET=@LD_FOR_TARGET@
@@ -680,6 +687,7 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
+GM2FLAGS_FOR_TARGET = -O2 -g
 GOCFLAGS_FOR_TARGET = -O2 -g
 GDCFLAGS_FOR_TARGET = -O2 -g
 
@@ -706,7 +714,7 @@ all:
 
 # This is the list of directories that may be needed in RPATH_ENVVAR
 # so that programs built for the target machine work.
-TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libphobos)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
+TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libphobos)$(TARGET_LIB_PATH_libgm2)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
 
 @if target-libstdc++-v3
 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
@@ -728,6 +736,10 @@ TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
 TARGET_LIB_PATH_libphobos = $$r/$(TARGET_SUBDIR)/libphobos/src/.libs:
 @endif target-libphobos
 
+@if target-libgm2
+TARGET_LIB_PATH_libgm2 = $$r/$(TARGET_SUBDIR)/libgm2/.libs:
+@endif target-libgm2
+
 @if target-libgomp
 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
 @endif target-libgomp
@@ -873,6 +885,8 @@ BASE_FLAGS_TO_PASS = \
 	"GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
 	"GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
 	"GDCFLAGS_FOR_TARGET=$(GDCFLAGS_FOR_TARGET)" \
+	"GM2_FOR_TARGET=$(GM2_FOR_TARGET)" \
+	"GM2FLAGS_FOR_TARGET=$(GM2FLAGS_FOR_TARGET)" \
 	"LD_FOR_TARGET=$(LD_FOR_TARGET)" \
 	"LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
 	"LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
@@ -946,6 +960,7 @@ EXTRA_HOST_FLAGS = \
 	'GFORTRAN=$(GFORTRAN)' \
 	'GOC=$(GOC)' \
 	'GDC=$(GDC)' \
+	'GM2=$(GM2)' \
 	'LD=$(LD)' \
 	'LIPO=$(LIPO)' \
 	'NM=$(NM)' \
@@ -972,6 +987,7 @@ POSTSTAGE1_FLAGS_TO_PASS = \
 	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
 	CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
 	GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
+	GM2="$${GM2}" GM2_FOR_BUILD="$${GM2_FOR_BUILD}" \
 	GNATBIND="$${GNATBIND}" \
 	LDFLAGS="$${LDFLAGS}" \
 	HOST_LIBS="$${HOST_LIBS}" \
@@ -1007,6 +1023,8 @@ EXTRA_TARGET_FLAGS = \
 	'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
 	'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
 	'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
+	'GM2=$$(GM2_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
+	'GM2FLAGS=$$(GM2FLAGS_FOR_TARGET)' \
 	'LD=$(COMPILER_LD_FOR_TARGET)' \
 	'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
 	'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
@@ -1033,6 +1051,7 @@ TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
 # cross-building scheme.
 EXTRA_GCC_FLAGS = \
 	"GCC_FOR_TARGET=$(GCC_FOR_TARGET) $$TFLAGS" \
+	"GM2_FOR_TARGET=$(GM2_FOR_TARGET) $$TFLAGS" \
 	"`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
 	"`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
 
@@ -1120,6 +1139,7 @@ configure-target:  \
     maybe-configure-target-zlib \
     maybe-configure-target-rda \
     maybe-configure-target-libada \
+    maybe-configure-target-libgm2 \
     maybe-configure-target-libgomp \
     maybe-configure-target-libitm \
     maybe-configure-target-libatomic
@@ -1313,6 +1333,7 @@ all-target: maybe-all-target-zlib
 @endif target-zlib-no-bootstrap
 all-target: maybe-all-target-rda
 all-target: maybe-all-target-libada
+all-target: maybe-all-target-libgm2
 @if target-libgomp-no-bootstrap
 all-target: maybe-all-target-libgomp
 @endif target-libgomp-no-bootstrap
@@ -1411,6 +1432,7 @@ info-target: maybe-info-target-libffi
 info-target: maybe-info-target-zlib
 info-target: maybe-info-target-rda
 info-target: maybe-info-target-libada
+info-target: maybe-info-target-libgm2
 info-target: maybe-info-target-libgomp
 info-target: maybe-info-target-libitm
 info-target: maybe-info-target-libatomic
@@ -1500,6 +1522,7 @@ dvi-target: maybe-dvi-target-libffi
 dvi-target: maybe-dvi-target-zlib
 dvi-target: maybe-dvi-target-rda
 dvi-target: maybe-dvi-target-libada
+dvi-target: maybe-dvi-target-libgm2
 dvi-target: maybe-dvi-target-libgomp
 dvi-target: maybe-dvi-target-libitm
 dvi-target: maybe-dvi-target-libatomic
@@ -1589,6 +1612,7 @@ pdf-target: maybe-pdf-target-libffi
 pdf-target: maybe-pdf-target-zlib
 pdf-target: maybe-pdf-target-rda
 pdf-target: maybe-pdf-target-libada
+pdf-target: maybe-pdf-target-libgm2
 pdf-target: maybe-pdf-target-libgomp
 pdf-target: maybe-pdf-target-libitm
 pdf-target: maybe-pdf-target-libatomic
@@ -1678,6 +1702,7 @@ html-target: maybe-html-target-libffi
 html-target: maybe-html-target-zlib
 html-target: maybe-html-target-rda
 html-target: maybe-html-target-libada
+html-target: maybe-html-target-libgm2
 html-target: maybe-html-target-libgomp
 html-target: maybe-html-target-libitm
 html-target: maybe-html-target-libatomic
@@ -1767,6 +1792,7 @@ TAGS-target: maybe-TAGS-target-libffi
 TAGS-target: maybe-TAGS-target-zlib
 TAGS-target: maybe-TAGS-target-rda
 TAGS-target: maybe-TAGS-target-libada
+TAGS-target: maybe-TAGS-target-libgm2
 TAGS-target: maybe-TAGS-target-libgomp
 TAGS-target: maybe-TAGS-target-libitm
 TAGS-target: maybe-TAGS-target-libatomic
@@ -1856,6 +1882,7 @@ install-info-target: maybe-install-info-target-libffi
 install-info-target: maybe-install-info-target-zlib
 install-info-target: maybe-install-info-target-rda
 install-info-target: maybe-install-info-target-libada
+install-info-target: maybe-install-info-target-libgm2
 install-info-target: maybe-install-info-target-libgomp
 install-info-target: maybe-install-info-target-libitm
 install-info-target: maybe-install-info-target-libatomic
@@ -1945,6 +1972,7 @@ install-dvi-target: maybe-install-dvi-target-libffi
 install-dvi-target: maybe-install-dvi-target-zlib
 install-dvi-target: maybe-install-dvi-target-rda
 install-dvi-target: maybe-install-dvi-target-libada
+install-dvi-target: maybe-install-dvi-target-libgm2
 install-dvi-target: maybe-install-dvi-target-libgomp
 install-dvi-target: maybe-install-dvi-target-libitm
 install-dvi-target: maybe-install-dvi-target-libatomic
@@ -2034,6 +2062,7 @@ install-pdf-target: maybe-install-pdf-target-libffi
 install-pdf-target: maybe-install-pdf-target-zlib
 install-pdf-target: maybe-install-pdf-target-rda
 install-pdf-target: maybe-install-pdf-target-libada
+install-pdf-target: maybe-install-pdf-target-libgm2
 install-pdf-target: maybe-install-pdf-target-libgomp
 install-pdf-target: maybe-install-pdf-target-libitm
 install-pdf-target: maybe-install-pdf-target-libatomic
@@ -2123,6 +2152,7 @@ install-html-target: maybe-install-html-target-libffi
 install-html-target: maybe-install-html-target-zlib
 install-html-target: maybe-install-html-target-rda
 install-html-target: maybe-install-html-target-libada
+install-html-target: maybe-install-html-target-libgm2
 install-html-target: maybe-install-html-target-libgomp
 install-html-target: maybe-install-html-target-libitm
 install-html-target: maybe-install-html-target-libatomic
@@ -2212,6 +2242,7 @@ installcheck-target: maybe-installcheck-target-libffi
 installcheck-target: maybe-installcheck-target-zlib
 installcheck-target: maybe-installcheck-target-rda
 installcheck-target: maybe-installcheck-target-libada
+installcheck-target: maybe-installcheck-target-libgm2
 installcheck-target: maybe-installcheck-target-libgomp
 installcheck-target: maybe-installcheck-target-libitm
 installcheck-target: maybe-installcheck-target-libatomic
@@ -2301,6 +2332,7 @@ mostlyclean-target: maybe-mostlyclean-target-libffi
 mostlyclean-target: maybe-mostlyclean-target-zlib
 mostlyclean-target: maybe-mostlyclean-target-rda
 mostlyclean-target: maybe-mostlyclean-target-libada
+mostlyclean-target: maybe-mostlyclean-target-libgm2
 mostlyclean-target: maybe-mostlyclean-target-libgomp
 mostlyclean-target: maybe-mostlyclean-target-libitm
 mostlyclean-target: maybe-mostlyclean-target-libatomic
@@ -2390,6 +2422,7 @@ clean-target: maybe-clean-target-libffi
 clean-target: maybe-clean-target-zlib
 clean-target: maybe-clean-target-rda
 clean-target: maybe-clean-target-libada
+clean-target: maybe-clean-target-libgm2
 clean-target: maybe-clean-target-libgomp
 clean-target: maybe-clean-target-libitm
 clean-target: maybe-clean-target-libatomic
@@ -2479,6 +2512,7 @@ distclean-target: maybe-distclean-target-libffi
 distclean-target: maybe-distclean-target-zlib
 distclean-target: maybe-distclean-target-rda
 distclean-target: maybe-distclean-target-libada
+distclean-target: maybe-distclean-target-libgm2
 distclean-target: maybe-distclean-target-libgomp
 distclean-target: maybe-distclean-target-libitm
 distclean-target: maybe-distclean-target-libatomic
@@ -2568,6 +2602,7 @@ maintainer-clean-target: maybe-maintainer-clean-target-libffi
 maintainer-clean-target: maybe-maintainer-clean-target-zlib
 maintainer-clean-target: maybe-maintainer-clean-target-rda
 maintainer-clean-target: maybe-maintainer-clean-target-libada
+maintainer-clean-target: maybe-maintainer-clean-target-libgm2
 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
 maintainer-clean-target: maybe-maintainer-clean-target-libitm
 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
@@ -2715,6 +2750,7 @@ check-target:  \
     maybe-check-target-zlib \
     maybe-check-target-rda \
     maybe-check-target-libada \
+    maybe-check-target-libgm2 \
     maybe-check-target-libgomp \
     maybe-check-target-libitm \
     maybe-check-target-libatomic
@@ -2906,6 +2942,7 @@ install-target:  \
     maybe-install-target-zlib \
     maybe-install-target-rda \
     maybe-install-target-libada \
+    maybe-install-target-libgm2 \
     maybe-install-target-libgomp \
     maybe-install-target-libitm \
     maybe-install-target-libatomic
@@ -3015,6 +3052,7 @@ install-strip-target:  \
     maybe-install-strip-target-zlib \
     maybe-install-strip-target-rda \
     maybe-install-strip-target-libada \
+    maybe-install-strip-target-libgm2 \
     maybe-install-strip-target-libgomp \
     maybe-install-strip-target-libitm \
     maybe-install-strip-target-libatomic
@@ -58104,6 +58142,491 @@ maintainer-clean-target-libada:
 
 
 
+.PHONY: configure-target-libgm2 maybe-configure-target-libgm2
+maybe-configure-target-libgm2:
+@if gcc-bootstrap
+configure-target-libgm2: stage_current
+@endif gcc-bootstrap
+@if target-libgm2
+maybe-configure-target-libgm2: configure-target-libgm2
+configure-target-libgm2: 
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	echo "Checking multilib configuration for libgm2..."; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgm2; \
+	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgm2/multilib.tmp 2> /dev/null; \
+	if test -r $(TARGET_SUBDIR)/libgm2/multilib.out; then \
+	  if cmp -s $(TARGET_SUBDIR)/libgm2/multilib.tmp $(TARGET_SUBDIR)/libgm2/multilib.out; then \
+	    rm -f $(TARGET_SUBDIR)/libgm2/multilib.tmp; \
+	  else \
+	    rm -f $(TARGET_SUBDIR)/libgm2/Makefile; \
+	    mv $(TARGET_SUBDIR)/libgm2/multilib.tmp $(TARGET_SUBDIR)/libgm2/multilib.out; \
+	  fi; \
+	else \
+	  mv $(TARGET_SUBDIR)/libgm2/multilib.tmp $(TARGET_SUBDIR)/libgm2/multilib.out; \
+	fi; \
+	test ! -f $(TARGET_SUBDIR)/libgm2/Makefile || exit 0; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgm2; \
+	$(NORMAL_TARGET_EXPORTS)  \
+	echo Configuring in $(TARGET_SUBDIR)/libgm2; \
+	cd "$(TARGET_SUBDIR)/libgm2" || exit 1; \
+	case $(srcdir) in \
+	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+	  *) topdir=`echo $(TARGET_SUBDIR)/libgm2/ | \
+		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+	esac; \
+	module_srcdir=libgm2; \
+	rm -f no-such-file || : ; \
+	CONFIG_SITE=no-such-file $(SHELL) \
+	  $$s/$$module_srcdir/configure \
+	  --srcdir=$${topdir}/$$module_srcdir \
+	  $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+	  --target=${target_alias}  \
+	  || exit 1
+@endif target-libgm2
+
+
+
+
+
+.PHONY: all-target-libgm2 maybe-all-target-libgm2
+maybe-all-target-libgm2:
+@if gcc-bootstrap
+all-target-libgm2: stage_current
+@endif gcc-bootstrap
+@if target-libgm2
+TARGET-target-libgm2=all
+maybe-all-target-libgm2: all-target-libgm2
+all-target-libgm2: configure-target-libgm2
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS)  \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)   \
+		$(TARGET-target-libgm2))
+@endif target-libgm2
+
+
+
+
+
+.PHONY: check-target-libgm2 maybe-check-target-libgm2
+maybe-check-target-libgm2:
+@if target-libgm2
+maybe-check-target-libgm2: check-target-libgm2
+
+check-target-libgm2:
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
+
+@endif target-libgm2
+
+.PHONY: install-target-libgm2 maybe-install-target-libgm2
+maybe-install-target-libgm2:
+@if target-libgm2
+maybe-install-target-libgm2: install-target-libgm2
+
+install-target-libgm2: installdirs
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
+
+@endif target-libgm2
+
+.PHONY: install-strip-target-libgm2 maybe-install-strip-target-libgm2
+maybe-install-strip-target-libgm2:
+@if target-libgm2
+maybe-install-strip-target-libgm2: install-strip-target-libgm2
+
+install-strip-target-libgm2: installdirs
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libgm2
+
+# Other targets (info, dvi, pdf, etc.)
+
+.PHONY: maybe-info-target-libgm2 info-target-libgm2
+maybe-info-target-libgm2:
+@if target-libgm2
+maybe-info-target-libgm2: info-target-libgm2
+
+info-target-libgm2: \
+    configure-target-libgm2 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing info in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           info) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-dvi-target-libgm2 dvi-target-libgm2
+maybe-dvi-target-libgm2:
+@if target-libgm2
+maybe-dvi-target-libgm2: dvi-target-libgm2
+
+dvi-target-libgm2: \
+    configure-target-libgm2 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing dvi in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           dvi) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-pdf-target-libgm2 pdf-target-libgm2
+maybe-pdf-target-libgm2:
+@if target-libgm2
+maybe-pdf-target-libgm2: pdf-target-libgm2
+
+pdf-target-libgm2: \
+    configure-target-libgm2 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing pdf in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           pdf) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-html-target-libgm2 html-target-libgm2
+maybe-html-target-libgm2:
+@if target-libgm2
+maybe-html-target-libgm2: html-target-libgm2
+
+html-target-libgm2: \
+    configure-target-libgm2 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing html in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           html) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-TAGS-target-libgm2 TAGS-target-libgm2
+maybe-TAGS-target-libgm2:
+@if target-libgm2
+maybe-TAGS-target-libgm2: TAGS-target-libgm2
+
+TAGS-target-libgm2: \
+    configure-target-libgm2 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing TAGS in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           TAGS) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-install-info-target-libgm2 install-info-target-libgm2
+maybe-install-info-target-libgm2:
+@if target-libgm2
+maybe-install-info-target-libgm2: install-info-target-libgm2
+
+install-info-target-libgm2: \
+    configure-target-libgm2 \
+    info-target-libgm2 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing install-info in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           install-info) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-install-dvi-target-libgm2 install-dvi-target-libgm2
+maybe-install-dvi-target-libgm2:
+@if target-libgm2
+maybe-install-dvi-target-libgm2: install-dvi-target-libgm2
+
+install-dvi-target-libgm2: \
+    configure-target-libgm2 \
+    dvi-target-libgm2 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing install-dvi in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           install-dvi) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-install-pdf-target-libgm2 install-pdf-target-libgm2
+maybe-install-pdf-target-libgm2:
+@if target-libgm2
+maybe-install-pdf-target-libgm2: install-pdf-target-libgm2
+
+install-pdf-target-libgm2: \
+    configure-target-libgm2 \
+    pdf-target-libgm2 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing install-pdf in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           install-pdf) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-install-html-target-libgm2 install-html-target-libgm2
+maybe-install-html-target-libgm2:
+@if target-libgm2
+maybe-install-html-target-libgm2: install-html-target-libgm2
+
+install-html-target-libgm2: \
+    configure-target-libgm2 \
+    html-target-libgm2 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing install-html in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           install-html) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-installcheck-target-libgm2 installcheck-target-libgm2
+maybe-installcheck-target-libgm2:
+@if target-libgm2
+maybe-installcheck-target-libgm2: installcheck-target-libgm2
+
+installcheck-target-libgm2: \
+    configure-target-libgm2 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing installcheck in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           installcheck) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-mostlyclean-target-libgm2 mostlyclean-target-libgm2
+maybe-mostlyclean-target-libgm2:
+@if target-libgm2
+maybe-mostlyclean-target-libgm2: mostlyclean-target-libgm2
+
+mostlyclean-target-libgm2: 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           mostlyclean) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-clean-target-libgm2 clean-target-libgm2
+maybe-clean-target-libgm2:
+@if target-libgm2
+maybe-clean-target-libgm2: clean-target-libgm2
+
+clean-target-libgm2: 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing clean in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           clean) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-distclean-target-libgm2 distclean-target-libgm2
+maybe-distclean-target-libgm2:
+@if target-libgm2
+maybe-distclean-target-libgm2: distclean-target-libgm2
+
+distclean-target-libgm2: 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing distclean in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           distclean) \
+	  || exit 1
+
+@endif target-libgm2
+
+.PHONY: maybe-maintainer-clean-target-libgm2 maintainer-clean-target-libgm2
+maybe-maintainer-clean-target-libgm2:
+@if target-libgm2
+maybe-maintainer-clean-target-libgm2: maintainer-clean-target-libgm2
+
+maintainer-clean-target-libgm2: 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgm2"; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libgm2 && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           maintainer-clean) \
+	  || exit 1
+
+@endif target-libgm2
+
+
+
+
+
 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
 maybe-configure-target-libgomp:
 @if gcc-bootstrap
@@ -61221,6 +61744,14 @@ check-gcc-go:
 	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
 check-go: check-gcc-go check-target-libgo check-gotools
 
+.PHONY: check-gcc-m2 check-m2
+check-gcc-m2:
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-m2);
+check-m2: check-gcc-m2 check-target-libgm2
+
 .PHONY: check-gcc-d check-d
 check-gcc-d:
 	r=`${PWD_COMMAND}`; export r; \
@@ -64679,6 +65210,7 @@ configure-stageautoprofile-target-zlib: maybe-all-stageautoprofile-gcc
 configure-stageautofeedback-target-zlib: maybe-all-stageautofeedback-gcc
 configure-target-rda: stage_last
 configure-target-libada: stage_last
+configure-target-libgm2: stage_last
 configure-stage1-target-libgomp: maybe-all-stage1-gcc
 configure-stage2-target-libgomp: maybe-all-stage2-gcc
 configure-stage3-target-libgomp: maybe-all-stage3-gcc
@@ -64720,6 +65252,7 @@ configure-target-libffi: maybe-all-gcc
 configure-target-zlib: maybe-all-gcc
 configure-target-rda: maybe-all-gcc
 configure-target-libada: maybe-all-gcc
+configure-target-libgm2: maybe-all-gcc
 configure-target-libgomp: maybe-all-gcc
 configure-target-libitm: maybe-all-gcc
 configure-target-libatomic: maybe-all-gcc
@@ -66006,6 +66539,8 @@ all-target-fastjar: maybe-all-target-zlib
 configure-target-libgo: maybe-all-target-libstdc++-v3
 all-target-libgo: maybe-all-target-libbacktrace
 all-target-libgo: maybe-all-target-libatomic
+configure-target-libgm2: maybe-all-target-libstdc++-v3
+all-target-libgm2: maybe-all-target-libatomic
 configure-target-newlib: maybe-all-binutils
 configure-target-newlib: maybe-all-ld
 configure-target-libgfortran: maybe-all-target-libbacktrace
@@ -66111,6 +66646,7 @@ configure-target-libffi: maybe-all-target-libgcc
 configure-target-zlib: maybe-all-target-libgcc
 configure-target-rda: maybe-all-target-libgcc
 configure-target-libada: maybe-all-target-libgcc
+configure-target-libgm2: maybe-all-target-libgcc
 configure-target-libgomp: maybe-all-target-libgcc
 configure-target-libitm: maybe-all-target-libgcc
 configure-target-libatomic: maybe-all-target-libgcc
@@ -66153,6 +66689,8 @@ configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
 
 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
 
+configure-target-libgm2: maybe-all-target-newlib maybe-all-target-libgloss
+
 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
 
 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
diff --git a/Makefile.tpl b/Makefile.tpl
index c7344558429..dfbd74b68f8 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -166,6 +166,8 @@ BUILD_EXPORTS = \
 	GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
 	GDC="$(GDC_FOR_BUILD)"; export GDC; \
 	GDCFLAGS="$(GDCFLAGS_FOR_BUILD)"; export GDCFLAGS; \
+	GM2="$(GM2_FOR_BUILD)"; export GM2; \
+	GM2FLAGS="$(GM2FLAGS_FOR_BUILD)"; export GM2FLAGS; \
 	DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
 	DSYMUTIL="$(DSYMUTIL_FOR_BUILD)"; export DSYMUTIL; \
 	LD="$(LD_FOR_BUILD)"; export LD; \
@@ -204,6 +206,7 @@ HOST_EXPORTS = \
 	GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
 	GOC="$(GOC)"; export GOC; \
 	GDC="$(GDC)"; export GDC; \
+	GM2="$(GM2)"; export GM2; \
 	AR="$(AR)"; export AR; \
 	AS="$(AS)"; export AS; \
 	CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
@@ -307,6 +310,7 @@ BASE_TARGET_EXPORTS = \
 	GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
 	GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
 	GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
+	GM2="$(GM2_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GM2; \
 	DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
 	DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
 	LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
@@ -373,6 +377,7 @@ DSYMUTIL_FOR_BUILD = @DSYMUTIL_FOR_BUILD@
 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
 GOC_FOR_BUILD = @GOC_FOR_BUILD@
 GDC_FOR_BUILD = @GDC_FOR_BUILD@
+GM2_FOR_BUILD = @GM2_FOR_BUILD@
 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
 LD_FOR_BUILD = @LD_FOR_BUILD@
 NM_FOR_BUILD = @NM_FOR_BUILD@
@@ -443,6 +448,7 @@ CXXFLAGS = @CXXFLAGS@
 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
 GOCFLAGS = $(CFLAGS)
 GDCFLAGS = $(CFLAGS)
+GM2FLAGS = $(CFLAGS)
 
 # Pass additional PGO and LTO compiler options to the PGO build.
 BUILD_CFLAGS = $(PGO_BUILD_CFLAGS) $(PGO_BUILD_LTO_CFLAGS)
@@ -578,6 +584,7 @@ RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
 GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
+GM2_FOR_TARGET=$(STAGE_CC_WRAPPER) @GM2_FOR_TARGET@
 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
 DSYMUTIL_FOR_TARGET=@DSYMUTIL_FOR_TARGET@
 LD_FOR_TARGET=@LD_FOR_TARGET@
@@ -603,6 +610,7 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
+GM2FLAGS_FOR_TARGET = -O2 -g
 GOCFLAGS_FOR_TARGET = -O2 -g
 GDCFLAGS_FOR_TARGET = -O2 -g
 
@@ -709,6 +717,7 @@ EXTRA_HOST_FLAGS = \
 	'GFORTRAN=$(GFORTRAN)' \
 	'GOC=$(GOC)' \
 	'GDC=$(GDC)' \
+	'GM2=$(GM2)' \
 	'LD=$(LD)' \
 	'LIPO=$(LIPO)' \
 	'NM=$(NM)' \
@@ -735,6 +744,7 @@ POSTSTAGE1_FLAGS_TO_PASS = \
 	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
 	CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
 	GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
+	GM2="$${GM2}" GM2_FOR_BUILD="$${GM2_FOR_BUILD}" \
 	GNATBIND="$${GNATBIND}" \
 	LDFLAGS="$${LDFLAGS}" \
 	HOST_LIBS="$${HOST_LIBS}" \
@@ -770,6 +780,8 @@ EXTRA_TARGET_FLAGS = \
 	'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
 	'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
 	'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
+	'GM2=$$(GM2_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
+	'GM2FLAGS=$$(GM2FLAGS_FOR_TARGET)' \
 	'LD=$(COMPILER_LD_FOR_TARGET)' \
 	'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
 	'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
@@ -796,6 +808,7 @@ TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
 # cross-building scheme.
 EXTRA_GCC_FLAGS = \
 	"GCC_FOR_TARGET=$(GCC_FOR_TARGET) $$TFLAGS" \
+	"GM2_FOR_TARGET=$(GM2_FOR_TARGET) $$TFLAGS" \
 	"`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
 	"`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
 
diff --git a/configure b/configure
index 6815216cf49..2b86f25656b 100755
--- a/configure
+++ b/configure
@@ -613,6 +613,7 @@ DSYMUTIL_FOR_TARGET
 DLLTOOL_FOR_TARGET
 AS_FOR_TARGET
 AR_FOR_TARGET
+GM2_FOR_TARGET
 GDC_FOR_TARGET
 GOC_FOR_TARGET
 GFORTRAN_FOR_TARGET
@@ -803,6 +804,7 @@ enable_compressed_debug_sections
 enable_libquadmath
 enable_libquadmath_support
 enable_libada
+enable_libgm2
 enable_libssp
 enable_libstdcxx
 enable_bootstrap
@@ -880,6 +882,7 @@ GCC_FOR_TARGET
 GFORTRAN_FOR_TARGET
 GOC_FOR_TARGET
 GDC_FOR_TARGET
+GM2_FOR_TARGET
 AR_FOR_TARGET
 AS_FOR_TARGET
 DLLTOOL_FOR_TARGET
@@ -1540,6 +1543,7 @@ Optional Features:
   --disable-libquadmath-support
                           disable libquadmath support for Fortran
   --enable-libada         build libada directory
+  --enable-libgm2         build libgm2 directory
   --enable-libssp         build libssp directory
   --disable-libstdcxx     do not build libstdc++-v3 directory
   --enable-bootstrap      enable bootstrapping [yes if native build]
@@ -1674,6 +1678,8 @@ Some influential environment variables:
               GOC for the target
   GDC_FOR_TARGET
               GDC for the target
+  GM2_FOR_TARGET
+              GM2 for the target
   AR_FOR_TARGET
               AR for the target
   AS_FOR_TARGET
@@ -2812,7 +2818,7 @@ host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktr
 # binutils, gas and ld appear in that order because it makes sense to run
 # "make check" in that particular order.
 # If --enable-gold is used, "gold" may replace "ld".
-host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools c++tools"
+host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gm2tools gotools c++tools"
 
 # these libraries are built for the target environment, and are built after
 # the host libraries and the host tools (which may be a cross compiler)
@@ -2833,6 +2839,7 @@ target_libraries="target-libgcc \
 		target-libffi \
 		target-libobjc \
 		target-libada \
+		target-libgm2 \
 		target-libgo \
 		target-libphobos \
 		target-zlib"
@@ -3176,6 +3183,17 @@ if test "${ENABLE_LIBADA}" != "yes" ; then
   noconfigdirs="$noconfigdirs gnattools"
 fi
 
+# Check whether --enable-libgm2 was given.
+if test "${enable_libgm2+set}" = set; then :
+  enableval=$enable_libgm2; ENABLE_LIBGM2=$enableval
+else
+  ENABLE_LIBGM2=no
+fi
+
+if test "${ENABLE_LIBGM2}" != "yes" ; then
+  noconfigdirs="$noconfigdirs gm2tools"
+fi
+
 # Check whether --enable-libssp was given.
 if test "${enable_libssp+set}" = set; then :
   enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
@@ -13786,6 +13804,167 @@ fi
 
 
 
+if test -n "$GM2_FOR_TARGET"; then
+  ac_cv_prog_GM2_FOR_TARGET=$GM2_FOR_TARGET
+elif test -n "$ac_cv_prog_GM2_FOR_TARGET"; then
+  GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
+fi
+
+if test -n "$ac_cv_prog_GM2_FOR_TARGET"; then
+  for ncn_progname in gm2; do
+    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
+set dummy ${ncn_progname}; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$GM2_FOR_TARGET"; then
+  ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_GM2_FOR_TARGET="${ncn_progname}"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
+if test -n "$GM2_FOR_TARGET"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GM2_FOR_TARGET" >&5
+$as_echo "$GM2_FOR_TARGET" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  done
+fi
+
+if test -z "$ac_cv_prog_GM2_FOR_TARGET" && test -n "$with_build_time_tools"; then
+  for ncn_progname in gm2; do
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
+$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
+    if test -x $with_build_time_tools/${ncn_progname}; then
+      ac_cv_prog_GM2_FOR_TARGET=$with_build_time_tools/${ncn_progname}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+      break
+    else
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+    fi
+  done
+fi
+
+if test -z "$ac_cv_prog_GM2_FOR_TARGET"; then
+  for ncn_progname in gm2; do
+    if test -n "$ncn_target_tool_prefix"; then
+      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
+set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$GM2_FOR_TARGET"; then
+  ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_GM2_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
+if test -n "$GM2_FOR_TARGET"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GM2_FOR_TARGET" >&5
+$as_echo "$GM2_FOR_TARGET" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    fi
+    if test -z "$ac_cv_prog_GM2_FOR_TARGET" && test $build = $target ; then
+      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
+set dummy ${ncn_progname}; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$GM2_FOR_TARGET"; then
+  ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_GM2_FOR_TARGET="${ncn_progname}"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
+if test -n "$GM2_FOR_TARGET"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GM2_FOR_TARGET" >&5
+$as_echo "$GM2_FOR_TARGET" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    fi
+    test -n "$ac_cv_prog_GM2_FOR_TARGET" && break
+  done
+fi
+
+if test -z "$ac_cv_prog_GM2_FOR_TARGET" ; then
+  set dummy gm2
+  if test $build = $target ; then
+    GM2_FOR_TARGET="$2"
+  else
+    GM2_FOR_TARGET="${ncn_target_tool_prefix}$2"
+  fi
+else
+  GM2_FOR_TARGET="$ac_cv_prog_GM2_FOR_TARGET"
+fi
+
+
+
 cat > conftest.c << \EOF
 #ifdef __GNUC__
   gcc_yay;
@@ -17718,6 +17897,51 @@ $as_echo "pre-installed" >&6; }
   fi
 fi
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gm2" >&5
+$as_echo_n "checking where to find the target gm2... " >&6; }
+if test "x${build}" != "x${host}" ; then
+  if expr "x$GM2_FOR_TARGET" : "x/" > /dev/null; then
+    # We already found the complete path
+    ac_dir=`dirname $GM2_FOR_TARGET`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
+$as_echo "pre-installed in $ac_dir" >&6; }
+  else
+    # Canadian cross, just use what we found
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
+$as_echo "pre-installed" >&6; }
+  fi
+else
+  ok=yes
+  case " ${configdirs} " in
+    *" gcc "*) ;;
+    *) ok=no ;;
+  esac
+  case ,${enable_languages}, in
+    *,m2,*) ;;
+    *) ok=no ;;
+  esac
+  if test $ok = yes; then
+    # An in-tree tool is available and we can use it
+    GM2_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gm2 -B$$r/$(HOST_SUBDIR)/gcc/'
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
+$as_echo "just compiled" >&6; }
+  elif expr "x$GM2_FOR_TARGET" : "x/" > /dev/null; then
+    # We already found the complete path
+    ac_dir=`dirname $GM2_FOR_TARGET`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
+$as_echo "pre-installed in $ac_dir" >&6; }
+  elif test "x$target" = "x$host"; then
+    # We can use an host tool
+    GM2_FOR_TARGET='$(GM2)'
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
+$as_echo "host tool" >&6; }
+  else
+    # We need a cross tool
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
+$as_echo "pre-installed" >&6; }
+  fi
+fi
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
 $as_echo_n "checking where to find the target ld... " >&6; }
 if test "x${build}" != "x${host}" ; then
@@ -18279,6 +18503,9 @@ fi
 # Specify what files to not compare during bootstrap.
 
 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
+compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/M2Version*"
+compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/SYSTEM*"
+compare_exclusions="$compare_exclusions | gcc/m2/gm2version*"
 case "$target" in
   hppa*64*-*-hpux*) ;;
   powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions | *libgomp*\$(objext)" ;;
diff --git a/configure.ac b/configure.ac
index 83bbc4cd04d..c5191ce24ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,7 +140,7 @@ host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktr
 # binutils, gas and ld appear in that order because it makes sense to run
 # "make check" in that particular order.
 # If --enable-gold is used, "gold" may replace "ld".
-host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools c++tools"
+host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gm2tools gotools c++tools"
 
 # these libraries are built for the target environment, and are built after
 # the host libraries and the host tools (which may be a cross compiler)
@@ -161,6 +161,7 @@ target_libraries="target-libgcc \
 		target-libffi \
 		target-libobjc \
 		target-libada \
+		target-libgm2 \
 		target-libgo \
 		target-libphobos \
 		target-zlib"
@@ -464,6 +465,14 @@ if test "${ENABLE_LIBADA}" != "yes" ; then
   noconfigdirs="$noconfigdirs gnattools"
 fi
 
+AC_ARG_ENABLE(libgm2,
+[AS_HELP_STRING([--enable-libgm2], [build libgm2 directory])],
+ENABLE_LIBGM2=$enableval,
+ENABLE_LIBGM2=no)
+if test "${ENABLE_LIBGM2}" != "yes" ; then
+  noconfigdirs="$noconfigdirs gm2tools"
+fi
+
 AC_ARG_ENABLE(libssp,
 [AS_HELP_STRING([--enable-libssp], [build libssp directory])],
 ENABLE_LIBSSP=$enableval,
@@ -3579,6 +3588,7 @@ NCN_STRICT_CHECK_TARGET_TOOLS(GCC_FOR_TARGET, gcc, ${CC_FOR_TARGET})
 NCN_STRICT_CHECK_TARGET_TOOLS(GFORTRAN_FOR_TARGET, gfortran)
 NCN_STRICT_CHECK_TARGET_TOOLS(GOC_FOR_TARGET, gccgo)
 NCN_STRICT_CHECK_TARGET_TOOLS(GDC_FOR_TARGET, gdc)
+NCN_STRICT_CHECK_TARGET_TOOLS(GM2_FOR_TARGET, gm2)
 
 ACX_CHECK_INSTALLED_TARGET_TOOL(AR_FOR_TARGET, ar)
 ACX_CHECK_INSTALLED_TARGET_TOOL(AS_FOR_TARGET, as)
@@ -3617,6 +3627,8 @@ GCC_TARGET_TOOL(gccgo, GOC_FOR_TARGET, GOC,
 		[gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/], go)
 GCC_TARGET_TOOL(gdc, GDC_FOR_TARGET, GDC,
 		[gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/], d)
+GCC_TARGET_TOOL(gm2, GM2_FOR_TARGET, GM2,
+		[gcc/gm2 -B$$r/$(HOST_SUBDIR)/gcc/], m2)
 GCC_TARGET_TOOL(ld, LD_FOR_TARGET, LD, [ld/ld-new])
 GCC_TARGET_TOOL(lipo, LIPO_FOR_TARGET, LIPO)
 GCC_TARGET_TOOL(nm, NM_FOR_TARGET, NM, [binutils/nm-new])
@@ -3743,6 +3755,9 @@ AC_SUBST(stage2_werror_flag)
 # Specify what files to not compare during bootstrap.
 
 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
+compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/M2Version*"
+compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/SYSTEM*"
+compare_exclusions="$compare_exclusions | gcc/m2/gm2version*"
 case "$target" in
   hppa*64*-*-hpux*) ;;
   powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions | *libgomp*\$(objext)" ;;
diff --git a/gcc/config.in b/gcc/config.in
index 38ef792bd67..4cad077bfbe 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -211,6 +211,12 @@
 #endif
 
 
+/* If --with-multiarch option is used */
+#ifndef USED_FOR_TARGET
+#undef ENABLE_MULTIARCH
+#endif
+
+
 /* Define to 1 if translation of program messages to the user's native
    language is requested. */
 #ifndef USED_FOR_TARGET
@@ -2324,12 +2330,6 @@
 #endif
 
 
-/* Specify if mutliarch is enabled. */
-#ifndef USED_FOR_TARGET
-#undef ENABLE_MULTIARCH
-#endif
-
-
 /* The size of `dev_t', as computed by sizeof. */
 #ifndef USED_FOR_TARGET
 #undef SIZEOF_DEV_T
diff --git a/gcc/configure b/gcc/configure
index 6af7dbd06b0..61b3cedbe69 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -805,6 +805,8 @@ am__leading_dot
 doc_build_sys
 AR
 NM
+HAVE_PYTHON
+PYTHON
 BISON
 FLEX
 GENERATED_MANPAGES
@@ -8899,6 +8901,84 @@ done
 test -n "$BISON" || BISON="$MISSING bison"
 
 
+# Python3?
+
+  # Extract the first word of "python3", so it can be a program name with args.
+set dummy python3; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_PYTHON+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$PYTHON"; then
+  ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_PYTHON="python3"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+PYTHON=$ac_cv_prog_PYTHON
+if test -n "$PYTHON"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
+$as_echo "$PYTHON" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  if test -n "$PYTHON"; then
+    # Found it, now check the version.
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern python3" >&5
+$as_echo_n "checking for modern python3... " >&6; }
+if ${gcc_cv_prog_python3_modern+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_prog_version=`eval $PYTHON --version 2>&1 |
+                                     sed -n 's/^.*Python.* \([0-9][0-9.]*\).*$/\1/p'`
+
+                    case $ac_prog_version in
+                      '')  gcc_cv_prog_python3_modern=no;;
+                      3.[4-9]*|3.[1-9][0-9]*|[4-9].*|[1-9][0-9]*)  gcc_cv_prog_python3_modern=yes;;
+                      *)   gcc_cv_prog_python3_modern=no;;
+                    esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_python3_modern" >&5
+$as_echo "$gcc_cv_prog_python3_modern" >&6; }
+  else
+    gcc_cv_prog_python3_modern=no
+  fi
+  if test $gcc_cv_prog_python3_modern = no; then
+    PYTHON="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing python3"
+  fi
+
+if test $gcc_cv_prog_python3_modern = no; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
+*** Python3 is missing.
+*** Documentation for modula-2 will not include the target SYSTEM module." >&5
+$as_echo "$as_me: WARNING:
+*** Python3 is missing.
+*** Documentation for modula-2 will not include the target SYSTEM module." >&2;}
+  HAVE_PYTHON=no
+else
+  HAVE_PYTHON=yes
+fi
+
+
 # Binutils are not build modules, unlike bison/flex/makeinfo.  So we
 # check for build == host before using them.
 
@@ -19712,7 +19792,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 19715 "configure"
+#line 19795 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -19818,7 +19898,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 19821 "configure"
+#line 19901 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -33909,4 +33989,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi
 
-
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 7ca08726efa..5efbf11793c 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1263,6 +1263,20 @@ AC_CHECK_PROGS([FLEX], flex, [$MISSING flex])
 # Bison?
 AC_CHECK_PROGS([BISON], bison, [$MISSING bison])
 
+# Python3?
+ACX_CHECK_PROG_VER(PYTHON, python3, --version,
+  [Python.* \([0-9][0-9.]*\)],
+  [3.[4-9]*|3.[1-9][0-9]*|[4-9].*|[1-9][0-9]*])
+if test $gcc_cv_prog_python3_modern = no; then
+  AC_MSG_WARN([
+*** Python3 is missing.
+*** Documentation for modula-2 will not include the target SYSTEM module.])
+  HAVE_PYTHON=no
+else
+  HAVE_PYTHON=yes
+fi
+AC_SUBST(HAVE_PYTHON)
+
 # Binutils are not build modules, unlike bison/flex/makeinfo.  So we
 # check for build == host before using them.
 
@@ -7651,4 +7665,3 @@ done
 ], 
 [subdirs='$subdirs'])
 AC_OUTPUT
-
diff --git a/gcc/doc/gm2.texi b/gcc/doc/gm2.texi
new file mode 100644
index 00000000000..513fdd3ec7f
--- /dev/null
+++ b/gcc/doc/gm2.texi
@@ -0,0 +1,2838 @@
+\input texinfo
+@c -*-texinfo-*-
+@c Copyright (C) 2001-2022 Free Software Foundation, Inc.
+@c This is part of the GM2 manual.
+
+@c User level documentation for GNU Modula-2
+@c
+@c header
+
+@setfilename gm2.info
+@settitle The GNU Modula-2 Compiler
+
+@set version-python  3.5
+
+@include gcc-common.texi
+
+@c Copyright years for this manual.
+@set copyrights-gm2 1999-2022
+
+@copying
+@c man begin COPYRIGHT
+Copyright @copyright{} @value{copyrights-gm2} Free Software Foundation, Inc.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+A copy of the license is included in the
+@c man end
+section entitled ``GNU Free Documentation License''.
+@ignore
+@c man begin COPYRIGHT
+man page gfdl(7).
+@c man end
+@end ignore
+@end copying
+
+@ifinfo
+@format
+@dircategory Software development
+@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 Franklin Street, Fifth Floor@*
+Boston, MA 02110-1301, USA@*
+@sp 1
+@insertcopying
+@end titlepage
+@contents
+@page
+
+@c `Top' Node and Master Menu
+
+@node Top, Overview, (dir), (dir)
+@top Introduction
+
+@menu
+* Overview::         What is GNU Modula-2.
+* Using::            Using GNU Modula-2.
+* License::          License of GNU Modula-2
+* Copying::          GNU Public License V3.
+* Contributing::     Contributing to GNU Modula-2
+* Internals::        GNU Modula-2 internals.
+* EBNF::             EBNF of GNU Modula-2
+* Libraries::        PIM and ISO library definitions.
+* Indices::          Document and function indices.
+@end menu
+
+@node Overview, Using, Top, Top
+@chapter Overview of GNU Modula-2
+
+@menu
+* What is GNU Modula-2::  Brief description of GNU Modula-2.
+* Why use GNU Modula-2::  Advantages of GNU Modula-2.
+* Development::           How to get source code using git.
+* Features::              GNU Modula-2 Features
+@end menu
+
+@node What is GNU Modula-2, Why use GNU Modula-2, , Using
+@section What is GNU Modula-2
+
+GNU Modula-2 is a @uref{http://gcc.gnu.org/frontends.html, front end}
+for the GNU Compiler Collection (@uref{http://gcc.gnu.org/, GCC}).
+The GNU Modula-2 compiler is compliant with the PIM2, PIM3, PIM4 and
+ISO dialects.  Also implemented are a complete set of free ISO
+libraries and PIM libraries.
+
+@footnote{The four Modula-2 dialects supported are defined in the following
+references:
+
+PIM2: 'Programming in Modula-2', 2nd Edition, Springer Verlag, 1982,
+1983 by Niklaus Wirth (PIM2).
+
+PIM3: 'Programming in Modula-2', 3rd Corrected Edition, Springer Verlag,
+1985 (PIM3).
+
+PIM4: 'Programming in Modula-2', 4th Edition, Springer Verlag, 1988
+(@uref{http://freepages.modula2.org/report4/modula-2.html, PIM4}).
+
+ISO: the ISO Modula-2 language as defined in 'ISO/IEC Information
+technology - programming languages - part 1: Modula-2 Language,
+ISO/IEC 10514-1 (1996)'
+}
+
+@node Why use GNU Modula-2, Release map, What is GNU Modula-2, Using
+@section Why use GNU Modula-2
+
+There are a number of advantages of using GNU Modula-2 rather than
+translate an existing project into another language.
+
+The first advantage is of maintainability of the original sources
+and the ability to debug the original project source code using a
+combination of gm2 and gdb.
+
+The second advantage is that gcc runs on many processors and
+platforms.  gm2 builds and runs on powerpc64le, amd64, i386, aarch64
+to name but a few processors.
+
+gm2 can produce swig interface headers to allow access from Python and
+other scripting languages.  It can also be used with C/C++ and
+generate shared libraries.
+
+The compiler provides semantic analysis and run time checking (full ISO
+Modula-2 checking is implemented) and there is a plugin which can,
+under certain conditions, detect run time errors at compile time.
+
+The compiler supports PIM2, PIM3, PIM4 and ISO dialects of Modula-2,
+work is underway to implement M2R10.  Many of the GCC builtins are
+available and access to assembly programming is achieved using the
+same syntax as that used by GCC.
+
+The gm2 driver allows third party libraries to be installed alongside
+gm2 libraries.  For example if the user specifies library @code{foo}
+using @code{-flibs=foo} the driver will check the standard GCC install
+directory for a sub directory @code{foo} containing the library
+contents.  The library module search path is altered accordingly
+for compile and link.
+
+@node Release map, Development, Why use GNU Modula-2, Using
+@section Release map
+
+GNU Modula-2 is now part of GCC and therefore will adopt the GCC
+release schedule.  It is intended that GNU Modula-2 implement more of
+the GCC builtins (vararg access) and GCC features.
+
+There is an intention to implement the ISO generics and the M2R10
+dialect of Modula-2.  It will also implement all language changes.  If
+you wish to see something different please email
+@email{gm2@@nongnu.org} with your ideas.
+
+@node Development, Features, Release map, Using
+@section How to get source code using git
+
+GNU Modula-2 is now in the @url{https://gcc.gnu.org/git.html, GCC git
+tree}.
+
+@node Features, Documentation, Development, Using
+@section GNU Modula-2 Features
+
+@itemize @bullet
+
+@item
+the compiler currently complies with Programming in Modula-2 Edition
+2, 3, 4 and ISO Modula-2.  Users can switch on specific language
+features by using: @samp{-fpim}, @samp{-fpim2}, @samp{-fpim3},
+@samp{-fpim4} or @samp{-fiso}.
+
+@item
+the option @samp{-fswig} will automatically create a swig interface
+file which corresponds to the definition module of the file being
+compiled.
+
+@item
+exception handling is compatible with C++ and swig.  Modula-2 code can
+be used with C or C++ code.
+
+@item
+Python can call GNU Modula-2 modules via swig.
+
+@item
+shared libraries can be built.
+
+@item
+fixed sized types are now available from @samp{SYSTEM}.
+
+@c @item
+@c support for dynamic @code{ARRAY}s has been added into @samp{gdb}.
+
+@item
+variables can be declared at addresses.
+
+@item
+much better dwarf-2 debugging support and when used with
+@samp{gdb} the programmer can display @code{RECORD}s,
+@code{ARRAY}s, @code{SET}s, subranges and constant char literals
+in Modula-2 syntax.
+
+@item
+supports sets of any ordinal size (memory permitting).
+
+@item
+easy interface to C, and varargs can be passed to C routines.
+
+@item
+many Logitech libraries have been implemented and can be accessed via:
+@samp{-flibs=m2log,m2pim,m2iso}.
+
+@item
+coroutines have been implemented in the PIM style and these are
+accessible from SYSTEM.  A number of supporting libraries (executive
+and file descriptor mapping to interrupt vector libraries are
+available through the @samp{-flibs=m2iso,m2pim} switch).
+
+@item
+can be built as a cross compiler (for embedded microprocessors
+such as the AVR and the ARM).
+
+@end itemize
+
+@node Documentation, Regression tests, Features, Using
+@section Documentation
+
+The GNU Modula-2 documentation is available on line
+@url{https://www.nongnu.org/gm2/homepage.html,at the gm2 homepage}
+or in the pdf, info, html file format.
+
+@node Regression tests, Limitations, Documentation, Using
+@section Regression tests for gm2 in the repository
+
+The regression testsuite can be run from the gcc build directory:
+
+@example
+$ cd build-gcc
+$ make check -j 24
+@end example
+
+which runs the complete testsuite for all compilers using 24 parallel
+invocations of the compiler.  Individual language testsuites can be
+run by specifying the language, for example the Modula-2 testsuite can
+be run using:
+
+@example
+$ cd build-gcc
+$ make check-m2 -j 24
+@end example
+
+Finally the results of the testsuite can be emailed to the
+@url{https://gcc.gnu.org/lists.html, gcc-testresults} list using the
+@file{test_summary} script found in the gcc source tree:
+
+@example
+$ @samp{directory to the sources}/contrib/test_summary
+@end example
+
+@node Limitations, Objectives, Regression tests, Using
+@section Limitations
+
+Logitech compatibility library is incomplete.  The principle modules
+for this platform exist however for a comprehensive list of completed
+modules please check the documentation
+@url{gm2.html}.
+
+@node Objectives, FAQ, , Using
+@section Objectives
+
+@itemize @bullet
+
+@item
+The intention of GNU Modula-2 is to provide a production Modula-2
+front end to GCC.
+
+@item
+It should support all Niklaus Wirth PIM Dialects [234] and also ISO
+Modula-2 including a re-implementation of all the ISO modules.
+
+@item
+There should be an easy interface to C.
+
+@item
+Exploit the features of GCC.
+
+@item
+Listen to the requests of the users.
+@end itemize
+
+@node FAQ, Community, Objectives, Using
+@section FAQ
+
+@subsection Why use the C++ exception mechanism in GCC, rather than a bespoke Modula-2 mechanism?
+
+The C++ mechanism is tried and tested, it also provides GNU Modula-2
+with the ability to link with C++ modules and via swig it can raise
+Python exceptions.
+
+@node Community, Other languages, FAQ, Using
+@section Community
+
+You can subscribe to the GNU Modula-2 mailing by sending an
+email to:
+@email{gm2-subscribe@@nongnu.org}
+or by
+@url{http://lists.nongnu.org/mailman/listinfo/gm2}.
+The mailing list contents can be viewed
+@url{http://lists.gnu.org/archive/html/gm2}.
+
+@node Other languages, , Community, Using
+@section Other languages for GCC
+
+These exist and can be found on the frontends web page on the
+@uref{http://gcc.gnu.org/frontends.html, gcc web site}.
+
+@node Using, , Community, Top
+@chapter Using GNU Modula-2
+
+@menu
+* Example usage::         Example compile and link.
+* Compiler options::      GNU Modula-2 compiler options.
+* Linking::               Linking options in more detail.
+* Elementary data types:: Data types supported by GNU Modula-2.
+* Standard procedures::   Permanently accessible base procedures.
+* Dialect::               GNU Modula-2 supported dialects.
+* Exceptions::            Exception implementation
+* Semantic checking::     How to detect run time problems at compile time.
+* Extensions::            GNU Modula-2 language extensions.
+* Type compatibility::    Data type compatibility.
+* Unbounded by reference::Explanation of a language optimization.
+* Building a shared library:: How to build a shared library.
+* Interface for Python::  How to produce swig interface files.
+* Producing a Python module::  How to produce a Python module.
+* Interface to C::        Interfacing GNU Modula-2 to C.
+* Assembly language::     Interface to assembly language.
+* Alignment::             Data type alignment.
+* Packed::                Packing data types.
+* Built-ins::             Accessing GNU Modula-2 Built-ins.
+* The PIM system module:: SYSTEM data types and procedures.
+* The ISO system module:: SYSTEM data types, procedures and run time.
+* Other languages::       Other languages for GCC.
+* What is GNU Modula-2::  Brief description of GNU Modula-2.
+* Why use GNU Modula-2::  Advantages of GNU Modula-2.
+@ifnothtml
+@c omit these nodes if generating gm2 webpage as these are hand written.
+* Release map:: Release map.
+* Development:: Development.
+* Features:: Features of the implementation.
+* Documentation:: Placeholder for how to access the documentation online.
+* Regression tests:: How to run the testsuite.
+* Limitations:: Current limitations.
+* Objectives:: Objectives of the implementation.
+* FAQ:: Frequently asked questions.
+* Community:: How to join the community.
+@end ifnothtml
+@end menu
+
+This document contains the user and design issues relevant to the
+Modula-2 front end to gcc.
+
+@node Example usage, Compiler options, Using, Using
+@section Example compile and link
+
+@ignore
+@c man begin SYNOPSIS gm2
+gm2 [@option{-c}|@option{-S}] [@option{-g}] [@option{-pg}]
+    [@option{-O}@var{level}] [@option{-W}@var{warn}@dots{}]
+    [@option{-I}@var{dir}@dots{}] [@option{-L}@var{dir}@dots{}]
+    [@option{-f}@var{option}@dots{}] [@option{-m}@var{machine-option}@dots{}]
+    [@option{-o} @var{outfile}] [@@@var{file}] @var{infile}@dots{}
+
+Only the most useful options are listed here; see below for the
+remainder.
+@c man end
+@c man begin SEEALSO
+gpl(7), gfdl(7), fsf-funding(7), gcc(1)
+and the Info entries for @file{gm2} and @file{gcc}.
+@c man end
+@end ignore
+
+@c man begin DESCRIPTION gm2
+
+The @command{gm2} command is the GNU compiler for the Modula-2 language and
+supports many of the same options as @command{gcc}.  @xref{Option Summary, ,
+Option Summary, gcc, Using the GNU Compiler Collection (GCC)}.
+This manual only documents the options specific to @command{gm2}.
+
+@c man end
+
+This section describes how to compile and link a simple hello world
+program.  It provides a few examples of using the different options
+mentioned in @pxref{Compiler options, , ,gm2}.  Assuming that you have
+a file called @file{hello.mod} in your current directory which
+contains:
+
+@example
+MODULE hello ;
+
+FROM StrIO IMPORT WriteString, WriteLn ;
+
+BEGIN
+   WriteString ('hello world') ; WriteLn
+END hello.
+@end example
+
+You can compile and link it by: @samp{gm2 -g hello.mod}.
+The result will be an @samp{a.out} file created in your directory.
+
+You can split this command into two steps if you prefer.  The compile
+step can be achieved by: @samp{gm2 -g -c -fscaffold-main hello.mod}
+and the link via: @samp{gm2 -g hello.o}.
+
+@footnote{To see all the compile actions taken by @samp{gm2} users can also
+add the @samp{-v} flag at the command line, for example:
+
+@samp{gm2 -v -g -I. hello.mod}
+
+This displays the sub processes initiated by @samp{gm2} which can be useful
+when trouble shooting.}
+
+@node Compiler options, Elementary data types, Example usage, Using
+@section Compiler options
+
+This section describes the compiler options specific to GNU Modula-2
+for generic flags details @xref{Invoking GCC, , ,gcc}.
+
+@c man begin OPTIONS
+
+For any given input file, the file name suffix determines what kind of
+compilation is done.  The following kinds of input file names are supported:
+
+@table @gcctabopt
+@item @var{file}.mod
+Modula-2 implementation or program source files.  See the
+@samp{-fmod=} option if you wish to compile a project which uses a
+different source file extension.
+@item @var{file}.def
+Modula-2 definition module source files.  Definition modules are not
+compiled separately, in GNU Modula-2 definition modules are parsed as
+required when program or implementation modules are compiled.  See the
+@samp{-fdef=} option if you wish to compile a project which uses a
+different source file extension.
+@end table
+
+You can specify more than one input file on the @command{gm2} command line,
+
+@table @code
+
+@item -g
+create debugging information so that debuggers such as @file{gdb}
+can inspect and control executable.
+
+@item -I
+used to specify the search path for definition and implementation
+modules.  An example is:  @code{gm2 -g -c -I.:../../libs foo.mod}.
+If this option is not specified then the default path is added
+which consists of the current directory followed by the appropriate
+language dialect library directories.
+
+@c ordered list of options from here.
+
+@item -fauto-init
+turns on auto initialization of pointers to NIL.  Whenever a block is
+created all pointers declared within this scope will have their
+addresses assigned to NIL.
+
+@item -fbounds
+turns on run time subrange, array index and indirection via @code{NIL}
+pointer checking.
+
+@item -fcase
+turns on compile time checking to check whether a @code{CASE}
+statement requires an @code{ELSE} clause when on was not specified.
+
+@item -fcpp
+preprocess the source with @samp{cpp -lang-asm -traditional-cpp}
+For further details about these options @xref{Invocation, , ,cpp}.
+If @samp{-fcpp} is supplied then all definition modules and
+implementation modules which are parsed will be prepossessed by
+@samp{cpp}.
+
+@c fcpp-end
+@c Modula-2
+@c passed to the preprocessor if -fcpp is used (internal switch)
+
+@c fcpp-begin
+@c Modula-2
+@c passed to the preprocessor if -fcpp is used (internal switch)
+
+@item -fdebug-builtins
+call a real function, rather than the builtin equivalent.  This can
+be useful for debugging parameter values to a builtin function as
+it allows users to single step code into a real function.
+
+@c fd
+@c Modula-2
+@c turn on internal debugging of the compiler (internal switch)
+
+@c fdebug-trace-quad
+@c Modula-2
+@c turn on quadruple tracing (internal switch)
+
+@c fdebug-trace-api
+@c Modula-2
+@c turn on the Modula-2 api tracing (internal switch)
+
+@c fdebug-function-line-numbers
+@c Modula-2
+@c turn on the Modula-2 function line number generation (internal switch)
+
+@item -fdef=
+recognize the specified suffix as a definition module filename.
+The default implementation and module filename suffix is @file{.def}.
+If this option is used GNU Modula-2 will still fall back to this
+default if a requested definition module is not found.
+
+@item -fdump-system-exports
+display all inbuilt system items.
+This is an internal command line option.
+
+@item -fexceptions
+turn on exception handling code.  By default this option is on.
+Exception handling can be disabled by @samp{-fno-exceptions}
+and no references are made to the run time exception libraries.
+
+@item -fextended-opaque
+allows opaque types to be implemented as any type.  This is a GNU
+Modula-2 extension and it requires that the implementation module
+defining the opaque type is available so that it can be resolved when
+compiling the module which imports the opaque type.
+
+@item -ffloatvalue
+turns on run time checking to check whether a floating point number is
+about to exceed range.
+
+@item -fgen-module-list=@file{filename}
+attempt to find all modules when linking and generate a module list.
+If the @file{filename} is @samp{-} then the contents are not written
+and only used to force the linking of all module ctors.
+This option cannot be used if @samp{-fuse-list=} is enabled.
+
+@item -findex
+generate code to check whether array index values are out of bounds.
+Array index checking can be disabled via @samp{-fno-index}.
+
+@item -fiso
+turn on ISO standard features.  Currently this enables the ISO
+@code{SYSTEM} module and alters the default library search path so
+that the ISO libraries are searched before the PIM libraries.  It also
+effects the behavior of @code{DIV} and @code{MOD} operators.
+@xref{Dialect, , ,gm2}.
+
+@item -flibs=
+modifies the default library search path.  The libraries supplied are:
+m2pim, m2iso, m2min, m2log and m2cor.  These map onto the
+Programming in Modula-2 base libraries, ISO standard libraries, minimal
+library support, Logitech compatible library and Programming in
+Modula-2 with coroutines.
+Multiple libraries can be specified and are comma separated with precedence
+going to the first in the list.  It is not necessary to use -flibs=m2pim or
+-flibs=m2iso if you also specify -fpim, -fpim2, -fpim3, -fpim4 or
+-fiso.  Unless you are using -flibs=m2min you should include m2pim as
+the they provide the base modules which all other dialects utilize.
+The option @samp{-fno-libs=-} disables the @samp{gm2} driver from
+modifying the search and library paths.
+
+@c flocation=
+@c Modula-2 Joined
+@c set all location values to a specific value (internal switch)
+
+@item -fm2-g
+improve the debugging experience for new programmers at the expense
+of generating @code{nop} instructions if necessary to ensure single
+stepping precision over all code related keywords.  An example
+of this is in termination of a list of nested @code{IF} statements
+where multiple @code{END} keywords are mapped onto a sequence of
+@code{nop} instructions.
+
+@item -fm2-lower-case
+render keywords in error messages using lower case.
+
+@item -fm2-plugin
+insert plugin to identify run time errors at compile time (default on).
+
+@item -fm2-statistics
+generates quadruple information: number of quadruples generated,
+number of quadruples remaining after optimization and number of source
+lines compiled.
+
+@item -fm2-strict-type
+experimental flag to turn on the new strict type checker.
+
+@item -fm2-whole-program
+compile all implementation modules and program module at once.  Notice
+that you need to take care if you are compiling different dialect
+modules (particularly with the negative operands to modulus).  But
+this option, when coupled together with @code{-O3}, can deliver huge
+performance improvements.
+
+@item -fmod=
+recognize the specified suffix as implementation and module filenames.
+The default implementation and module filename suffix is @file{.mod}.
+If this option is used GNU Modula-2 will still fall back to this
+default if it needs to read an implementation module and the specified
+suffixed filename does not exist.
+
+@item -fnil
+generate code to detect accessing data through a @code{NIL} value
+pointer.  Dereferencing checking through a @code{NIL} pointer can be
+disabled by @samp{-fno-nil}.
+
+@item -fpim
+turn on PIM standard features.  Currently this enables the PIM
+@code{SYSTEM} module and determines which identifiers are pervasive
+(declared in the base module).  If no other @samp{-fpim[234]} switch is
+used then division and modulus operators behave as defined in PIM4.
+@xref{Dialect, , ,gm2}.
+
+@item -fpim2
+turn on PIM-2 standard features.  Currently this removes @code{SIZE}
+from being a pervasive identifier (declared in the base module).  It
+places @code{SIZE} in the @code{SYSTEM} module.  It also effects the
+behavior of @code{DIV} and @code{MOD} operators.
+@xref{Dialect, , ,gm2}.
+
+@item -fpim3
+turn on PIM-3 standard features.  Currently this only effects the
+behavior of @code{DIV} and @code{MOD} operators.
+@xref{Dialect, , ,gm2}.
+
+@item -fpim4
+turn on PIM-4 standard features.  Currently this only effects the
+behavior of @code{DIV} and @code{MOD} operators.
+@xref{Dialect, , ,gm2}.
+
+@item -fpositive-mod-floor-div
+forces the @code{DIV} and @code{MOD} operators to behave as defined by PIM4.
+All modulus results are positive and the results from the division are
+rounded to the floor.
+@xref{Dialect, , ,gm2}.
+
+@item -fpthread
+link against the pthread library.  By default this option is on.  It
+can be disabled by @samp{-fno-pthread}.  GNU Modula-2 uses the GCC
+pthread libraries to implement coroutines (see the SYSTEM
+implementation module).
+
+@c -fq
+@c -Modula-2
+@c -internal compiler debugging information, dump the list of quadruples
+
+@item -frange
+generate code to check the assignment range, return value range
+set range and constructor range.  Range checking can be disabled
+via @samp{-fno-range}.
+
+@item -freturn
+generate code to check that functions always exit with a @code{RETURN}
+and do not fall out at the end.  Return checking can be disabled
+via @samp{-fno-return}.
+
+@item -fruntime-modules=
+specify, using a comma separated list, the run time modules and their
+order.  These modules will initialized first before any other modules
+in the application dependency.  By default the run time modules list is
+set to @code{Storage,SYSTEM,M2RTS,RTExceptions,IOLink}.  Note that
+these modules will only be linked into your executable if they are
+required.  So adding a long list of dependent modules will not effect
+the size of the executable it merely states the initialization order
+should they be required.
+
+@item -fscaffold-dynamic
+the option ensures that @samp{gm2} will generate a dynamic scaffold
+infrastructure when compiling implementation and program modules.
+By default this option is on.  Use @samp{-fno-scaffold-dynamic}
+to turn it off or select @samp{-fno-scaffold-static}.
+
+@item -fscaffold-c
+generate a C source scaffold for the current module being compiled.
+
+@item -fscaffold-c++
+generate a C++ source scaffold for the current module being compiled.
+
+@item -fscaffold-main
+force the generation of the @samp{main} function.  This is not
+necessary if the @samp{-c} is omitted.
+
+@item -fscaffold-static
+the option ensures that @samp{gm2} will generate a static scaffold
+within the program module.  The static scaffold consists of sequences
+of calls to all dependent module initialization and finalization
+procedures.  The static scaffold is useful for debugging and single
+stepping the initialization blocks of implementation modules.
+
+@item -fshared
+generate a shared library from the module.
+
+@item -fsoft-check-all
+turns on all run time checks.  This is the same as invoking
+GNU Modula-2 using the command options
+@code{-fnil} @code{-frange} @code{-findex}
+@code{-fwholevalue}
+@code{-fwholediv} @code{-fcase} @code{-freturn}.
+
+@item -fsources
+displays the path to the source of each module.  This option
+can be used at compile time to check the correct definition module
+is being used.
+
+@item -fswig
+generate a swig interface file.
+
+@item -funbounded-by-reference
+enable optimization of unbounded parameters by attempting to pass non
+@code{VAR} unbounded parameters by reference.  This optimization
+avoids the implicit copy inside the callee procedure.  GNU Modula-2
+will only allow unbounded parameters to be passed by reference if,
+inside the callee procedure, they are not written to, no address is
+calculated on the array and it is not passed as a @code{VAR}
+parameter.  Note that it is possible to write code to break this
+optimization, therefore this option should be used carefully.
+For example it would be possible to take the address of an array, pass
+the address and the array to a procedure, read from the array in
+the procedure and write to the location using the address parameter.
+
+Due to the dangerous nature of this option it is not enabled
+when the @samp{-O} option is specified.
+
+@item -fuse-list=@file{filename}
+if @samp{-fscaffold-static} is enabled then use the file
+@file{filename} for the initialization order of modules.  Whereas if
+@samp{-fscaffold-dynamic} is enabled then use this file to force
+linking of all module ctors.
+This option cannot be used if @samp{-fgen-module-list=} is enabled.
+
+@item -fwholediv
+generate code to detect whole number division by zero or modulus by
+zero.
+
+@item -fwholevalue
+generate code to detect whole number overflow and underflow.
+
+@c the following warning options are complete but need to be
+@c regression tested against all other front ends
+@c to ensure the options do not conflict.
+
+@c @item -Wall
+@c turn on all Modula-2 warnings.
+
+@c @item -Wpedantic
+@c forces the compiler to reject nested @code{WITH} statements
+@c referencing the same record type.  Does not allow multiple imports of
+@c the same item from a module.  It also checks that: procedure variables
+@c are written to before being read; variables are not only written to
+@c but read from; variables are declared and used.  If the compiler
+@c encounters a variable being read before written it will terminate with
+@c a message.  It will check that @code{FOR} loop indices are not used
+@c outside the end of this loop without being reset.
+
+@c @item -Wpedantic-cast
+@c warns if the ISO system function is used and if the size of
+@c the variable is different from that of the type.  This is legal
+@c in ISO Modula-2, however it can be dangerous.  Some users may prefer
+@c to use @code{VAL} instead in these situations and use @code{CAST}
+@c exclusively for changes in type on objects which have the same size.
+
+@c @item -Wpedantic-param-names
+@c procedure parameter names are checked in the definition module
+@c against their implementation module counterpart.  This is not
+@c necessary in ISO or PIM versions of Modula-2.
+
+@c @item -Wstyle
+@c checks for poor programming style.  This option is aimed at new users of
+@c Modula-2 in that it checks for situations which might cause confusion
+@c and thus mistakes.  It checks whether variables of the same name are
+@c declared in different scopes and whether variables look like keywords.
+@c Experienced users might find this option too aggressive.
+
+@c @item -Wunused-variable
+@c warns if a variable has been declared and it not used.
+
+@c @item -Wunused-parameter
+@c warns if a parameter has been declared and it not used.
+
+@c @item -Wverbose-unbounded
+@c inform the user which non @code{VAR} unbounded parameters will be
+@c passed by reference.  This only produces output if the option
+@c @samp{-funbounded-by-reference} is also supplied on the command line.
+
+@end table
+
+@c man end
+
+@node Elementary data types, Standard procedures, Compiler options, Using
+@section Elementary data types
+
+This section describes the elementary data types supported by GNU
+Modula-2.  It also describes the relationship between these data types
+and the equivalent C data types.
+
+The following data types are supported: @code{INTEGER},
+@code{LONGINT}, @code{SHORTINT}, @code{CARDINAL}, @code{LONGCARD},
+@code{SHORTCARD}, @code{BOOLEAN}, @code{REAL}, @code{LONGREAL},
+@code{SHORTREAL}, @code{COMPLEX}, @code{LONGCOMPLEX},
+@code{SHORTCOMPLEX} and @code{CHAR}.
+
+An equivalence table is given below:
+
+@example
+GNU Modula-2              GNU C
+======================================
+INTEGER                   int
+LONGINT                   long long int
+SHORTINT                  short int
+CARDINAL                  unsigned int
+LONGCARD                  long long unsigned int
+SHORTCARD                 short unsigned int
+BOOLEAN                   int
+REAL                      double
+LONGREAL                  long double
+SHORTREAL                 float
+CHAR                      char
+SHORTCOMPLEX              complex float
+COMPLEX                   complex double
+LONGCOMPLEX               complex long double
+@end example
+
+Note that GNU Modula-2 also supports fixed sized data types which are
+exported from the @code{SYSTEM} module.
+@xref{The PIM system module, , ,gm2}.
+@xref{The ISO system module, , ,gm2}.
+
+@node Standard procedures, Dialect, Elementary data types, Using
+@section Permanently accessible base procedures.
+
+This section describes the procedures and functions which are
+always visible.
+
+@subsection Standard procedures and functions common to PIM and ISO
+
+The following procedures are implemented and conform with Programming
+in Modula-2 and ISO Modula-2: @code{NEW}, @code{DISPOSE}, @code{INC},
+@code{DEC}, @code{INCL}, @code{EXCL} and @code{HALT}.  The standard
+functions are: @code{ABS}, @code{CAP}, @code{CHR}, @code{FLOAT},
+@code{HIGH}, @code{LFLOAT}, @code{LTRUNC}, @code{MIN}, @code{MAX},
+@code{ODD}, @code{SFLOAT}, @code{STRUNC} @code{TRUNC} and
+@code{VAL}.  All these functions and procedures (except @code{HALT},
+@code{NEW}, @code{DISPOSE} and, under non constant conditions,
+@code{LENGTH}) generate in-line code for efficiency.
+
+@example
+
+(*
+   ABS - returns the positive value of i.
+*)
+
+@findex ABS
+PROCEDURE ABS (i: <any signed type>) : <any signed type> ;
+
+@end example
+
+@example
+
+(*
+   CAP - returns the capital of character ch providing
+         ch lies within the range 'a'..'z'.  Otherwise ch
+         is returned unaltered.
+*)
+
+@findex CAP
+PROCEDURE CAP (ch: CHAR) : CHAR ;
+
+@end example
+
+@example
+
+(*
+   CHR - converts a value of a <whole number type> into a CHAR.
+         CHR(x) is shorthand for VAL(CHAR, x).
+*)
+
+@findex CHR
+PROCEDURE CHR (x: <whole number type>) : CHAR ;
+
+@end example
+
+@example
+
+(*
+   DISPOSE - the procedure DISPOSE is replaced by:
+             DEALLOCATE(p, TSIZE(p^)) ;
+             The user is expected to import the procedure DEALLOCATE
+             (normally found in the module, Storage.)
+
+             In:  a variable p: of any pointer type which has been
+                  initialized by a call to NEW.
+             Out: the area of memory
+                  holding p^ is returned to the system.
+                  Note that the underlying procedure DEALLOCATE
+                  procedure in module Storage will assign p to NIL.
+*)
+
+@findex DISPOSE
+PROCEDURE DISPOSE (VAR p:<any pointer type>) ;
+@end example
+
+@example
+
+(*
+   DEC - can either take one or two parameters.  If supplied
+         with one parameter then on the completion of the call to
+         DEC, v will have its predecessor value.  If two
+         parameters are supplied then the value v will have its
+         n'th predecessor.  For these reasons the value of n
+         must be >=0.
+*)
+
+@findex DEC
+PROCEDURE DEC (VAR v: <any base type>; [n: <any base type> = 1]) ;
+@end example
+
+@example
+
+(*
+   EXCL - excludes bit element e from a set type s.
+*)
+
+@findex EXCL
+PROCEDURE EXCL (VAR s: <any set type>; e: <element of set type s>) ;
+@end example
+
+@example
+
+(*
+   FLOAT - will return a REAL number whose value is the same as o.
+*)
+
+@findex FLOAT
+PROCEDURE FLOAT (o: <any whole number type>) : REAL ;
+@end example
+
+@example
+
+(*
+   FLOATS - will return a SHORTREAL number whose value is the same as o.
+*)
+
+@findex FLOATS
+PROCEDURE FLOATS (o: <any whole number type>) : REAL ;
+@end example
+
+@example
+
+(*
+   FLOATL - will return a LONGREAL number whose value is the same as o.
+*)
+
+@findex FLOATL
+PROCEDURE FLOATL (o: <any whole number type>) : REAL ;
+@end example
+
+@example
+
+(*
+   HALT - will call the HALT procedure inside the module M2RTS.
+          Users can replace M2RTS.
+*)
+
+@findex HALT
+PROCEDURE HALT ;
+@end example
+
+@example
+
+(*
+   HIGH - returns the last accessible index of an parameter declared as
+          ARRAY OF CHAR.  Thus
+
+          PROCEDURE foo (a: ARRAY OF CHAR) ;
+          VAR
+             c: CARDINAL ;
+          BEGIN
+             c := HIGH(a)
+          END foo ;
+
+          BEGIN
+             foo('hello')
+          END
+
+          will cause the local variable c to contain the value 4
+*)
+
+@findex HIGH
+PROCEDURE HIGH (a: ARRAY OF CHAR) : CARDINAL ;
+@end example
+
+@example
+
+(*
+   INC - can either take one or two parameters.  If supplied
+         with one parameter then on the completion of the call to
+         INC, v will have its successor value.  If two
+         parameters are supplied then the value v will have its
+         n'th successor.  For these reasons the value of n
+         must be >=0.
+*)
+
+@findex INC
+PROCEDURE INC (VAR v: <any base type>; [n: <any base type> = 1]) ;
+@end example
+
+@example
+
+(*
+   INCL - includes bit element e to a set type s.
+*)
+
+@findex INCL
+PROCEDURE INCL (VAR s: <any set type>; e: <element of set type s>) ;
+@end example
+
+@example
+
+(*
+   LFLOAT - will return a LONGREAL number whose value is the same as o.
+*)
+
+@findex LFLOAT
+PROCEDURE LFLOAT (o: <any whole number type>) : LONGREAL ;
+@end example
+
+@example
+
+(*
+   LTRUNC - will return a LONG<type> number whose value is the
+            same as o.  PIM2, PIM3 and ISO Modula-2 will return
+            a LONGCARD whereas PIM4 returns LONGINT.
+*)
+
+@findex LTRUNC
+PROCEDURE LTRUNC (o: <any floating point type>) : LONG<type> ;
+@end example
+
+@example
+
+(*
+   MIN - returns the lowest legal value of an ordinal type.
+*)
+
+@findex MIN
+PROCEDURE MIN (t: <ordinal type>) : <ordinal type> ;
+
+@end example
+
+@example
+
+(*
+   MAX - returns the largest legal value of an ordinal type.
+*)
+
+@findex MAX
+PROCEDURE MAX (t: <ordinal type>) : <ordinal type> ;
+
+@end example
+
+@example
+
+(*
+   NEW - the procedure NEW is replaced by:
+         ALLOCATE(p, TSIZE(p^)) ;
+         The user is expected to import the procedure ALLOCATE
+         (normally found in the module, Storage.)
+
+         In:  a variable p: of any pointer type.
+         Out: variable p is set to some allocated memory
+              which is large enough to hold all the contents of p^.
+*)
+
+@findex NEW
+PROCEDURE NEW (VAR p:<any pointer type>) ;
+@end example
+
+@example
+
+(*
+   ODD - returns TRUE if the value is not divisible by 2.
+*)
+
+@findex ODD
+PROCEDURE ODD (x: <whole number type>) : BOOLEAN ;
+
+@end example
+
+@example
+
+(*
+   SFLOAT - will return a SHORTREAL number whose value is the same
+            as o.
+*)
+
+@findex SFLOAT
+PROCEDURE SFLOAT (o: <any whole number type>) : SHORTREAL ;
+@end example
+
+@example
+
+(*
+   STRUNC - will return a SHORT<type> number whose value is the same
+            as o.  PIM2, PIM3 and ISO Modula-2 will return a
+            SHORTCARD whereas PIM4 returns SHORTINT.
+*)
+
+@findex STRUNC
+PROCEDURE STRUNC (o: <any floating point type>) : SHORT<type> ;
+@end example
+
+@example
+
+(*
+   TRUNC - will return a <type> number whose value is the same as o.
+           PIM2, PIM3 and ISO Modula-2 will return a CARDINAL
+           whereas PIM4 returns INTEGER.
+*)
+
+@findex TRUNC
+PROCEDURE TRUNC (o: <any floating point type>) : <type> ;
+@end example
+
+@example
+
+(*
+   TRUNCS - will return a <type> number whose value is the same
+            as o.  PIM2, PIM3 and ISO Modula-2 will return a
+            SHORTCARD whereas PIM4 returns SHORTINT.
+*)
+
+@findex TRUNCS
+PROCEDURE TRUNCS (o: <any floating point type>) : <type> ;
+@end example
+
+@example
+
+(*
+   TRUNCL - will return a <type> number whose value is the same
+            as o.  PIM2, PIM3 and ISO Modula-2 will return a
+            LONGCARD whereas PIM4 returns LONGINT.
+*)
+
+@findex TRUNCL
+PROCEDURE TRUNCL (o: <any floating point type>) : <type> ;
+@end example
+
+@example
+
+(*
+   VAL - converts data i of <any simple data type 2> to
+         <any simple data type 1> and returns this value.
+         No range checking is performed during this conversion.
+*)
+
+@findex VAL
+PROCEDURE VAL (<any simple data type 1>,
+               i: <any simple data type 2>) : <any simple data type 1> ;
+
+@end example
+
+@subsection ISO specific standard procedures and functions
+
+The standard function @code{LENGTH} is specific to ISO Modula-2 and
+is defined as:
+
+@example
+
+(*
+   IM - returns the imaginary component of a complex type.
+        The return value will the same type as the imaginary field
+        within the complex type.
+*)
+
+@findex IM
+PROCEDURE IM (c: <any complex type>) : <floating point type> ;
+@end example
+
+@example
+
+(*
+   INT - returns an INTEGER value which has the same value as v.
+         This function is equivalent to: VAL(INTEGER, v).
+*)
+
+@findex INT
+PROCEDURE INT (v: <any ordinal type>) : INTEGER ;
+@end example
+
+@example
+
+(*
+   LENGTH - returns the length of string a.
+*)
+
+@findex LENGTH
+PROCEDURE LENGTH (a: ARRAY OF CHAR) : CARDINAL ;
+@end example
+
+This function is evaluated at compile time, providing that string
+@code{a} is a constant.  If @code{a} cannot be evaluated then a call is
+made to @code{M2RTS.Length}.
+
+@example
+
+(*
+   ODD - returns a BOOLEAN indicating whether the whole number
+         value, v, is odd.
+*)
+
+@findex ODD
+PROCEDURE ODD (v: <any whole number type>) : BOOLEAN ;
+@end example
+
+@example
+
+(*
+   RE - returns the real component of a complex type.
+        The return value will the same type as the real field
+        within the complex type.
+*)
+
+@findex RE
+PROCEDURE RE (c: <any complex type>) : <floating point type> ;
+@end example
+
+@node Dialect, Exceptions, Standard procedures, Using
+@section GNU Modula-2 supported dialects
+
+This section describes the dialects understood by GNU Modula-2.
+It also describes the differences between the dialects and
+any command line switches which determine dialect behaviour.
+
+The GNU Modula-2 compiler is compliant with four dialects of Modula-2.
+The language as defined in 'Programming in Modula-2' 2nd Edition,
+Springer Verlag, 1982, 1983 by Niklaus Wirth (PIM2), 'Programming in
+Modula-2', 3rd Corrected Edition, Springer Verlag, 1985 (PIM3) and
+'Programming in Modula-2', 4th Edition, Springer Verlag, 1988 (PIM4)
+@uref{http://freepages.modula2.org/report4/modula-2.html} and the ISO
+Modula-2 language as defined in ISO/IEC Information technology -
+programming languages - part 1: Modula-2 Language, ISO/IEC 10514-1
+(1996) (ISO).
+
+The command line switches @samp{-fpim2}, @samp{-fpim3}, @samp{-fpim4}
+and @samp{-fiso} can be used to force mutually exclusive
+features.  However by default the compiler will not aggressively fail
+if a non mutually exclusive feature is used from another dialect.  For
+example it is possible to specify @samp{-fpim2} and still utilize
+@samp{DEFINITION} @samp{MODULES} which have no export list.
+
+Some dialect differences will force a compile time error, for example
+in PIM2 the user must @code{IMPORT} @code{SIZE} from the module
+@code{SYSTEM}, whereas in PIM3 and PIM4 @code{SIZE} is a pervasive
+function.  Thus compiling PIM4 source code with the @samp{-fpim2}
+switch will cause a compile time error.  This can be fixed quickly
+with an additional @code{IMPORT} or alternatively by compiling with
+the @samp{-fpim4} switch.
+
+However there are some very important differences between the dialects
+which are mutually exclusive and therefore it is vital that users
+choose the dialects with care when these language features are used.
+
+@subsection Integer division, remainder and modulus
+
+The most dangerous set of mutually exclusive features found in the
+four dialects supported by GNU Modula-2 are the @code{INTEGER}
+division, remainder and modulus arithmetic operators.  It is important
+to note that the same source code can be compiled to give different
+run time results depending upon these switches!  The reference manual
+for the various dialects of Modula-2 are quite clear about this
+behavior and sadly there are three distinct definitions.
+
+The table below illustrates the problem when a negative operand is
+used.
+
+@example
+                  Pim2/3          Pim4                ISO
+               -----------    -----------    ----------------------
+lval    rval   DIV     MOD    DIV     MOD    DIV    MOD    /    REM
+ 31      10      3       1      3       1      3      1     3     1
+-31      10     -3      -1     -4       9     -4      9    -3    -1
+ 31     -10     -3       1     -3       1     Exception    -3     1
+-31     -10      3      -1      4       9     Exception     3    -1
+@end example
+
+See also P24 of PIM2, P27 of PIM3, P29 of PIM4 and P201 of the ISO
+Standard.  At present all dialect division, remainder and modulus are
+implemented as above, apart from the exception calling in the ISO
+dialect.  Instead of exception handling the results are the same as the
+PIM4 dialect.  This is a temporary implementation situation.
+
+@node Exceptions, Semantic checking, Dialect, Using
+@section Exception implementation
+
+This section describes how exceptions are implemented in GNU Modula-2
+and how command line switches affect their behavior.  The option
+@samp{-fsoft-check-all} enables all software checking of nil
+dereferences, division by zero etc.  Additional code is produced to
+check these conditions and exception handlers are invoked if the
+conditions prevail.
+
+Without @samp{-fsoft-check-all} these exceptions will be caught by
+hardware (assuming the hardware support exists) and a signal handler
+is invoked.  The signal handler will in turn @code{THROW} an exception
+which will be caught by the appropriate Modula-2 handler.  However the
+action of throwing an exception from within a signal handler is
+implementation defined (according to the C++ documentation).  For
+example on the x86_64 architecture this works whereas on the i686
+architecture it does not.  Therefore to ensure portability it is
+recommended to use @samp{-fsoft-check-all}.
+
+@footnote{@samp{-fsoft-check-all} can be effectively combined with
+@samp{-O2} to semantically analyze source code for possible run time
+errors at compile time.}
+
+@node Semantic checking, Extensions, Exceptions, Using
+@section How to detect run time problems at compile time
+
+Consider the following program:
+
+@example
+MODULE assignvalue ;  (*!m2iso+gm2*)
+
+PROCEDURE bad () : INTEGER ;
+VAR
+   i: INTEGER ;
+BEGIN
+   i := -1 ;
+   RETURN i
+END bad ;
+
+VAR
+   foo: CARDINAL ;
+BEGIN
+   (* The m2rte plugin will detect this as an error, post
+      optimization.  *)
+   foo := bad ()
+END assignvalue.
+@end example
+
+here we see that the programmer has overlooked that the return value
+from @samp{bad} will cause an overflow to @samp{foo}.  If we compile
+the code with the following options:
+
+@example
+$ gm2 -g -fsoft-check-all -O2 -c assignvalue.mod
+assignvalue.mod:16:0:inevitable that this error will occur at run time,
+assignment will result in an overflow
+@end example
+
+The gm2 semantic plugin is automatically run and will generate a
+warning message for every exception call which is known as reachable.
+It is highly advised to run the optimizer (@samp{-O2} or @samp{-O3})
+with @samp{-fsoft-check-all} so that the compiler is able to run the
+optimizer and perform variable and flow analysis before the semantic
+plugin is invoked.
+
+@node Extensions, Type compatibility, Semantic checking, Using
+@section GNU Modula-2 language extensions
+
+This section introduces the GNU Modula-2 language extensions.
+The GNU Modula-2 compiler allows abstract data types to be any type,
+not just restricted to a pointer type providing the
+@samp{-fextended-opaque} option is supplied
+@xref{Compiler options, , ,gm2}.
+
+Declarations can be made in any order, whether they are
+types, constants, procedures, nested modules or variables.
+@c (@xref{Passes, , ,}.)
+
+GNU Modula-2 also allows programmers to interface to @code{C} and
+assembly language.
+
+GNU Modula-2 provides support for the special tokens @code{__LINE__},
+@code{__FILE__}, @code{__FUNCTION__} and @code{__DATE__}.  Support for
+these tokens will occur even if the @samp{-fcpp} option is not
+supplied.  A table of these identifiers and their data type and values
+is given below:
+
+@example
+Scope       GNU Modula-2 token      Data type and example value
+
+anywhere    __LINE__                Constant Literal compatible
+                                    with CARDINAL, INTEGER and WORD.
+                                    Example 1234
+
+anywhere    __FILE__                Constant string compatible
+                                    with parameter ARRAY OF CHAR or
+                                    an ARRAY whose SIZE is >= string
+                                    length.  Example
+                                    "hello.mod"
+
+procedure   __FUNCTION__            Constant string compatible
+                                    with parameter ARRAY OF CHAR or
+                                    an ARRAY whose SIZE is >= string
+                                    length.  Example
+                                    "calc"
+
+module      __FUNCTION__            Example
+                                    "module hello initialization"
+
+anywhere    __DATE__                Constant string compatible
+                                    with parameter ARRAY OF CHAR or
+                                    an ARRAY whose SIZE is >= string
+                                    length.  Example
+                                    "Thu Apr 29 10:07:16 BST 2004"
+
+anywhere   __COLUMN__               Gives a constant literal number
+                                    determining the left hand column
+                                    where the first _ appears in
+                                    __COLUMN__.  The left most column
+                                    is 1.
+
+@end example
+
+The preprocessor @samp{cpp} can be invoked via the @samp{-fcpp}
+command line option.  This in turn invokes @samp{cpp} with the
+following arguments @samp{-traditional -lang-asm}.  These options
+preserve comments and all quotations.  @samp{gm2} treats a @samp{#}
+character in the first column as a preprocessor directive.
+
+For example here is a module which calls @code{FatalError}
+via the macro @code{ERROR}.
+
+@example
+MODULE cpp ;
+
+FROM SYSTEM IMPORT ADR, SIZE ;
+FROM libc IMPORT exit, printf, malloc ;
+
+PROCEDURE FatalError (a, file: ARRAY OF CHAR;
+                         line: CARDINAL;
+                         func: ARRAY OF CHAR) ;
+BEGIN
+   printf ("%s:%d:fatal error, %s, in %s\n",
+            ADR (file), line, ADR (a), ADR (func)) ;
+   exit (1)
+END FatalError ;
+
+#define ERROR(X)  FatalError(X, __FILE__, __LINE__, __FUNCTION__)
+
+VAR
+   pc: POINTER TO CARDINAL;
+BEGIN
+   pc := malloc (SIZE (CARDINAL)) ;
+   IF pc = NIL
+   THEN
+      ERROR ('out of memory')
+   END
+END cpp.
+@end example
+
+Another use for the C preprocessor in Modula-2 might be to turn on
+debugging code.  For example the library module
+@file{FormatStrings.mod} uses procedures from @file{DynamicStrings.mod}
+and to track down memory leaks it was useful to track the source file
+and line where each string was created.  Here is a section of
+@file{FormatStrings.mod} which shows how the debugging code was
+enabled and disabled by adding @code{-fcpp} to the command line.
+
+@example
+FROM DynamicStrings IMPORT String, InitString, InitStringChar, Mark,
+                           ConCat, Slice, Index, char,
+                           Assign, Length, Mult, Dup, ConCatChar,
+                           PushAllocation, PopAllocationExemption,
+                           InitStringDB, InitStringCharStarDB,
+                           InitStringCharDB, MultDB, DupDB, SliceDB ;
+
+(*
+#define InitString(X) InitStringDB(X, __FILE__, __LINE__)
+#define InitStringCharStar(X) InitStringCharStarDB(X, __FILE__, \
+                                                   __LINE__)
+#define InitStringChar(X) InitStringCharDB(X, __FILE__, __LINE__)
+#define Mult(X,Y) MultDB(X, Y, __FILE__, __LINE__)
+#define Dup(X) DupDB(X, __FILE__, __LINE__)
+#define Slice(X,Y,Z) SliceDB(X, Y, Z, __FILE__, __LINE__)
+*)
+
+PROCEDURE doDSdbEnter ;
+BEGIN
+   PushAllocation
+END doDSdbEnter ;
+
+PROCEDURE doDSdbExit (s: String) ;
+BEGIN
+   s := PopAllocationExemption (TRUE, s)
+END doDSdbExit ;
+
+PROCEDURE DSdbEnter ;
+BEGIN
+END DSdbEnter ;
+
+PROCEDURE DSdbExit (s: String) ;
+BEGIN
+END DSdbExit ;
+
+(*
+#define DBsbEnter doDBsbEnter
+#define DBsbExit  doDBsbExit
+*)
+
+PROCEDURE Sprintf1 (s: String; w: ARRAY OF BYTE) : String ;
+BEGIN
+   DSdbEnter ;
+   s := FormatString (HandleEscape (s), w) ;
+   DSdbExit (s) ;
+   RETURN s
+END Sprintf1 ;
+@end example
+
+It is worth noting that the overhead of this code once @code{-fcpp} is
+not present and -O2 is used will be zero since the local empty
+procedures @code{DSdbEnter} and @code{DSdbExit} will be thrown away by
+the optimization passes of the GCC backend.
+
+@subsection Optional procedure parameter
+
+GNU Modula-2 allows the last parameter to a procedure or function
+parameter to be optional.  For example in the ISO library
+@file{COROUTINES.def} the procedure @code{NEWCOROUTINE} is defined as
+having an optional fifth argument (@code{initProtection}) which, if
+absent, is automatically replaced by @code{NIL}.
+
+@example
+@findex NEWCOROUTINE
+PROCEDURE NEWCOROUTINE (procBody: PROC; workspace: SYSTEM.ADDRESS;
+                        size: CARDINAL; VAR cr: COROUTINE;
+                        [initProtection: PROTECTION = NIL]);
+
+  (* Creates a new coroutine whose body is given by procBody,
+     and returns the identity of the coroutine in cr.
+     workspace is a pointer to the work space allocated to
+     the coroutine; size specifies the size of this workspace
+     in terms of SYSTEM.LOC.
+
+     The optional fifth argument may contain a single parameter
+     which specifies the initial protection level of the coroutine.
+  *)
+@end example
+
+The implementation module @file{COROUTINES.mod} implements this
+procedure using the following syntax:
+
+@example
+PROCEDURE NEWCOROUTINE (procBody: PROC; workspace: SYSTEM.ADDRESS;
+                        size: CARDINAL; VAR cr: COROUTINE;
+                        [initProtection: PROTECTION]);
+BEGIN
+
+END NEWCOROUTINE ;
+@end example
+
+Note that it is illegal for this declaration to contain an initializer
+value for @code{initProtection}.  However it is necessary to surround
+this parameter with the brackets @code{[} and @code{]}.  This serves to
+remind the programmer that the last parameter was declared as optional
+in the definition module.
+
+Local procedures can be declared to have an optional final parameter
+in which case the initializer is mandatory in the implementation or
+program module.
+
+GNU Modula-2 also provides additional fixed sized data types which
+are all exported from the @code{SYSTEM} module.
+@xref{The PIM system module, , ,gm2}.
+@xref{The ISO system module, , ,gm2}.
+
+@node Type compatibility, Unbounded by reference, Extensions, Using
+@section Type compatibility
+
+This section discuss the issues surrounding assignment, expression
+and parameter compatibility, their effect of the additional
+fixed sized datatypes and also their effect of run time checking.
+The data types supported by the compiler are:
+
+@example
+GNU Modula-2              scope      switches
+=============================================
+INTEGER                   pervasive
+LONGINT                   pervasive
+SHORTINT                  pervasive
+CARDINAL                  pervasive
+LONGCARD                  pervasive
+SHORTCARD                 pervasive
+BOOLEAN                   pervasive
+BITSET                    pervasive
+REAL                      pervasive
+LONGREAL                  pervasive
+SHORTREAL                 pervasive
+CHAR                      pervasive
+SHORTCOMPLEX              pervasive
+COMPLEX                   pervasive
+LONGCOMPLEX               pervasive
+
+LOC                       SYSTEM     -fiso
+BYTE                      SYSTEM
+WORD                      SYSTEM
+ADDRESS                   SYSTEM
+
+The following extensions are supported for
+most architectures (please check SYSTEM.def).
+=============================================
+INTEGER8                  SYSTEM
+INTEGER16                 SYSTEM
+INTEGER32                 SYSTEM
+INTEGER64                 SYSTEM
+CARDINAL8                 SYSTEM
+CARDINAL16                SYSTEM
+CARDINAL32                SYSTEM
+CARDINAL64                SYSTEM
+BITSET8                   SYSTEM
+BITSET16                  SYSTEM
+BITSET32                  SYSTEM
+WORD16                    SYSTEM
+WORD32                    SYSTEM
+WORD64                    SYSTEM
+REAL32                    SYSTEM
+REAL64                    SYSTEM
+REAL96                    SYSTEM
+REAL128                   SYSTEM
+COMPLEX32                 SYSTEM
+COMPLEX64                 SYSTEM
+COMPLEX96                 SYSTEM
+COMPLEX128                SYSTEM
+@end example
+
+The Modula-2 language categorizes compatibility between entities of
+possibly differing types into three sub components: expressions,
+assignments, and parameters.  Parameter compatibility is further
+divided into two sections for pass by reference and pass by value
+compatibility.
+
+For more detail on the Modula-2 type compatibility see the Modula-2
+ISO standard BS ISO/IEC 10514-1:1996 page 121-125.  For detail on the
+PIM type compatibility see Programming in Modula-2 Edition 4 page 29,
+(Elementary Data Types).
+
+@subsection Expression compatibility
+
+Modula-2 restricts the types of expressions to the same type.
+Expression compatibility is a symmetric relation.
+
+For example two sub expressions of @code{INTEGER} and @code{CARDINAL}
+are not expression compatible
+(@uref{http://freepages.modula2.org/report4/modula-2.html} and ISO
+Modula-2).
+
+In GNU Modula-2 this rule is also extended across all fixed sized data
+types (imported from SYSTEM).
+
+@subsection Assignment compatibility
+
+This section discusses the assignment issues surrounding assignment
+compatibility of elementary types (@code{INTEGER}, @code{CARDINAL},
+@code{REAL} and @code{CHAR} for example).  The information here is
+found in more detail in the Modula-2 ISO standard BS ISO/IEC
+10514-1:1996 page 122.
+
+Assignment compatibility exists between the same sized elementary
+types.
+
+Same type family of different sizes are
+also compatible as long as the @code{MAX(}type@code{)} and
+@code{MIN(}type@code{)} is known.  So for example this includes the
+@code{INTEGER} family, @code{CARDINAL} family and the @code{REAL}
+family.
+
+The reason for this is that when the assignment is performed
+the compiler will check to see that the expression (on the right of
+the @code{:=}) lies within the range of the designator type (on the
+left hand side of the @code{:=}).  Thus these ordinal types can be
+assignment compatible.  However it does mean that @code{WORD32} is not
+compatible with @code{WORD16} as @code{WORD32} does not have a minimum
+or maximum value and therefore cannot be checked.  The compiler does
+not know which of the two bytes from @code{WORD32} should be copied
+into @code{WORD16} and which two should be ignored.  Currently the
+types @code{BITSET8}, @code{BITSET16} and @code{BITSET32} are
+assignment incompatible.  However this restriction maybe lifted when
+further run time checking is achieved.
+
+Modula-2 does allow @code{INTEGER} to be assignment compatible with
+@code{WORD} as they are the same size.  Likewise GNU Modula-2 allows
+@code{INTEGER16} to be compatible with @code{WORD16} and the same for
+the other fixed sized types and their sized equivalent in either
+@code{WORD}n, @code{BYTE} or @code{LOC} types.  However it prohibits
+assignment between @code{WORD} and @code{WORD32} even though on many
+systems these sizes will be the same.  The reasoning behind this rule
+is that the extended fixed sized types are meant to be used by
+applications requiring fixed sized data types and it is more portable
+to forbid the blurring of the boundaries between fixed sized and
+machine dependent sized types.
+
+Intermediate code run time checking is always generated by the front
+end.  However this intermediate code is only translated into actual
+code if the appropriate command line switches are specified.  This
+allows the compiler to perform limited range checking at compile time.
+In the future it will allow the extensive GCC optimizations to
+propagate constant values through to the range checks which if they
+are found to exceed the type range will result in a compile time
+error message.
+
+@subsection Parameter compatibility
+
+Parameter compatibility is divided into two areas, pass by value and
+pass by reference (@code{VAR}).  In the case of pass by value the
+rules are exactly the same as assignment.  However in the second case,
+pass by reference, the actual parameter and formal parameter must be
+the same size and family.  Furthermore @code{INTEGER} and
+@code{CARDINAL}s are not treated as compatible in the pass by
+reference case.
+
+The types @code{BYTE}, @code{LOC}, @code{WORD} and @code{WORD}n
+derivatives are assignment and parameter compatible with any data type
+of the same size.
+
+@node Unbounded by reference, Building a shared library, Type compatibility, Using
+@section Unbounded by reference
+
+This section documents a GNU Modula-2 compiler switch which implements
+a language optimization surrounding the implementation of unbounded
+arrays.  In GNU Modula-2 the unbounded array is implemented by
+utilizing an internal structure @code{struct @{dataType *address,
+unsigned int high@}}.  So given the Modula-2 procedure declaration:
+
+@example
+PROCEDURE foo (VAR a: ARRAY OF dataType) ;
+BEGIN
+   IF a[2]= (* etc *)
+END foo ;
+@end example
+
+it is translated into GCC @code{tree}s, which can be represented
+in their C form thus:
+
+@example
+void foo (struct @{dataType *address, unsigned int high@} a)
+@{
+   if (a.address[2] == /* etc */
+@}
+@end example
+
+Whereas if the procedure @code{foo} was declared as:
+
+@example
+PROCEDURE foo (a: ARRAY OF dataType) ;
+BEGIN
+   IF a[2]= (* etc *)
+END foo ;
+@end example
+
+then it is implemented by being translated into the following
+GCC @code{tree}s, which can be represented in their C form thus:
+
+@example
+void foo (struct @{dataType *address, unsigned int high@} a)
+@{
+   dataType *copyContents = (dataType *)alloca (a.high+1);
+   memcpy(copyContents, a.address, a.high+1);
+   a.address = copyContents;
+
+   if (a.address[2] == /* etc */
+@}
+@end example
+
+This implementation works, but it makes a copy of each non VAR
+unbounded array when a procedure is entered.  If the unbounded array
+is not changed during procedure @code{foo} then this implementation
+will be very inefficient.  In effect Modula-2 lacks the @code{REF}
+keyword of Ada.  Consequently the programmer maybe tempted to
+sacrifice semantic clarity for greater efficiency by declaring the
+parameter using the @code{VAR} keyword in place of @code{REF}.
+
+The @code{-funbounded-by-reference} switch instructs the compiler to
+check and see if the programmer is modifying the content of any
+unbounded array.  If it is modified then a copy will be made upon
+entry into the procedure.  Conversely if the content is only read and
+never modified then this non @code{VAR} unbounded array is a candidate
+for being passed by reference.  It is only a candidate as it is still
+possible that passing this parameter by reference could alter the
+meaning of the source code.  For example consider the following case:
+
+@example
+PROCEDURE StrConCat (VAR a: ARRAY OF CHAR; b, c: ARRAY OF CHAR) ;
+BEGIN
+   (* code which performs string a := b + c *)
+END StrConCat ;
+
+PROCEDURE foo ;
+VAR
+   a: ARRAY [0..3] OF CHAR ;
+BEGIN
+   a := 'q' ;
+   StrConCat(a, a, a)
+END foo ;
+@end example
+
+In the code above we see that the same parameter, @code{a}, is being
+passed three times to @code{StrConCat}.  Clearly even though parameters
+@code{b} and @code{c} are never modified it would be incorrect to
+implement them as pass by reference.  Therefore the compiler checks to
+see if any non @code{VAR} parameter is type compatible with any
+@code{VAR} parameter and if so it generates run time procedure entry
+checks to determine whether the contents of parameters @code{b} or
+@code{c} matches the contents of @code{a}.  If a match is detected
+then a copy is made and the @code{address} in the unbounded
+@code{struct}ure is modified.
+
+The compiler will check the address range of each candidate against
+the address range of any @code{VAR} parameter, providing they are type
+compatible.  For example consider:
+
+@example
+PROCEDURE foo (a: ARRAY OF BYTE; VAR f: REAL) ;
+BEGIN
+   f := 3.14 ;
+   IF a[0]=BYTE(0)
+   THEN
+      (* etc *)
+   END
+END foo ;
+
+PROCEDURE bar ;
+BEGIN
+   r := 2.0 ;
+   foo(r, r)
+END bar ;
+@end example
+
+Here we see that although parameter, @code{a}, is a candidate for the
+passing by reference, it would be incorrect to use this
+transformation.  Thus the compiler detects that parameters, @code{a}
+and @code{f} are type compatible and will produce run time checking
+code to test whether the address range of their respective contents
+intersect.
+
+@node Linking, Building a shared library, Unbounded by reference, Using
+
+This section describes the linking related options.  There are three
+linking strategies available which are dynamic scaffold, static
+scaffold and user defined.  The dynamic scaffold is enabled by default
+and each module will register itself to the run time @samp{M2RTS} via
+a constructor.  The static scaffold mechanism will invoke each modules
+@samp{_init} and @samp{_finish} function in turn via a sequence of
+calls from within @samp{main}.  Lastly the user defined strategy
+can be implemented by turning off the dynamic and static options via
+@samp{-fno-scaffold-dynamic} and @samp{-fno-scaffold-static}.
+
+In the simple test below:
+
+@example
+$ gm2 hello.mod
+@end example
+
+the driver will add the options @samp{-fscaffold-dynamic} and
+@samp{-fgen-module-list=-} which generate a list of application
+modules and also creates the @samp{main} function with calls to
+@samp{M2RTS}.  It can be useful to add the option @samp{-fsources}
+which displays the source files as they are parsed and summarizes
+whether the source file is required for compilation or linking.
+
+If you wish to split the above command line into a compile and link
+then you could use these steps:
+
+@example
+$ gm2 -c -fscaffold-main hello.mod
+$ gm2 hello.o
+@end example
+
+The @samp{-fscaffold-main} informs the compiler to generate the
+@samp{main} function and scaffold.  You can enable the environment
+variable @samp{GCC_M2LINK_RTFLAG} to trace the construction and
+destruction of the application.  The values for
+@samp{GCC_M2LINK_RTFLAG} are shown in the table below:
+
+@example
+value   | meaning
+=================
+all     | turn on all flags below
+module  | trace modules as they register themselves
+pre     | generate module list prior to dependency resolution
+dep     | trace module dependency resolution
+post    | generate module list after dependency resolution
+force   | generate a module list after dependency and forced
+        | ordering is complete
+@end example
+
+The values can be combined using a comma separated list.
+
+One of the advantages of the dynamic scaffold is that the driver
+behaves in a similar way to the other front end drivers.
+For example consider a small project consisting of 4 definition
+implementation modules (@samp{a.def}, @samp{a.mod}, @samp{b.def},
+@samp{b.mod}, @samp{c.def}, @samp{c.mod}, @samp{d.def}, @samp{d.mod})
+and a program module @samp{program.mod}.
+
+To link this project we could:
+
+@example
+$ gm2 -g -c a.mod
+$ gm2 -g -c b.mod
+$ gm2 -g -c c.mod
+$ gm2 -g -c d.mod
+$ gm2 -g program.mod a.o b.o c.o d.o
+@end example
+
+The module initialization sequence is defined by the ISO standard to
+follow the import graph traversal.  The initialization order is the
+order in which the corresponding separate modules finish the
+processing of their import lists.
+
+However, if required, you can override this using
+@samp{-fruntime-modules=a,b,c,d} for example which forces the
+initialization sequence to @samp{a}, @samp{b}, @samp{c} and @samp{d}.
+
+@node Building a shared library, Interface for Python, Unbounded by reference, Using
+@section Building a shared library
+
+This section describes building a tiny shared library implemented in
+Modula-2 and built with @file{libtool}.  Suppose a project consists of
+two definition modules and two implementation modules and a program
+module @file{a.def}, @file{a.mod}, @file{b.def}, @file{b.mod} and
+@file{c.mod}.  The first step is to compile the modules using position
+independent code.  This can be achieved by the following three
+commands:
+
+@example
+libtool --tag=CC --mode=compile gm2 -g -c a.mod -o a.lo
+libtool --tag=CC --mode=compile gm2 -g -c b.mod -o b.lo
+libtool --tag=CC --mode=compile gm2 -g -c c.mod -o c.lo
+@end example
+
+The second step is to generate the shared library initialization and
+finalization routines.  We can do this by asking gm2 to generate a
+list of dependent modules and then use this to generate the scaffold.
+We also must compile the scaffold.
+
+@example
+gm2 -c -g -fmakelist c.mod
+gm2 -c -g -fmakeinit -fshared c.mod
+libtool --tag=CC --mode=compile g++ -g -c c_m2.cpp -o c_m2.lo
+@end example
+
+The third step is to link all these @file{.lo} files.
+
+@example
+libtool --mode=link gcc -g c_m2.lo a.lo b.lo c.lo \
+        -L$(prefix)/lib64 \
+        -rpath `pwd` -lgm2 -lstdc++ -lm -o libabc.la
+@end example
+
+At this point the shared library @file{libabc.so} will have been
+created inside the directory @file{.libs}.
+
+@node Interface for Python, Producing a Python module, Building a shared library, Using
+@section How to produce swig interface files
+
+This section describes how Modula-2 implementation modules can be
+called from Python (and other scripting languages such as TCL and
+Perl).  GNU Modula-2 can be instructed to create a swig interface when
+it is compiling an implementation module.  Swig then uses the
+interface file to generate all the necessary wrapping to that the
+desired scripting language may access the implementation module.
+
+Here is an example of how you might call upon the services of the
+Modula-2 library module @code{NumberIO} from Python3.
+
+The following commands can be used to generate the Python3 module:
+
+@example
+export src=@samp{directory to the sources}
+export prefix=@samp{directory to where the compiler is installed}
+gm2 -I$@{src@} -c -g -fswig $@{src@}/../../../gm2-libs/NumberIO.mod
+gm2 -I$@{src@} -c -g -fmakelist $@{src@}/../../../gm2-libs/NumberIO.mod
+
+gm2 -I$@{src@} -c -g -fmakeinit -fshared \
+   $@{src@}/../../../gm2-libs/NumberIO.mod
+
+swig -c++ -python3 NumberIO.i
+
+libtool --mode=compile g++ -g -c -I$@{src@} NumberIO_m2.cpp \
+  -o NumberIO_m2.lo
+
+libtool --tag=CC --mode=compile gm2 -g -c \
+  -I$@{src@}../../../gm2-libs \
+  $@{src@}/../../../gm2-libs/NumberIO.mod -o NumberIO.lo
+
+libtool --tag=CC --mode=compile g++ -g -c NumberIO_wrap.cxx \
+  -I/usr/include/python3 -o NumberIO_wrap.lo
+
+libtool --mode=link gcc -g NumberIO_m2.lo NumberIO_wrap.lo \
+   -L$@{prefix@}/lib64 \
+   -rpath `pwd` -lgm2 -lstdc++ -lm -o libNumberIO.la
+
+cp .libs/libNumberIO.so _NumberIO.so
+@end example
+
+The first four commands, generate the swig interface file
+@file{NumberIO.i} and python wrap files @file{NumberIO_wrap.cxx} and
+@file{NumberIO.py}.  The next three @file{libtool} commnads compile
+the C++ and Modula-2 source code into @file{.lo} objects.  The last
+@file{libtool} command links all the @file{.lo} files into a
+@file{.la} file and includes all shared library dependencies.
+
+Now it is possible to run the following Python script
+(called @file{testnum.py}):
+
+@example
+import NumberIO
+
+print ("1234 x 2 =", NumberIO.NumberIO_StrToInt("1234")*2)
+@end example
+
+like this:
+
+@example
+$ python3 testnum.py
+1234 x 2 = 2468
+@end example
+
+@xref{Producing a Python module, , ,gm2} for another example which
+uses the @code{UNQUALIFIED} keyword to reduce the module name clutter
+from the viewport of Python3.
+
+@subsection Limitations of automatic generated of Swig files
+
+This section discusses the limitations of automatically generating
+swig files.  From the previous example we see that the module
+@code{NumberIO} had a swig interface file @file{NumberIO.i}
+automatically generated by the compiler.  If we consider three of the
+procedure definitions in @file{NumberIO.def} we can see the
+success and limitations of the automatic interface generation.
+
+@example
+PROCEDURE StrToHex (a: ARRAY OF CHAR; VAR x: CARDINAL) ;
+PROCEDURE StrToInt (a: ARRAY OF CHAR; VAR x: INTEGER) ;
+PROCEDURE ReadInt (VAR x: CARDINAL) ;
+@end example
+
+Below are the swig interface prototypes:
+
+@example
+extern void NumberIO_StrToHex (char *_m2_address_a,
+                               int _m2_high_a, unsigned int *OUTPUT);
+/*  parameters: x is known to be an OUTPUT */
+extern void NumberIO_StrToInt (char *_m2_address_a,
+                               int _m2_high_a, int *OUTPUT);
+/*  parameters: x is guessed to be an OUTPUT */
+extern void NumberIO_ReadInt (int *x);
+/*  parameters: x is unknown */
+@end example
+
+In the case of @code{StrToHex} it can be seen that the compiler
+detects that the last parameter is an output.  It explicitly tells
+swig this by using the parameter name @code{OUTPUT} and in the
+following comment it informs the user that it knows this to be an
+output parameter.  In the second procedure @code{StrToInt} it marks
+the final parameter as an output, but it tells the user that this is
+only a guess.  Finally in @code{ReadInt} it informs the user that
+it does not know whether the parameter, @code{x}, is an output, input
+or an inout parameter.
+
+The compiler decides whether to mark a parameter as either:
+@code{INPUT}, @code{OUTPUT} or @code{INOUT} if it is read before
+written or visa versa in the first basic block.  At this point
+it will write output that the parameter is known.  If it is not
+read or written in the first basic block then subsequent basic blocks
+are searched and the result is commented as a guess.  Finally if
+no read or write occurs then the parameter is commented as unknown.
+However, clearly it is possible to fool this mechanism.  Nevertheless
+automatic generation of implementation module into swig interface files
+was thought sufficiently useful despite these limitations.
+
+In conclusion it would be wise to check all parameters in any
+automatically generated swig interface file.  Furthermore you can
+force the automatic mechanism to generate correct interface files by
+reading or writing to the @code{VAR} parameter in the first basic
+block of a procedure.
+
+@node Producing a Python module, Interface to C, Interface for Python, Using
+@section How to produce a Python module
+
+This section describes how it is possible to produce a Python module
+from Modula-2 code.  There are a number of advantages to this
+approach, it ensures your code reaches a wider audience, maybe it is
+easier to initialize your application in Python.
+
+The example application here is a pedagogical two dimensional gravity
+next event simulation.  The Python module needs to have a clear API
+which should be placed in a single definition module.  Furthermore the
+API should only use fundamental pervasive data types and strings.
+Below the API is contained in the file @file{twoDsim.def}:
+
+@example
+DEFINITION MODULE twoDsim ;
+
+EXPORT UNQUALIFIED gravity, box, poly3, poly5, poly6, mass,
+                   fix, circle, pivot, velocity, accel, fps,
+                   replayRate, simulateFor ;
+(*
+   gravity - turn on gravity at: g m^2
+*)
+
+PROCEDURE gravity (g: REAL) ;
+
+
+(*
+   box - place a box in the world at (x0,y0),(x0+i,y0+j)
+*)
+
+PROCEDURE box (x0, y0, i, j: REAL) : CARDINAL ;
+
+
+(*
+   poly3 - place a triangle in the world at:
+           (x0,y0),(x1,y1),(x2,y2)
+*)
+
+PROCEDURE poly3 (x0, y0, x1, y1, x2, y2: REAL) : CARDINAL ;
+
+
+(*
+   poly5 - place a pentagon in the world at:
+           (x0,y0),(x1,y1),(x2,y2),(x3,y3),(x4,y4)
+*)
+
+PROCEDURE poly5 (x0, y0, x1, y1,
+                 x2, y2, x3, y3, x4, y4: REAL) : CARDINAL ;
+
+
+(*
+   poly6 - place a hexagon in the world at:
+           (x0,y0),(x1,y1),(x2,y2),(x3,y3),(x4,y4),(x5,y5)
+*)
+
+PROCEDURE poly6 (x0, y0, x1, y1,
+                 x2, y2, x3, y3,
+                 x4, y4, x5, y5: REAL) : CARDINAL ;
+
+
+(*
+   mass - specify the mass of an object and return the, id.
+*)
+
+PROCEDURE mass (id: CARDINAL; m: REAL) : CARDINAL ;
+
+
+(*
+   fix - fix the object to the world.
+*)
+
+PROCEDURE fix (id: CARDINAL) : CARDINAL ;
+
+
+(*
+   circle - adds a circle to the world.  Center
+            defined by: x0, y0 radius, r.
+*)
+
+PROCEDURE circle (x0, y0, r: REAL) : CARDINAL ;
+
+
+(*
+   velocity - give an object, id, a velocity, vx, vy.
+*)
+
+PROCEDURE velocity (id: CARDINAL; vx, vy: REAL) : CARDINAL ;
+
+
+(*
+   accel - give an object, id, an acceleration, ax, ay.
+*)
+
+PROCEDURE accel (id: CARDINAL; ax, ay: REAL) : CARDINAL ;
+
+
+(*
+   fps - set frames per second.
+*)
+
+PROCEDURE fps (f: REAL) ;
+
+
+(*
+   replayRate - set frames per second during replay.
+*)
+
+PROCEDURE replayRate (f: REAL) ;
+
+
+(*
+   simulateFor - render for, t, seconds.
+*)
+
+PROCEDURE simulateFor (t: REAL) ;
+
+
+END twoDsim.
+@end example
+
+The keyword @code{UNQUALIFIED} can be used to ensure that the
+compiler will provide externally accessible functions
+@code{gravity}, @code{box}, @code{poly3}, @code{poly5}, @code{poly6},
+@code{mass}, @code{fix}, @code{circle}, @code{pivot}, @code{velocity},
+@code{accel}, @code{fps}, @code{replayRate}, @code{simulateFor}
+rather than name mangled alternatives.
+Hence in our Python3 application we could write:
+
+@example
+#!/usr/bin/env python3
+
+from twoDsim import *
+
+b = box (0.0, 0.0, 1.0, 1.0)
+b = fix (b)
+c1 = circle (0.7, 0.7, 0.05)
+c1 = mass (c1, 0.01)
+c2 = circle (0.7, 0.1, 0.05)
+c2 = mass (c2, 0.01)
+c2 = fix (c2)
+gravity (-9.81)
+fps (24.0*4.0)
+replayRate (24.0)
+print ("creating frames")
+try:
+    simulateFor (1.0)
+    print ("all done")
+except:
+    print ("exception raised")
+@end example
+
+which accesses the various functions defined and implemented by the
+module @code{twoDsim}.  The Modula-2 source code is compiled via:
+
+@example
+$ gm2 -g -fiso -c -fswig twoDsim.mod
+$ gm2 -g -fiso -c -fmakelist twoDsim.mod
+$ gm2 -g -fiso -c -fmakeinit twoDsim.mod
+@end example
+
+The first command both compiles the source file creating
+@file{twoDsim.o} and produces a swig interface file @file{swig.i}.  We
+now use @code{swig} and @code{g++} to produce and compile the
+interface wrappers:
+
+@example
+$ libtool --mode=compile g++ -g -c twoDsim_m2.cpp -o twoDsim_m2.lo
+$ swig -c++ -python3 twoDsim.i
+$ libtool --mode=compile g++ -c -fPIC twoDsim_wrap.cxx \
+   -I/usr/include/python3 -o twoDsim_wrap.lo
+$ libtool --mode=compile gm2 -g -fPIC -fiso -c deviceGnuPic.mod
+$ libtool --mode=compile gm2 -g -fPIC -fiso -c roots.mod
+$ libtool --mode=compile gm2 -g -fPIC -fiso -c -fswig \
+   twoDsim.mod -o twoDsim.lo
+@end example
+
+Finally the application is linked into a shared library:
+
+@example
+$ libtool --mode=link gcc -g twoDsim_m2.lo twoDsim_wrap.lo \
+  roots.lo deviceGnuPic.lo \
+   -L$@{prefix@}/lib64 \
+   -rpath `pwd` -lgm2 -lstdc++ -lm -o libtwoDsim.la
+cp .libs/libtwoDsim.so _twoDsim.so
+@end example
+
+The library name must start with @code{_} to comply with the Python3
+module naming scheme.
+
+@node Interface to C, Assembly language, Producing a Python module, Using
+@section Interfacing GNU Modula-2 to C
+
+The GNU Modula-2 compiler tries to use the C calling convention
+wherever possible however some parameters have no C equivalent and
+thus a language specific method is used.  For example unbounded arrays
+are passed as a @code{struct @{void *address, unsigned int high@}} and
+the contents of these arrays are copied by callee functions when they
+are declared as non @code{VAR} parameters.  The @code{VAR} equivalent
+unbounded array parameters need no copy, but still use the
+@code{struct} representation.
+
+The recommended method of interfacing GNU Modula-2 to C is by telling
+the definition module that the implementation is in the C language.
+This is achieved by using the tokens @code{DEFINITION MODULE FOR "C"}.
+Here is an example @file{libprintf.def}.
+
+@example
+DEFINITION MODULE FOR "C" libprintf ;
+
+EXPORT UNQUALIFIED printf ;
+
+PROCEDURE printf (a: ARRAY OF CHAR; ...) : [ INTEGER ] ;
+
+END libprintf.
+@end example
+
+the @code{UNQUALIFIED} keyword in the definition module informs
+GNU Modula-2 not to prefix the module name to exported references
+in the object file.
+
+The @code{printf} declaration states that the first parameter
+semantically matches @code{ARRAY OF CHAR} but since the module is for
+the C language it will be mapped onto @code{char *}.  The token
+@code{...} indicates a variable number of arguments (varargs) and all
+parameters passed here are mapped onto their C equivalents.  Arrays and
+constant strings are passed as pointers.  Lastly @code{[ INTEGER ]}
+states that the caller can ignore the function return result if desired.
+
+The hello world program can be rewritten as:
+
+@example
+MODULE hello ;
+
+FROM libprintf IMPORT printf ;
+
+BEGIN
+   printf ("hello world\n")
+END hello.
+@end example
+
+and it can be compiled by:
+
+@samp{gm2 -g hello.mod -lc}
+
+In reality the @samp{-lc} is redundant as libc is always included in the
+linking process.  It is shown here to emphasize that the C library or
+object file containing @code{printf} must be present.  The search path
+for modules can be changed by using @samp{-I}.
+
+If a procedure function is declared using varargs then some parameter
+values are converted.  The table below summarizes the default conversions
+and default types used.
+
+@example
+Actual Parameter       |  Default conversion  |   Type of actual
+                       |                      |   value passed
+===============================================================
+123                    |  none                |   long long int
+"hello world"          |  none                |   const char *
+a: ARRAY OF CHAR       |  ADR (a)             |   char *
+a: ARRAY [0..5] OF CHAR|  ADR (a)             |   char *
+3.14                   |  none                |   long double
+@end example
+
+If you wish to pass @code{int} values then you should explicitly
+convert the constants using one of the conversion mechanisms.
+For example:  @code{INTEGER(10)} or @code{VAL(INTEGER, 10)} or
+@code{CAST(INTEGER, 10)}.
+
+@node Assembly language, Alignment, Interface to C, Using
+@section Interface to assembly language
+
+The interface for GNU Modula-2 to assembly language is almost
+identical to GNU C.  The only alterations are that the keywords
+@code{asm} and @code{volatile} are in capitals, following the Modula-2
+convention.
+
+A simple, but highly non optimal, example is given below.  Here we want
+to add the two @code{CARDINAL}s @code{foo} and @code{bar} together and
+return the result.  The target processor is assumed to be executing
+the x86_64 instruction set.
+
+@example
+PROCEDURE Example (foo, bar: CARDINAL) : CARDINAL ;
+VAR
+   myout: CARDINAL ;
+BEGIN
+   ASM VOLATILE ("movq %1,%%rax; addq %2,%%rax; movq %%rax,%0"
+      : "=rm" (myout)            (* outputs *)
+      : "rm" (foo), "rm" (bar)   (* inputs  *)
+      : "rax") ;                 (* we trash *)
+   RETURN( myout )
+END Example ;
+@end example
+
+For a full description of this interface we refer the reader to the GNU C manual.
+
+@xref{Extended Asm, ,Extensions to the C Language Family,gcc}.
+
+The same example can be written using the newer extensions of naming
+the operands rather than using numbered arguments.
+
+@example
+PROCEDURE Example (foo, bar: CARDINAL) : CARDINAL ;
+VAR
+   myout: CARDINAL ;
+BEGIN
+   ASM VOLATILE (
+    "movq %[left],%%rax; addq %[right],%%rax; movq %%rax,%[output]"
+      : [output] "=rm" (myout)                  (* outputs *)
+      : [left] "rm" (foo), [right] "rm" (bar)   (* inputs  *)
+      : "rax") ;                                (* we trash *)
+   RETURN( myout )
+END Example ;
+@end example
+
+Both examples generate exactly the same code.  It is worth noting that
+the specifier ``rm'' indicates that the operand can be either a
+register or memory.  Of course you must choose an instruction which
+can take either, but this allows the compiler to take make more
+efficient choices depending upon the optimization level given to the
+compiler.
+
+@node Alignment, Packed, Assembly language, Using
+@section Data type alignment
+
+GNU Modula-2 allows you to specify alignment for types and variables.
+The syntax for alignment is to use the ISO pragma directives @code{<*}
+@code{bytealignment (} expression @code{)} and @code{*>}.  These directives
+can be used after type and variable declarations.
+
+The ebnf of the alignment production is:
+
+@example
+Alignment := [ ByteAlignment ] =:
+ByteAlignment := '<*' AttributeExpression '*>' =:
+AlignmentExpression := "(" ConstExpression ")" =:
+@end example
+
+The @code{Alignment} ebnf statement may be used during construction of
+types, records, record fields, arrays, pointers and variables.  Below
+is an example of aligning a type so that the variable @code{bar} is
+aligned on a 1024 address.
+
+@example
+MODULE align ;
+
+TYPE
+   foo = INTEGER <* bytealignment(1024) *> ;
+
+VAR
+   z  : INTEGER ;
+   bar: foo ;
+BEGIN
+END align.
+@end example
+
+The next example aligns a variable on a 1024 byte boundary.
+
+@example
+MODULE align2 ;
+
+VAR
+   x  : CHAR ;
+   z  : ARRAY [0..255] OF INTEGER <* bytealignment(1024) *> ;
+BEGIN
+END align2.
+@end example
+
+Here the example aligns a pointer on a 1024 byte boundary.
+
+@example
+MODULE align4 ;
+
+FROM SYSTEM IMPORT ADR ;
+FROM libc IMPORT exit ;
+
+VAR
+   x  : CHAR ;
+   z  : POINTER TO INTEGER <* bytealignment(1024) *> ;
+BEGIN
+   IF ADR(z) MOD 1024=0
+   THEN
+      exit(0)
+   ELSE
+      exit(1)
+   END
+END align4.
+@end example
+
+In example @code{align5} record field @code{y} is aligned on a 1024
+byte boundary.
+
+@example
+MODULE align5 ;
+
+FROM SYSTEM IMPORT ADR ;
+FROM libc IMPORT exit ;
+
+TYPE
+   rec = RECORD
+            x: CHAR ;
+            y: CHAR <* bytealignment(1024) *> ;
+         END ;
+VAR
+   r: rec ;
+BEGIN
+   IF ADR(r.y) MOD 1024=0
+   THEN
+      exit(0)
+   ELSE
+      exit(1)
+   END
+END align5.
+@end example
+
+In the example below module @code{align6} declares @code{foo} as an
+array of 256 @code{INTEGER}s.  The array @code{foo} is aligned on a
+1024 byte boundary.
+
+@example
+MODULE align6 ;
+
+FROM SYSTEM IMPORT ADR ;
+FROM libc IMPORT exit ;
+
+TYPE
+   foo = ARRAY [0..255] OF INTEGER <* bytealignment(1024) *> ;
+
+VAR
+   x  : CHAR ;
+   z  : foo ;
+BEGIN
+   IF ADR(z) MOD 1024=0
+   THEN
+      exit(0)
+   ELSE
+      exit(1)
+   END
+END align6.
+@end example
+
+@node Packed, Built-ins, Alignment, Using
+@section Packing data types
+
+The pragma @code{<* bytealignment(0) *>} can be used to specify that
+the fields within a @code{RECORD} are to be packed.  Currently this
+only applies to fields which are declared as subranges, ordinal types
+and enumerated types.  Here is an example of how two subranges might
+be packed into a byte.
+
+@example
+TYPE
+   bits3c =  [0..7] ;
+   bits3i = [-4..3] ;
+
+   byte = RECORD
+              <* bytealignment(0) *>
+              x: bits3c ;
+              <* bitsunused(2) *>
+              y: bits3i ;
+          END ;
+@end example
+
+Notice that the user has specified that in between fields @code{x} and
+@code{y} there are two bits unused.
+
+Now the user wishes to create a record with byte numbers zero and one
+occupied and then an @code{INTEGER32} field which is four byte
+aligned.  In this case byte numbers two and three will be unused.  The
+pragma @code{bytealignment} can be issued at the start of the record
+indicating the default alignment for the whole record and this can be
+overridden by individual fields if necessary.
+
+@example
+   rec = RECORD
+            <* bytealignment (1) *> ;
+            a, b: byte ;
+            x: INTEGER32 <* bytealignment(4) *> ;
+         END ;
+@end example
+
+In the following example the user has specified that a record has two
+fields @code{p} and @code{q} but that there are three bytes unused between
+these fields.
+
+@example
+   header = RECORD
+               <* bytealignment(1) *>
+               p: byte ;
+               <* bytesunused(3) *>
+               q: byte ;
+            END ;
+@end example
+
+The pragma @code{<* bytesunused(x) *>} can only be used if the current
+field is on a byte boundary.  There is also a @code{SYSTEM} pseudo
+procedure function @code{TBITSIZE(T)} which returns the minimum number of
+bits necessary to represent type @code{T}.
+
+Another example of packing record bit fields is given below:
+
+@example
+MODULE align21 ;
+
+FROM libc IMPORT exit ;
+
+TYPE
+   colour = (red, blue, green, purple, white, black) ;
+
+   soc = PACKEDSET OF colour ;
+
+   rec = RECORD
+            <* bytealignment(0) *>
+            x: soc ;
+            y: [-1..1] ;
+         END ;
+
+VAR
+   r: rec ;
+   v: CARDINAL ;
+BEGIN
+   v := SIZE(r) ;
+   IF SIZE(r)#1
+   THEN
+      exit(1)
+   END ;
+   r.x := soc@{blue@} ;
+   IF r.x#soc@{blue@}
+   THEN
+      exit(2)
+   END
+END align21.
+@end example
+
+Here we see that the total size of this record is one byte and consists
+of a six bit set type followed by a 2 bit integer subrange.
+
+@node Built-ins, The PIM system module, Packed, Using
+@section Accessing GNU Modula-2 Built-ins
+
+This section describes the built-in constants and functions defined in
+GNU Modula-2.  The following compiler constants can be accessed using
+the @code{__ATTRIBUTE__} @code{__BUILTIN__} keywords.  These are not
+part of the Modula-2 language and they may differ depending upon the
+target architecture but they provide a method whereby common
+libraries can interface to a different underlying architecture.
+
+The built-in constants are: @code{BITS_PER_UNIT}, @code{BITS_PER_WORD},
+@code{BITS_PER_CHAR} and @code{UNITS_PER_WORD}.  They are integrated into
+GNU Modula-2 by an extension to the @code{ConstFactor} rule:
+
+@example
+ConstFactor := ConstQualidentOrSet | Number | ConstString |
+               "(" ConstExpression ")" | "NOT" ConstFactor |
+               ConstAttribute =:
+
+ConstAttribute := "__ATTRIBUTE__" "__BUILTIN__" "(" "(" Ident ")" ")" =:
+@end example
+
+Here is an example taken from the ISO library @code{SYSTEM.def}:
+
+@example
+CONST
+   BITSPERLOC    = __ATTRIBUTE__ __BUILTIN__ ((BITS_PER_UNIT)) ;
+   LOCSPERWORD   = __ATTRIBUTE__ __BUILTIN__ ((UNITS_PER_WORD)) ;
+@end example
+
+Built-in functions are transparent to the end user.  All built-in
+functions are declared in @code{DEFINITION MODULE}s and are imported
+as and when required.  Built-in functions are declared in definition
+modules by using the @code{__BUILTIN__} keyword.  Here is a section of
+the ISO library @code{LongMath.def} which demonstrates this feature.
+
+@example
+PROCEDURE __BUILTIN__ sqrt (x: LONGREAL): LONGREAL;
+  (* Returns the square root of x *)
+@end example
+
+This indicates that the function @code{sqrt} will be implemented using
+the gcc built-in maths library.  If gcc cannot utilize the built-in
+function (for example if the programmer requested the address of
+@code{sqrt}) then code is generated to call the alternative function
+implemented in the @code{IMPLEMENTATION} @code{MODULE}.
+
+Sometimes a function exported from the @code{DEFINITION} @code{MODULE}
+will have a different name from the built-in function within gcc.  In
+such cases the mapping between the GNU Modula-2 function name and the
+gcc name is expressed using the keywords @code{__ATTRIBUTE__}
+@code{__BUILTIN__} @code{((Ident))}.  For example the function
+@code{sqrt} in @code{LongMath.def} maps onto the gcc built-in function
+@code{sqrtl} and this is expressed as:
+
+@example
+PROCEDURE __ATTRIBUTE__ __BUILTIN__ ((sqrtl)) sqrt
+                                    (x: LONGREAL) : LONGREAL;
+  (* Returns the positive square root of x *)
+@end example
+
+The following module @code{Builtins.def} enumerates the list of
+built-in functions which can be accessed in GNU Modula-2.  It also
+serves to define the parameter and return value for each function:
+
+@include m2/Builtins.texi
+
+Although this module exists and will result in the generation of
+in-line code if optimization flags are passed to GNU Modula-2, users
+are advised to utilize the same functions from more generic libraries.
+The built-in mechanism will be applied to these generic
+libraries where appropriate.  Note for the mathematical routines to
+be in-lined you need to specify the @samp{-ffast-math -O} options.
+
+@node The PIM system module, The ISO system module, Built-ins, Using
+@section The PIM system module
+
+@include m2/SYSTEM-pim.texi
+
+The different dialects of Modula-2 PIM-[234] and ISO Modula-2 declare
+the function @code{SIZE} in different places.  PIM-[34] and ISO
+Modula-2 declare @code{SIZE} as a pervasive function (declared in the
+base module).  PIM-2 defined @code{SIZE} in the @code{SYSTEM} module
+(as shown above).
+
+GNU Modula-2 allows users to specify the dialect of Modula-2 by using
+the @code{-fiso} and @code{-fpim2} command line switches.
+
+The data types @code{CSIZE_T} and @code{CSSIZE_T} are also exported from
+the @code{SYSTEM} module.  The type @code{CSIZE_T} is unsigned and is
+mapped onto the target C data type @code{size_t} whereas the type
+@code{CSSIZE_T} is mapped onto the signed C data type @code{ssize_t}.
+
+It is anticipated that these should only be used to provide cross
+platform definition modules for C libraries.
+
+There are also a variety of fixed sized @code{INTEGER} and
+@code{CARDINAL} types.  The variety of the fixed sized types will
+depend upon the target architecture.
+
+@node The ISO system module, , The PIM system module, Using
+@section The ISO system module
+
+@include m2/SYSTEM-iso.texi
+
+The data types @code{CSIZE_T} and @code{CSSIZE_T} are also exported from
+the @code{SYSTEM} module.  The type @code{CSIZE_T} is unsigned and is
+mapped onto the target C data type @code{size_t} whereas the type
+@code{CSSIZE_T} is mapped onto the signed C data type @code{ssize_t}.
+
+It is anticipated that these should only be used to provide cross
+platform definition modules for C libraries.
+
+There are also a variety of fixed sized @code{INTEGER} and
+@code{CARDINAL} types.  The variety of the fixed sized types will
+depend upon the target architecture.
+
+@node License, Copying, The ISO system module, Top
+@section License of GNU Modula-2
+
+GNU Modula-2 is free software, the compiler is held under the GPL v3
+@uref{http://www.gnu.org/licenses/gpl.txt},
+its libraries (pim, iso and Logitech compatible) are under the
+GPL v3 with the GCC run time library exception clause.
+
+Under Section 7 of GPL version 3, you are granted additional
+permissions described in the GCC Runtime Library Exception, version
+3.1, as published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License and
+a copy of the GCC Runtime Library Exception along with this program;
+see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
+<http://www.gnu.org/licenses/>.
+
+More information on how these licenses work is available
+@uref{http://www.gnu.org/licenses/licenses.html} on the GNU web site.
+
+@c Copying node is inside the gpl_v3.texi
+@include gpl_v3.texi
+
+@node Contributing, Internals, Copying, Top
+@section Contributing to GNU Modula-2
+
+Please do and please read the GNU Emacs info under
+
+@example
+* Standards: (standards).       GNU coding standards.
+* Intellectual Property::       Keeping Free Software Free
+* Reading Non-Free Code::       Referring to Proprietary Programs
+* Contributions::               Accepting Contributions
+@end example
+
+You might consider joining the GM2 Mailing list before you start
+coding.  The mailing list may be subscribed via a web interface
+@uref{http://lists.nongnu.org/mailman/listinfo/gm2} or via email
+@email{gm2-subscribe@@nongnu.org}.
+
+Many thanks and enjoy your coding!
+
+@node Internals, EBNF, Contributing, Top
+
+This section is still being written.
+@c @include gm2-internals.texi
+
+@node EBNF, Libraries, Internals, Top
+@chapter EBNF of GNU Modula-2
+
+This chapter contains the EBNF of GNU Modula-2.  This grammar currently
+supports both PIM and ISO dialects.  The rules here are automatically
+extracted from the crammer files in GNU Modula-2 and serve to document
+the syntax of the extensions described earlier and how they fit in
+with the base language.
+
+Note that the first six productions are built into the lexical analysis
+phase.
+
+@include m2/gm2-ebnf.texi
+
+@node Libraries, Indices, EBNF, Top
+@chapter PIM and ISO library definitions
+
+This chapter contains M2F, PIM and ISO libraries.
+
+@include m2/gm2-libs.texi
+
+@node Indices, , Libraries, Top
+@section Indices
+
+@ifhtml
+@menu
+* Contents::    Section and subsections.
+* Functions::   Function, constants, types, ebnf indices.
+@end menu
+
+@node Contents, Functions, ,
+@section Section and subsections
+@printindex cp
+
+@node Functions, , Contents,
+@section Function, constants, types, ebnf indices.
+@end ifhtml
+
+@printindex fn
+
+@summarycontents
+@contents
+@bye
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 89ff6a6734b..6884a74936b 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -308,6 +308,13 @@ On some targets, @samp{libphobos} isn't enabled by default, but compiles
 and works if @option{--enable-libphobos} is used.  Specifics are
 documented for affected targets.
 
+@item @anchor{GM2-prerequisite}GM2
+
+Python3 is required if you want to build the complete Modula-2
+documentation including the target @code{SYSTEM} definition module.
+If Python3 is unavailable Modula-2 documentation will include a target
+independent version of the SYSTEM modules.
+
 @item A ``working'' POSIX compatible shell, or GNU bash
 
 Necessary when running @command{configure} because some
@@ -436,6 +443,34 @@ Necessary to build GCC with zstd compression used for LTO bytecode.
 The library is searched in your default library patch search.
 Alternatively, the @option{--with-zstd} configure option should be used.
 
+@item Python3 modules
+
+The complete list of Python3 modules broken down by GCC subcomponent
+is shown below:
+
+@table @asis
+@item internal debugging in gdbhooks
+@code{gdb}, @code{gdb.printing}, @code{gdb.types},
+@code{os.path}, @code{re}, @code{sys} and @code{tempfile},
+
+@item g++ testsuite
+@code{gcov}, @code{gzip}, @code{json}, @code{os} and @code{pytest}.
+
+@item c++ cxx api generation
+@code{csv}, @code{os}, @code{sys} and @code{time}.
+
+@item modula-2 documentation
+@code{argparse}, @code{os}, @code{pathlib}, @code{shutil} and
+@code{sys}.
+
+@item git developer tools
+@code{os} and @code{sys}.
+
+@item ada documentation
+@code{latex_elements}, @code{os}, @code{pygments}, @code{re},
+@code{sys} and @code{time}.
+@end table
+
 @end table
 
 @heading Tools/packages necessary for modifying GCC
@@ -1853,11 +1888,13 @@ grep ^language= */config-lang.in
 @end smallexample
 Currently, you can use any of the following:
 @code{all}, @code{default}, @code{ada}, @code{c}, @code{c++}, @code{d},
-@code{fortran}, @code{go}, @code{jit}, @code{lto}, @code{objc}, @code{obj-c++}.
+@code{fortran}, @code{go}, @code{jit}, @code{lto}, @code{m2},
+@code{objc}, @code{obj-c++}.
 Building the Ada compiler has special requirements, see below.
 If you do not pass this flag, or specify the option @code{default}, then the
 default languages available in the @file{gcc} sub-tree will be configured.
-Ada, D, Go, Jit, and Objective-C++ are not default languages.  LTO is not a
+Ada, D, Go, Jit, Objective-C++ and Modula-2 are not default languages.
+LTO is not a
 default language, but is built by default because @option{--enable-lto} is
 enabled by default.  The other languages are default languages.  If
 @code{all} is specified, then all available languages are built.  An
@@ -1885,6 +1922,10 @@ be built.  This can be useful for debugging, or for compatibility with
 previous Ada build procedures, when it was required to explicitly
 do a @samp{make -C gcc gnatlib_and_tools}.
 
+@item --disable-libgm2
+Specify that the run-time libraries and tools used by Modula-2 should not
+be built.  This can be useful for debugging.
+
 @item --disable-libsanitizer
 Specify that the run-time libraries for the various sanitizers should
 not be built.
@@ -3144,10 +3185,10 @@ on a simulator as described at @uref{https://gcc.gnu.org/simtest-howto.html}.
 In order to run sets of tests selectively, there are targets
 @samp{make check-gcc} and language specific @samp{make check-c},
 @samp{make check-c++}, @samp{make check-d} @samp{make check-fortran},
-@samp{make check-ada}, @samp{make check-objc}, @samp{make check-obj-c++},
-@samp{make check-lto}
-in the @file{gcc} subdirectory of the object directory.  You can also
-just run @samp{make check} in a subdirectory of the object directory.
+@samp{make check-ada}, @samp{make check-m2}, @samp{make check-objc},
+@samp{make check-obj-c++}, @samp{make check-lto} in the @file{gcc}
+subdirectory of the object directory.  You can also just run
+@samp{make check} in a subdirectory of the object directory.
 
 
 A more selective way to just run all @command{gcc} execute tests in the
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index ffe69d6fcb9..562be485ce8 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -97,6 +97,9 @@ The GCC runtime library.
 @item libgfortran
 The Fortran runtime library.
 
+@item libgm2
+The Modula-2 runtime library.
+
 @item libgo
 The Go runtime library.  The bulk of this library is mirrored from the
 @uref{https://github.com/@/golang/go, master Go repository}.
@@ -184,7 +187,8 @@ The @file{gcc} directory contains the following subdirectories:
 @item @var{language}
 Subdirectories for various languages.  Directories containing a file
 @file{config-lang.in} are language subdirectories.  The contents of
-the subdirectories @file{c} (for C), @file{cp} (for C++),
+the subdirectories @file{c} (for C), @file{cp} (for C++), @file{m2}
+(for Modula-2),
 @file{objc} (for Objective-C), @file{objcp} (for Objective-C++),
 and @file{lto} (for LTO) are documented in this
 manual (@pxref{Passes, , Passes and Files of the Compiler});
diff --git a/gcc/dwarf2out.cc b/gcc/dwarf2out.cc
index ed06707a7b4..dce3f05fce7 100644
--- a/gcc/dwarf2out.cc
+++ b/gcc/dwarf2out.cc
@@ -25221,6 +25221,8 @@ gen_compile_unit_die (const char *filename)
     }
   else if (strcmp (language_string, "GNU F77") == 0)
     language = DW_LANG_Fortran77;
+  else if (strcmp (language_string, "GNU Modula-2") == 0)
+    language = DW_LANG_Modula2;
   else if (dwarf_version >= 3 || !dwarf_strict)
     {
       if (strcmp (language_string, "GNU Ada") == 0)
diff --git a/gcc/m2/COPYING.FDL b/gcc/m2/COPYING.FDL
new file mode 100644
index 00000000000..9854856fa81
--- /dev/null
+++ b/gcc/m2/COPYING.FDL
@@ -0,0 +1,397 @@
+		GNU Free Documentation License
+		  Version 1.2, November 2002
+
+
+ Copyright (C) 2000-2022 Free Software Foundation, Inc.
+     51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+0. PREAMBLE
+
+The purpose of this License is to make a manual, textbook, or other
+functional and useful document "free" in the sense of freedom: to
+assure everyone the effective freedom to copy and redistribute it,
+with or without modifying it, either commercially or noncommercially.
+Secondarily, this License preserves for the author and publisher a way
+to get credit for their work, while not being considered responsible
+for modifications made by others.
+
+This License is a kind of "copyleft", which means that derivative
+works of the document must themselves be free in the same sense.  It
+complements the GNU General Public License, which is a copyleft
+license designed for free software.
+
+We have designed this License in order to use it for manuals for free
+software, because free software needs free documentation: a free
+program should come with manuals providing the same freedoms that the
+software does.  But this License is not limited to software manuals;
+it can be used for any textual work, regardless of subject matter or
+whether it is published as a printed book.  We recommend this License
+principally for works whose purpose is instruction or reference.
+
+
+1. APPLICABILITY AND DEFINITIONS
+
+This License applies to any manual or other work, in any medium, that
+contains a notice placed by the copyright holder saying it can be
+distributed under the terms of this License.  Such a notice grants a
+world-wide, royalty-free license, unlimited in duration, to use that
+work under the conditions stated herein.  The "Document", below,
+refers to any such manual or work.  Any member of the public is a
+licensee, and is addressed as "you".  You accept the license if you
+copy, modify or distribute the work in a way requiring permission
+under copyright law.
+
+A "Modified Version" of the Document means any work containing the
+Document or a portion of it, either copied verbatim, or with
+modifications and/or translated into another language.
+
+A "Secondary Section" is a named appendix or a front-matter section of
+the Document that deals exclusively with the relationship of the
+publishers or authors of the Document to the Document's overall subject
+(or to related matters) and contains nothing that could fall directly
+within that overall subject.  (Thus, if the Document is in part a
+textbook of mathematics, a Secondary Section may not explain any
+mathematics.)  The relationship could be a matter of historical
+connection with the subject or with related matters, or of legal,
+commercial, philosophical, ethical or political position regarding
+them.
+
+The "Invariant Sections" are certain Secondary Sections whose titles
+are designated, as being those of Invariant Sections, in the notice
+that says that the Document is released under this License.  If a
+section does not fit the above definition of Secondary then it is not
+allowed to be designated as Invariant.  The Document may contain zero
+Invariant Sections.  If the Document does not identify any Invariant
+Sections then there are none.
+
+The "Cover Texts" are certain short passages of text that are listed,
+as Front-Cover Texts or Back-Cover Texts, in the notice that says that
+the Document is released under this License.  A Front-Cover Text may
+be at most 5 words, and a Back-Cover Text may be at most 25 words.
+
+A "Transparent" copy of the Document means a machine-readable copy,
+represented in a format whose specification is available to the
+general public, that is suitable for revising the document
+straightforwardly with generic text editors or (for images composed of
+pixels) generic paint programs or (for drawings) some widely available
+drawing editor, and that is suitable for input to text formatters or
+for automatic translation to a variety of formats suitable for input
+to text formatters.  A copy made in an otherwise Transparent file
+format whose markup, or absence of markup, has been arranged to thwart
+or discourage subsequent modification by readers is not Transparent.
+An image format is not Transparent if used for any substantial amount
+of text.  A copy that is not "Transparent" is called "Opaque".
+
+Examples of suitable formats for Transparent copies include plain
+ASCII without markup, Texinfo input format, LaTeX input format, SGML
+or XML using a publicly available DTD, and standard-conforming simple
+HTML, PostScript or PDF designed for human modification.  Examples of
+transparent image formats include PNG, XCF and JPG.  Opaque formats
+include proprietary formats that can be read and edited only by
+proprietary word processors, SGML or XML for which the DTD and/or
+processing tools are not generally available, and the
+machine-generated HTML, PostScript or PDF produced by some word
+processors for output purposes only.
+
+The "Title Page" means, for a printed book, the title page itself,
+plus such following pages as are needed to hold, legibly, the material
+this License requires to appear in the title page.  For works in
+formats which do not have any title page as such, "Title Page" means
+the text near the most prominent appearance of the work's title,
+preceding the beginning of the body of the text.
+
+A section "Entitled XYZ" means a named subunit of the Document whose
+title either is precisely XYZ or contains XYZ in parentheses following
+text that translates XYZ in another language.  (Here XYZ stands for a
+specific section name mentioned below, such as "Acknowledgements",
+"Dedications", "Endorsements", or "History".)  To "Preserve the Title"
+of such a section when you modify the Document means that it remains a
+section "Entitled XYZ" according to this definition.
+
+The Document may include Warranty Disclaimers next to the notice which
+states that this License applies to the Document.  These Warranty
+Disclaimers are considered to be included by reference in this
+License, but only as regards disclaiming warranties: any other
+implication that these Warranty Disclaimers may have is void and has
+no effect on the meaning of this License.
+
+
+2. VERBATIM COPYING
+
+You may copy and distribute the Document in any medium, either
+commercially or noncommercially, provided that this License, the
+copyright notices, and the license notice saying this License applies
+to the Document are reproduced in all copies, and that you add no other
+conditions whatsoever to those of this License.  You may not use
+technical measures to obstruct or control the reading or further
+copying of the copies you make or distribute.  However, you may accept
+compensation in exchange for copies.  If you distribute a large enough
+number of copies you must also follow the conditions in section 3.
+
+You may also lend copies, under the same conditions stated above, and
+you may publicly display copies.
+
+
+3. COPYING IN QUANTITY
+
+If you publish printed copies (or copies in media that commonly have
+printed covers) of the Document, numbering more than 100, and the
+Document's license notice requires Cover Texts, you must enclose the
+copies in covers that carry, clearly and legibly, all these Cover
+Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
+the back cover.  Both covers must also clearly and legibly identify
+you as the publisher of these copies.  The front cover must present
+the full title with all words of the title equally prominent and
+visible.  You may add other material on the covers in addition.
+Copying with changes limited to the covers, as long as they preserve
+the title of the Document and satisfy these conditions, can be treated
+as verbatim copying in other respects.
+
+If the required texts for either cover are too voluminous to fit
+legibly, you should put the first ones listed (as many as fit
+reasonably) on the actual cover, and continue the rest onto adjacent
+pages.
+
+If you publish or distribute Opaque copies of the Document numbering
+more than 100, you must either include a machine-readable Transparent
+copy along with each Opaque copy, or state in or with each Opaque copy
+a computer-network location from which the general network-using
+public has access to download using public-standard network protocols
+a complete Transparent copy of the Document, free of added material.
+If you use the latter option, you must take reasonably prudent steps,
+when you begin distribution of Opaque copies in quantity, to ensure
+that this Transparent copy will remain thus accessible at the stated
+location until at least one year after the last time you distribute an
+Opaque copy (directly or through your agents or retailers) of that
+edition to the public.
+
+It is requested, but not required, that you contact the authors of the
+Document well before redistributing any large number of copies, to give
+them a chance to provide you with an updated version of the Document.
+
+
+4. MODIFICATIONS
+
+You may copy and distribute a Modified Version of the Document under
+the conditions of sections 2 and 3 above, provided that you release
+the Modified Version under precisely this License, with the Modified
+Version filling the role of the Document, thus licensing distribution
+and modification of the Modified Version to whoever possesses a copy
+of it.  In addition, you must do these things in the Modified Version:
+
+A. Use in the Title Page (and on the covers, if any) a title distinct
+   from that of the Document, and from those of previous versions
+   (which should, if there were any, be listed in the History section
+   of the Document).  You may use the same title as a previous version
+   if the original publisher of that version gives permission.
+B. List on the Title Page, as authors, one or more persons or entities
+   responsible for authorship of the modifications in the Modified
+   Version, together with at least five of the principal authors of the
+   Document (all of its principal authors, if it has fewer than five),
+   unless they release you from this requirement.
+C. State on the Title page the name of the publisher of the
+   Modified Version, as the publisher.
+D. Preserve all the copyright notices of the Document.
+E. Add an appropriate copyright notice for your modifications
+   adjacent to the other copyright notices.
+F. Include, immediately after the copyright notices, a license notice
+   giving the public permission to use the Modified Version under the
+   terms of this License, in the form shown in the Addendum below.
+G. Preserve in that license notice the full lists of Invariant Sections
+   and required Cover Texts given in the Document's license notice.
+H. Include an unaltered copy of this License.
+I. Preserve the section Entitled "History", Preserve its Title, and add
+   to it an item stating at least the title, year, new authors, and
+   publisher of the Modified Version as given on the Title Page.  If
+   there is no section Entitled "History" in the Document, create one
+   stating the title, year, authors, and publisher of the Document as
+   given on its Title Page, then add an item describing the Modified
+   Version as stated in the previous sentence.
+J. Preserve the network location, if any, given in the Document for
+   public access to a Transparent copy of the Document, and likewise
+   the network locations given in the Document for previous versions
+   it was based on.  These may be placed in the "History" section.
+   You may omit a network location for a work that was published at
+   least four years before the Document itself, or if the original
+   publisher of the version it refers to gives permission.
+K. For any section Entitled "Acknowledgements" or "Dedications",
+   Preserve the Title of the section, and preserve in the section all
+   the substance and tone of each of the contributor acknowledgements
+   and/or dedications given therein.
+L. Preserve all the Invariant Sections of the Document,
+   unaltered in their text and in their titles.  Section numbers
+   or the equivalent are not considered part of the section titles.
+M. Delete any section Entitled "Endorsements".  Such a section
+   may not be included in the Modified Version.
+N. Do not retitle any existing section to be Entitled "Endorsements"
+   or to conflict in title with any Invariant Section.
+O. Preserve any Warranty Disclaimers.
+
+If the Modified Version includes new front-matter sections or
+appendices that qualify as Secondary Sections and contain no material
+copied from the Document, you may at your option designate some or all
+of these sections as invariant.  To do this, add their titles to the
+list of Invariant Sections in the Modified Version's license notice.
+These titles must be distinct from any other section titles.
+
+You may add a section Entitled "Endorsements", provided it contains
+nothing but endorsements of your Modified Version by various
+parties--for example, statements of peer review or that the text has
+been approved by an organization as the authoritative definition of a
+standard.
+
+You may add a passage of up to five words as a Front-Cover Text, and a
+passage of up to 25 words as a Back-Cover Text, to the end of the list
+of Cover Texts in the Modified Version.  Only one passage of
+Front-Cover Text and one of Back-Cover Text may be added by (or
+through arrangements made by) any one entity.  If the Document already
+includes a cover text for the same cover, previously added by you or
+by arrangement made by the same entity you are acting on behalf of,
+you may not add another; but you may replace the old one, on explicit
+permission from the previous publisher that added the old one.
+
+The author(s) and publisher(s) of the Document do not by this License
+give permission to use their names for publicity for or to assert or
+imply endorsement of any Modified Version.
+
+
+5. COMBINING DOCUMENTS
+
+You may combine the Document with other documents released under this
+License, under the terms defined in section 4 above for modified
+versions, provided that you include in the combination all of the
+Invariant Sections of all of the original documents, unmodified, and
+list them all as Invariant Sections of your combined work in its
+license notice, and that you preserve all their Warranty Disclaimers.
+
+The combined work need only contain one copy of this License, and
+multiple identical Invariant Sections may be replaced with a single
+copy.  If there are multiple Invariant Sections with the same name but
+different contents, make the title of each such section unique by
+adding at the end of it, in parentheses, the name of the original
+author or publisher of that section if known, or else a unique number.
+Make the same adjustment to the section titles in the list of
+Invariant Sections in the license notice of the combined work.
+
+In the combination, you must combine any sections Entitled "History"
+in the various original documents, forming one section Entitled
+"History"; likewise combine any sections Entitled "Acknowledgements",
+and any sections Entitled "Dedications".  You must delete all sections
+Entitled "Endorsements".
+
+
+6. COLLECTIONS OF DOCUMENTS
+
+You may make a collection consisting of the Document and other documents
+released under this License, and replace the individual copies of this
+License in the various documents with a single copy that is included in
+the collection, provided that you follow the rules of this License for
+verbatim copying of each of the documents in all other respects.
+
+You may extract a single document from such a collection, and distribute
+it individually under this License, provided you insert a copy of this
+License into the extracted document, and follow this License in all
+other respects regarding verbatim copying of that document.
+
+
+7. AGGREGATION WITH INDEPENDENT WORKS
+
+A compilation of the Document or its derivatives with other separate
+and independent documents or works, in or on a volume of a storage or
+distribution medium, is called an "aggregate" if the copyright
+resulting from the compilation is not used to limit the legal rights
+of the compilation's users beyond what the individual works permit.
+When the Document is included in an aggregate, this License does not
+apply to the other works in the aggregate which are not themselves
+derivative works of the Document.
+
+If the Cover Text requirement of section 3 is applicable to these
+copies of the Document, then if the Document is less than one half of
+the entire aggregate, the Document's Cover Texts may be placed on
+covers that bracket the Document within the aggregate, or the
+electronic equivalent of covers if the Document is in electronic form.
+Otherwise they must appear on printed covers that bracket the whole
+aggregate.
+
+
+8. TRANSLATION
+
+Translation is considered a kind of modification, so you may
+distribute translations of the Document under the terms of section 4.
+Replacing Invariant Sections with translations requires special
+permission from their copyright holders, but you may include
+translations of some or all Invariant Sections in addition to the
+original versions of these Invariant Sections.  You may include a
+translation of this License, and all the license notices in the
+Document, and any Warranty Disclaimers, provided that you also include
+the original English version of this License and the original versions
+of those notices and disclaimers.  In case of a disagreement between
+the translation and the original version of this License or a notice
+or disclaimer, the original version will prevail.
+
+If a section in the Document is Entitled "Acknowledgements",
+"Dedications", or "History", the requirement (section 4) to Preserve
+its Title (section 1) will typically require changing the actual
+title.
+
+
+9. TERMINATION
+
+You may not copy, modify, sublicense, or distribute the Document except
+as expressly provided for under this License.  Any other attempt to
+copy, modify, sublicense or distribute the Document is void, and will
+automatically terminate your rights under this License.  However,
+parties who have received copies, or rights, from you under this
+License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+
+10. FUTURE REVISIONS OF THIS LICENSE
+
+The Free Software Foundation may publish new, revised versions
+of the GNU Free Documentation License from time to time.  Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.  See
+http://www.gnu.org/copyleft/.
+
+Each version of the License is given a distinguishing version number.
+If the Document specifies that a particular numbered version of this
+License "or any later version" applies to it, you have the option of
+following the terms and conditions either of that specified version or
+of any later version that has been published (not as a draft) by the
+Free Software Foundation.  If the Document does not specify a version
+number of this License, you may choose any version ever published (not
+as a draft) by the Free Software Foundation.
+
+
+ADDENDUM: How to use this License for your documents
+
+To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and
+license notices just after the title page:
+
+    Copyright (c)  YEAR  YOUR NAME.
+    Permission is granted to copy, distribute and/or modify this document
+    under the terms of the GNU Free Documentation License, Version 1.2
+    or any later version published by the Free Software Foundation;
+    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+    A copy of the license is included in the section entitled "GNU
+    Free Documentation License".
+
+If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
+replace the "with...Texts." line with this:
+
+    with the Invariant Sections being LIST THEIR TITLES, with the
+    Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
+
+If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
+
+If your document contains nontrivial examples of program code, we
+recommend releasing these examples in parallel under your choice of
+free software license, such as the GNU General Public License,
+to permit their use in free software.
diff --git a/gcc/m2/COPYING.RUNTIME b/gcc/m2/COPYING.RUNTIME
new file mode 100644
index 00000000000..649af5e573a
--- /dev/null
+++ b/gcc/m2/COPYING.RUNTIME
@@ -0,0 +1,73 @@
+GCC RUNTIME LIBRARY EXCEPTION
+
+Version 3.1, 31 March 2009
+
+Copyright (C) 2009-2022 Free Software Foundation, Inc. <http://fsf.org/>
+
+Everyone is permitted to copy and distribute verbatim copies of this
+license document, but changing it is not allowed.
+
+This GCC Runtime Library Exception ("Exception") is an additional
+permission under section 7 of the GNU General Public License, version
+3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
+bears a notice placed by the copyright holder of the file stating that
+the file is governed by GPLv3 along with this Exception.
+
+When you use GCC to compile a program, GCC may combine portions of
+certain GCC header files and runtime libraries with the compiled
+program. The purpose of this Exception is to allow compilation of
+non-GPL (including proprietary) programs to use, in this way, the
+header files and runtime libraries covered by this Exception.
+
+0. Definitions.
+
+A file is an "Independent Module" if it either requires the Runtime
+Library for execution after a Compilation Process, or makes use of an
+interface provided by the Runtime Library, but is not otherwise based
+on the Runtime Library.
+
+"GCC" means a version of the GNU Compiler Collection, with or without
+modifications, governed by version 3 (or a specified later version) of
+the GNU General Public License (GPL) with the option of using any
+subsequent versions published by the FSF.
+
+"GPL-compatible Software" is software whose conditions of propagation,
+modification and use would permit combination with GCC in accord with
+the license of GCC.
+
+"Target Code" refers to output from any compiler for a real or virtual
+target processor architecture, in executable form or suitable for
+input to an assembler, loader, linker and/or execution
+phase. Notwithstanding that, Target Code does not include data in any
+format that is used as a compiler intermediate representation, or used
+for producing a compiler intermediate representation.
+
+The "Compilation Process" transforms code entirely represented in
+non-intermediate languages designed for human-written code, and/or in
+Java Virtual Machine byte code, into Target Code. Thus, for example,
+use of source code generators and preprocessors need not be considered
+part of the Compilation Process, since the Compilation Process can be
+understood as starting with the output of the generators or
+preprocessors.
+
+A Compilation Process is "Eligible" if it is done using GCC, alone or
+with other GPL-compatible software, or if it is done without using any
+work based on GCC. For example, using non-GPL-compatible Software to
+optimize any GCC intermediate representations would not qualify as an
+Eligible Compilation Process.
+
+1. Grant of Additional Permission.
+
+You have permission to propagate a work of Target Code formed by
+combining the Runtime Library with Independent Modules, even if such
+propagation would otherwise violate the terms of GPLv3, provided that
+all Target Code was generated by Eligible Compilation Processes. You
+may then convey such a combination under terms of your choice,
+consistent with the licensing of the Independent Modules.
+
+2. No Weakening of GCC Copyleft.
+
+The availability of this Exception does not imply any general
+presumption that third-party software is unaffected by the copyleft
+requirements of the license of GCC.
+
diff --git a/gcc/m2/COPYING3 b/gcc/m2/COPYING3
new file mode 100644
index 00000000000..10926e87f11
--- /dev/null
+++ b/gcc/m2/COPYING3
@@ -0,0 +1,675 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                       TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+  An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License.  If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+  1. Source Code.
+
+  The "source code" for a work means the preferred form of the work
+for making modifications to it.  "Object code" means any non-source
+form of a work.
+
+  A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+  The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form.  A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+  The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities.  However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work.  For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+  The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+  The Corresponding Source for a work in source code form is that
+same work.
+
+  2. Basic Permissions.
+
+  All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met.  This License explicitly affirms your unlimited
+permission to run the unmodified Program.  The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work.  This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+  You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force.  You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright.  Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+  Conveying under any other circumstances is permitted solely under
+the conditions stated below.  Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+  No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+  When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+  4. Conveying Verbatim Copies.
+
+  You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+  You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+  5. Conveying Modified Source Versions.
+
+  You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified
+    it, and giving a relevant date.
+
+    b) The work must carry prominent notices stating that it is
+    released under this License and any conditions added under section
+    7.  This requirement modifies the requirement in section 4 to
+    "keep intact all notices".
+
+    c) You must license the entire work, as a whole, under this
+    License to anyone who comes into possession of a copy.  This
+    License will therefore apply, along with any applicable section 7
+    additional terms, to the whole of the work, and all its parts,
+    regardless of how they are packaged.  This License gives no
+    permission to license the work in any other way, but it does not
+    invalidate such permission if you have separately received it.
+
+    d) If the work has interactive user interfaces, each must display
+    Appropriate Legal Notices; however, if the Program has interactive
+    interfaces that do not display Appropriate Legal Notices, your
+    work need not make them do so.
+
+  A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit.  Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+  6. Conveying Non-Source Forms.
+
+  You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by the
+    Corresponding Source fixed on a durable physical medium
+    customarily used for software interchange.
+
+    b) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by a
+    written offer, valid for at least three years and valid for as
+    long as you offer spare parts or customer support for that product
+    model, to give anyone who possesses the object code either (1) a
+    copy of the Corresponding Source for all the software in the
+    product that is covered by this License, on a durable physical
+    medium customarily used for software interchange, for a price no
+    more than your reasonable cost of physically performing this
+    conveying of source, or (2) access to copy the
+    Corresponding Source from a network server at no charge.
+
+    c) Convey individual copies of the object code with a copy of the
+    written offer to provide the Corresponding Source.  This
+    alternative is allowed only occasionally and noncommercially, and
+    only if you received the object code with such an offer, in accord
+    with subsection 6b.
+
+    d) Convey the object code by offering access from a designated
+    place (gratis or for a charge), and offer equivalent access to the
+    Corresponding Source in the same way through the same place at no
+    further charge.  You need not require recipients to copy the
+    Corresponding Source along with the object code.  If the place to
+    copy the object code is a network server, the Corresponding Source
+    may be on a different server (operated by you or a third party)
+    that supports equivalent copying facilities, provided you maintain
+    clear directions next to the object code saying where to find the
+    Corresponding Source.  Regardless of what server hosts the
+    Corresponding Source, you remain obligated to ensure that it is
+    available for as long as needed to satisfy these requirements.
+
+    e) Convey the object code using peer-to-peer transmission, provided
+    you inform other peers where the object code and Corresponding
+    Source of the work are being offered to the general public at no
+    charge under subsection 6d.
+
+  A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+  A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling.  In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage.  For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product.  A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+  "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source.  The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+  If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information.  But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+  The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed.  Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+  Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+  7. Additional Terms.
+
+  "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law.  If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+  When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it.  (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.)  You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+  Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the
+    terms of sections 15 and 16 of this License; or
+
+    b) Requiring preservation of specified reasonable legal notices or
+    author attributions in that material or in the Appropriate Legal
+    Notices displayed by works containing it; or
+
+    c) Prohibiting misrepresentation of the origin of that material, or
+    requiring that modified versions of such material be marked in
+    reasonable ways as different from the original version; or
+
+    d) Limiting the use for publicity purposes of names of licensors or
+    authors of the material; or
+
+    e) Declining to grant rights under trademark law for use of some
+    trade names, trademarks, or service marks; or
+
+    f) Requiring indemnification of licensors and authors of that
+    material by anyone who conveys the material (or modified versions of
+    it) with contractual assumptions of liability to the recipient, for
+    any liability that these contractual assumptions directly impose on
+    those licensors and authors.
+
+  All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10.  If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term.  If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+  If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+  Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+  8. Termination.
+
+  You may not propagate or modify a covered work except as expressly
+provided under this License.  Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+  However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+  Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+  Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+  9. Acceptance Not Required for Having Copies.
+
+  You are not required to accept this License in order to receive or
+run a copy of the Program.  Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance.  However,
+nothing other than this License grants you permission to propagate or
+modify any covered work.  These actions infringe copyright if you do
+not accept this License.  Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+  10. Automatic Licensing of Downstream Recipients.
+
+  Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License.  You are not responsible
+for enforcing compliance by third parties with this License.
+
+  An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations.  If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+  You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License.  For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+  11. Patents.
+
+  A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based.  The
+work thus licensed is called the contributor's "contributor version".
+
+  A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version.  For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+  In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement).  To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+  If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients.  "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+  If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+  A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License.  You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+  Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+  12. No Surrender of Others' Freedom.
+
+  If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all.  For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+  13. Use with the GNU Affero General Public License.
+
+  Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work.  The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+  14. Revised Versions of this License.
+
+  The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+  Each version is given a distinguishing version number.  If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation.  If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+  If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+  Later license versions may give you additional or different
+permissions.  However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+  15. Disclaimer of Warranty.
+
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. Limitation of Liability.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+  17. Interpretation of Sections 15 and 16.
+
+  If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program 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 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+  If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+  You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+  The GNU General Public License does not permit incorporating your program
+into proprietary programs.  If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.  But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
+
diff --git a/gcc/m2/COPYING3.LIB b/gcc/m2/COPYING3.LIB
new file mode 100644
index 00000000000..fc8a5de7edf
--- /dev/null
+++ b/gcc/m2/COPYING3.LIB
@@ -0,0 +1,165 @@
+		   GNU LESSER GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+  This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+  0. Additional Definitions. 
+
+  As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+  "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+  An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+  A "Combined Work" is a work produced by combining or linking an
+Application with the Library.  The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+  The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+  The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+  1. Exception to Section 3 of the GNU GPL.
+
+  You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+  2. Conveying Modified Versions.
+
+  If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+   a) under this License, provided that you make a good faith effort to
+   ensure that, in the event an Application does not supply the
+   function or data, the facility still operates, and performs
+   whatever part of its purpose remains meaningful, or
+
+   b) under the GNU GPL, with none of the additional permissions of
+   this License applicable to that copy.
+
+  3. Object Code Incorporating Material from Library Header Files.
+
+  The object code form of an Application may incorporate material from
+a header file that is part of the Library.  You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+   a) Give prominent notice with each copy of the object code that the
+   Library is used in it and that the Library and its use are
+   covered by this License.
+
+   b) Accompany the object code with a copy of the GNU GPL and this license
+   document.
+
+  4. Combined Works.
+
+  You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+   a) Give prominent notice with each copy of the Combined Work that
+   the Library is used in it and that the Library and its use are
+   covered by this License.
+
+   b) Accompany the Combined Work with a copy of the GNU GPL and this license
+   document.
+
+   c) For a Combined Work that displays copyright notices during
+   execution, include the copyright notice for the Library among
+   these notices, as well as a reference directing the user to the
+   copies of the GNU GPL and this license document.
+
+   d) Do one of the following:
+
+       0) Convey the Minimal Corresponding Source under the terms of this
+       License, and the Corresponding Application Code in a form
+       suitable for, and under terms that permit, the user to
+       recombine or relink the Application with a modified version of
+       the Linked Version to produce a modified Combined Work, in the
+       manner specified by section 6 of the GNU GPL for conveying
+       Corresponding Source.
+
+       1) Use a suitable shared library mechanism for linking with the
+       Library.  A suitable mechanism is one that (a) uses at run time
+       a copy of the Library already present on the user's computer
+       system, and (b) will operate properly with a modified version
+       of the Library that is interface-compatible with the Linked
+       Version. 
+
+   e) Provide Installation Information, but only if you would otherwise
+   be required to provide such information under section 6 of the
+   GNU GPL, and only to the extent that such information is
+   necessary to install and execute a modified version of the
+   Combined Work produced by recombining or relinking the
+   Application with a modified version of the Linked Version. (If
+   you use option 4d0, the Installation Information must accompany
+   the Minimal Corresponding Source and Corresponding Application
+   Code. If you use option 4d1, you must provide the Installation
+   Information in the manner specified by section 6 of the GNU GPL
+   for conveying Corresponding Source.)
+
+  5. Combined Libraries.
+
+  You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+   a) Accompany the combined library with a copy of the same work based
+   on the Library, uncombined with any other library facilities,
+   conveyed under the terms of this License.
+
+   b) Give prominent notice with the combined library that part of it
+   is a work based on the Library, and explaining where to find the
+   accompanying uncombined form of the same work.
+
+  6. Revised Versions of the GNU Lesser General Public License.
+
+  The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+  Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+  If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
deleted file mode 100644
index d1f979eaeab..00000000000
--- a/gcc/m2/ChangeLog
+++ /dev/null
@@ -1,5 +0,0 @@
-Copyright (C) 2022 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
diff --git a/gcc/m2/Make-lang.in b/gcc/m2/Make-lang.in
new file mode 100644
index 00000000000..a8bd7fe4d19
--- /dev/null
+++ b/gcc/m2/Make-lang.in
@@ -0,0 +1,1653 @@
+# Top level -*- makefile -*- fragment for GNU M2.
+
+# Copyright (C) 2000-2022 Free Software Foundation, Inc.
+
+#This file is part of GCC.
+
+#GCC 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 your option)
+#any later version.
+
+#GCC is distributed in the hope that it will be useful,
+#but WITHOUT ANY WARRANTY; without even the implied warranty of
+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  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/>.
+
+# Actual names to use when installing a native compiler.
+GM2_INSTALL_NAME = $(shell echo gm2|sed '$(program_transform_name)')
+GM2_TARGET_INSTALL_NAME = $(target_noncanonical)-$(shell echo gm2|sed '$(program_transform_name)')
+
+# Actual names to use when installing a cross-compiler.
+GM2_CROSS_NAME = `echo gm2|sed '$(program_transform_cross_name)'`
+
+M2_MAINTAINER = no
+
+GM2_1 = ./gm2 -B./stage1/m2 -g -fm2-g
+
+GM2_FOR_TARGET = $(STAGE_CC_WRAPPER) ./gm2 -B./ -B$(build_tooldir)/bin/ -L$(objdir)/../ld $(TFLAGS)
+
+TEXISRC = $(objdir)/m2/images/gnu.eps \
+          $(srcdir)/doc/gm2.texi \
+          m2/gm2-libs.texi \
+          m2/gm2-ebnf.texi \
+          m2/SYSTEM-pim.texi \
+          m2/SYSTEM-iso.texi \
+          m2/Builtins.texi
+
+RSTSRC = $(objdir)/m2/images/gnu.eps \
+          $(srcdir)/doc/gm2.texi \
+          m2/gm2-libs.rst \
+          m2/gm2-ebnf.rst \
+          m2/SYSTEM-pim.rst \
+          m2/SYSTEM-iso.rst \
+          m2/Builtins.rst
+
+# Define the names for selecting modula-2 in LANGUAGES.
+m2 modula-2 modula2: gm2$(exeext) xgcc$(exeext) cc1gm2$(exeext) \
+                 $(GCC_PASSES) $(GCC_PARTS)
+m2.serial = cc1gm2$(exeext)
+
+m2.srcinfo: doc/m2.info
+	-cp -p $^ $(srcdir)/doc
+
+ifeq ($(HAVE_PYTHON),yes)
+m2.srcextra: m2/SYSTEM-pim.texi m2/SYSTEM-iso.texi m2/gm2-libs.texi m2/gm2-ebnf.texi
+	-cp -p m2/SYSTEM-pim.texi $(srcdir)/m2
+	-cp -p m2/SYSTEM-iso.texi $(srcdir)/m2
+	-cp -p m2/gm2-libs.texi $(srcdir)/m2
+	-cp -p m2/gm2-ebnf.texi $(srcdir)/m2
+	find . -name '*.texi' -print
+else
+m2.srcextra:
+endif
+
+m2.srcman: doc/gm2.1
+	-cp -p $^ $(srcdir)/doc
+
+# Tell GNU make to ignore these if they exist.
+.PHONY: m2 modula-2 modula2
+
+GM2_PROG_DEP=gm2$(exeext) xgcc$(exeext) cc1gm2$(exeext)
+
+include m2/config-make
+
+LIBSTDCXX=../$(TARGET_SUBDIR)/libstdc++-v3/src/.libs/libstdc++.a
+
+PGE=m2/pge$(exeext)
+
+SRC_PREFIX=G
+
+m2/gm2spec.o: $(srcdir)/m2/gm2spec.cc $(SYSTEM_H) $(GCC_H) $(CONFIG_H) \
+               m2/gm2config.h $(TARGET_H) $(PLUGIN_HEADERS) \
+               $(generated_files) $(C_TREE_H) insn-attr-common.h
+	(SHLIB_LINK='$(SHLIB_LINK)' \
+	SHLIB_MULTILIB='$(SHLIB_MULTILIB)'; \
+	$(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+         $(DRIVER_DEFINES) \
+		-DLIBSUBDIR=\"$(libsubdir)\" \
+                -DPREFIX=\"$(prefix)\" \
+                -c $(srcdir)/m2/gm2spec.cc $(OUTPUT_OPTION))
+
+# Create the compiler driver for M2.
+CFLAGS-m2/m2/gm2spec.o += $(DRIVER_DEFINES)
+
+GM2_OBJS = $(GCC_OBJS) prefix.o intl.o m2/gm2spec.o
+
+# Create the compiler driver for gm2.
+gm2$(exeext): $(GM2_OBJS) $(EXTRA_GCC_OBJS) libcommon-target.a $(LIBDEPS) \
+    m2/gm2config.h
+	+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
+	  $(GM2_OBJS) $(EXTRA_GCC_OBJS) libcommon-target.a \
+	  $(EXTRA_GCC_LIBS) $(LIBS)
+
+# Create a version of the gm2 driver which calls the cross-compiler.
+gm2-cross$(exeext): gm2$(exeext)
+	-rm -f gm2-cross$(exeext)
+	cp gm2$(exeext) gm2-cross$(exeext)
+
+po-generated:
+
+# Build hooks:
+
+m2.all.cross: gm2-cross$(exeext) plugin/m2rte$(exeext).so
+
+m2.start.encap: gm2$(exeext) plugin/m2rte$(exeext).so
+m2.rest.encap:
+
+
+m2.info: doc/m2.info
+
+m2.man: doc/m2.1
+
+m2.install-man: $(DESTDIR)$(man1dir)/$(GM2_INSTALL_NAME)$(man1ext)
+
+$(DESTDIR)$(man1dir)/$(GM2_INSTALL_NAME)$(man1ext): doc/m2.1 installdirs
+	-rm -f $@
+	-$(INSTALL_DATA) $< $@
+	-chmod a-x $@
+
+m2.dvi: $(TEXISRC)
+	$(TEXI2DVI) -I $(objdir)/m2 -I $(srcdir)/doc/include $(srcdir)/doc/gm2.texi -o $@
+
+m2.ps: m2.dvi
+	dvips -o $@ $<
+
+m2.pdf: m2.ps
+	gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=$@ $<
+
+.INTERMEDIATE: m2.pod
+
+m2.pod: doc/gm2.texi $(TEXISRC)
+	-$(TEXI2POD) -I $(objdir)/m2 -D m2 < $< > $@
+
+doc/m2.info: $(TEXISRC)
+	if test "x$(BUILD_INFO)" = xinfo; then \
+	  rm -f doc/m2.info*; \
+          $(MAKEINFO) -I$(objdir)/m2 -I$(srcdir)/doc/include \
+                      -o $@ $(srcdir)/doc/gm2.texi ; \
+	else true; fi
+
+$(objdir)/m2/images/gnu.eps: $(srcdir)/m2/images/gnupng
+	test -d m2/images || mkdir -p m2/images
+	cp $(srcdir)/m2/images/gnu.eps $@
+
+# gm2-libs.texi
+
+m2/gm2-libs.texi: gm2-libs.texi-check; @true
+
+ifeq ($(HAVE_PYTHON),yes)
+gm2-libs.texi-check: m2/SYSTEM-pim.texi m2/SYSTEM-iso.texi m2/Builtins.texi \
+                     $(objdir)/m2/gm2-libs-coroutines/SYSTEM.def
+	$(PYTHON) $(srcdir)/m2/tools-src/def2doc.py -t -uLibraries -s$(srcdir)/m2 -b$(objdir)/m2 -o $(objdir)/m2/gm2-libs.texi
+else
+gm2-libs.texi-check:
+	cp $(srcdir)/m2/target-independent/gm2-libs.texi $(objdir)/m2/gm2-libs.texi
+endif
+	$(STAMP) gm2-libs.texi-check
+
+# gm2-libs.rst
+
+m2/gm2-libs.rst: gm2-libs.rst-check; @true
+
+ifeq ($(HAVE_PYTHON),yes)
+gm2-libs.rst-check: m2/SYSTEM-pim.texi m2/SYSTEM-iso.texi m2/Builtins.texi \
+                     $(objdir)/m2/gm2-libs-coroutines/SYSTEM.def
+	$(PYTHON) $(srcdir)/m2/tools-src/def2doc.py -x -uLibraries -s$(srcdir)/m2 -b$(objdir)/m2 -o $(objdir)/m2/gm2-libs.rst
+else
+gm2-libs.rst-check:
+	cp $(srcdir)/m2/target-independent/gm2-libs.rst $(objdir)/m2/gm2-libs.rst
+endif
+	$(STAMP) gm2-libs.rst-check
+
+# gm2-ebnf.texi
+
+m2/gm2-ebnf.texi: gm2-ebnf.texi-check; @true
+
+gm2-ebnf.texi-check: $(PGE) $(srcdir)/m2/gm2-compiler/P0SyntaxCheck.bnf
+	$(PGE) -c -p -t -f $(srcdir)/m2/gm2-compiler/P0SyntaxCheck.bnf -o m2/gm2-ebnf.texi
+	$(STAMP) gm2-ebnf.texi-check
+
+# gm2-ebnf.rst
+
+m2/gm2-ebnf.rst: gm2-ebnf.rst-check; @true
+
+gm2-ebnf.rst-check: $(PGE) $(srcdir)/m2/gm2-compiler/P0SyntaxCheck.bnf
+	$(PGE) -c -p -t -f $(srcdir)/m2/gm2-compiler/P0SyntaxCheck.bnf -o m2/gm2-ebnf.rst
+	$(STAMP) gm2-ebnf.rst-check
+
+# SYSTEM-pim.texi
+
+m2/SYSTEM-pim.texi: SYSTEM-pim-texi-check; @true
+
+ifeq ($(HAVE_PYTHON),yes)
+SYSTEM-pim-texi-check: $(objdir)/m2/gm2-libs/SYSTEM.def
+	$(PYTHON) $(srcdir)/m2/tools-src/def2doc.py -t -b$(objdir)/m2 -f$(objdir)/m2/gm2-libs/SYSTEM.def -o $(objdir)/m2/SYSTEM-pim.texi
+else
+SYSTEM-pim-texi-check: $(objdir)/m2/gm2-libs/SYSTEM.def
+	cp $(srcdir)/m2/target-independent/SYSTEM-pim.texi $(objdir)/m2/SYSTEM-pim.texi
+endif
+	$(STAMP) SYSTEM-pim-texi-check
+
+# SYSTEM-pim.rst
+
+m2/SYSTEM-pim.rst: SYSTEM-pim-rst-check; @true
+
+ifeq ($(HAVE_PYTHON),yes)
+SYSTEM-pim-rst-check: $(objdir)/m2/gm2-libs/SYSTEM.def
+	$(PYTHON) $(srcdir)/m2/tools-src/def2doc.py -x -b$(objdir)/m2 -f$(objdir)/m2/gm2-libs/SYSTEM.def -o $(objdir)/m2/SYSTEM-pim.rst
+else
+SYSTEM-pim-rst-check: $(objdir)/m2/gm2-libs/SYSTEM.def
+	cp $(srcdir)/m2/target-independent/SYSTEM-pim.rst $(objdir)/m2/SYSTEM-pim.rst
+endif
+	$(STAMP) SYSTEM-pim-rst-check
+
+# SYSTEM-pim.texi
+
+m2/SYSTEM-iso.texi:  SYSTEM-iso.texi-check; @true
+
+ifeq ($(HAVE_PYTHON),yes)
+SYSTEM-iso.texi-check:  $(objdir)/m2/gm2-libs-iso/SYSTEM.def
+	$(PYTHON) $(srcdir)/m2/tools-src/def2doc.py -t -b$(objdir)/m2 -f$(objdir)/m2/gm2-libs-iso/SYSTEM.def -o $(objdir)/m2/SYSTEM-iso.texi
+else
+SYSTEM-iso.texi-check:  $(objdir)/m2/gm2-libs-iso/SYSTEM.def
+	cp $(srcdir)/m2/target-independent/SYSTEM-iso.texi $(objdir)/m2/SYSTEM-iso.texi
+endif
+	$(STAMP) SYSTEM-iso.texi-check
+
+# SYSTEM-pim.rst
+
+m2/SYSTEM-iso.rst:  SYSTEM-iso.rst-check; @true
+
+ifeq ($(HAVE_PYTHON),yes)
+SYSTEM-iso.rst-check:  $(objdir)/m2/gm2-libs-iso/SYSTEM.def
+	$(PYTHON) $(srcdir)/m2/tools-src/def2doc.py -x -b$(objdir)/m2 -f$(objdir)/m2/gm2-libs-iso/SYSTEM.def -o $(objdir)/m2/SYSTEM-iso.rst
+else
+SYSTEM-iso.rst-check:  $(objdir)/m2/gm2-libs-iso/SYSTEM.def
+	cp $(srcdir)/m2/target-independent/SYSTEM-iso.rst $(objdir)/m2/SYSTEM-iso.rst
+endif
+	$(STAMP) SYSTEM-iso.rst-check
+
+
+# m2/Builtins.texi
+
+m2/Builtins.texi:  Builtins.texi-check; @true
+
+ifeq ($(HAVE_PYTHON),yes)
+Builtins.texi-check:  m2/gm2-libs/Builtins.def
+	$(PYTHON) $(srcdir)/m2/tools-src/def2doc.py -t -b./ -f$(srcdir)/m2/gm2-libs/Builtins.def -o $(objdir)/m2/Builtins.texi
+else
+Builtins.texi-check:  m2/gm2-libs/Builtins.def
+	cp $(srcdir)/m2/target-independent/Builtins.texi $(objdir)/m2/Builtins.texi
+endif
+	$(STAMP) Builtins.texi-check
+
+# m2/Builtins.rst
+
+m2/Builtins.rst:  Builtins.rst-check; @true
+
+ifeq ($(HAVE_PYTHON),yes)
+Builtins.rst-check:  m2/gm2-libs/Builtins.def
+	$(PYTHON) $(srcdir)/m2/tools-src/def2doc.py -x -b./ -f$(srcdir)/m2/gm2-libs/Builtins.def -o $(objdir)/m2/Builtins.rst
+else
+Builtins.rst-check:  m2/gm2-libs/Builtins.def
+	cp $(srcdir)/m2/target-independent/Builtins.rst $(objdir)/m2/Builtins.rst
+endif
+	$(STAMP) Builtins.rst-check
+
+$(objdir)/m2/gm2-compiler-boot:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-libs-boot:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-libiberty:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-gcc:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-compiler:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-libs:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-libs-iso:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-libs-min:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-compiler-paranoid:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-libs-paranoid:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-compiler-verify:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/boot-bin:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-libs-pim:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-libs-coroutines:
+	test -d $@ || mkdir $@
+
+stage1/m2:
+	-test -d $@ || mkdir -p stage1/m2
+
+stage2/m2:
+	-test -d $@ || mkdir -p stage2/m2
+
+stage3/m2:
+	-test -d $@ || mkdir -p stage3/m2
+
+stage4/m2:
+	-test -d $@ || mkdir -p stage4/m2
+
+# No gm2-specific selftests
+selftest-m2:
+
+# Install hooks:
+# cc1gm2 is installed elsewhere as part of $(COMPILERS).
+# $(COMPILERS) is defined in `config-lang.in'
+
+m2.install-common: installdirs
+	-rm -f $(DESTDIR)$(bindir)/$(GM2_INSTALL_NAME)$(exeext)
+	$(INSTALL_PROGRAM) gm2$(exeext) $(DESTDIR)$(bindir)/$(GM2_INSTALL_NAME)$(exeext)
+	-if test -f cc1gm2$(exeext); then \
+	  if test -f gm2-cross$(exeext); then \
+	    :; \
+	  else \
+	    rm -f $(DESTDIR)$(bindir)/$(GM2_TARGET_INSTALL_NAME)$(exeext); \
+	    ( cd $(DESTDIR)$(bindir) && \
+	      $(LN) $(GM2_INSTALL_NAME)$(exeext) $(GM2_TARGET_INSTALL_NAME)$(exeext) ); \
+	  fi; \
+	fi
+	-for tool in cc1gm2$(exeext); do \
+             if [ -f $$tool ]; then \
+               rm -f $(DESTDIR)$(libexecsubdir)/$$tool; \
+               $(INSTALL_PROGRAM) $$tool $(DESTDIR)$(libexecsubdir)/$$tool; \
+               chmod a+x $(DESTDIR)$(libexecsubdir)/$$tool; \
+             else \
+               echo "cannot find $$tool" ; \
+             fi ; \
+         done
+
+m2.install-info: installdirs
+	if [ -d gm2$(exeext) ] ; then \
+	  if [ -f $(objdir)/doc/gm2.info ]; then \
+	    rm -f $(DESTDIR)$(infodir)/gm2.info*; \
+	    for f in $(objdir)/doc/gm2.info*; do \
+	      realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
+              rm -f $(DESTDIR)$(infodir)/`basename $$realfile`; \
+	      $(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/`basename $$realfile`; \
+	    done; \
+	    chmod a-x $(DESTDIR)$(infodir)/gm2.info*; \
+	  else true; fi; \
+	else true; fi
+	-if [ -f gm2$(exeext) ] && [ -f $(DESTDIR)$(infodir)/gm2.info ]; then \
+	  if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+	    install-info --dir-file=$(infodir)/dir $(DESTDIR)$(infodir)/gm2.info; \
+	  else true; fi; \
+	else true; fi
+
+m2.install-normal: m2.install-common m2.install-info m2.install-man
+
+# This target will install GM2 into an existing GCC installation,
+# without overwriting existing files.
+# The semicolon is to prevent the install.sh -> install default rule
+# from doing anything.  Having it run true helps avoid problems and
+# noise from versions of make which don't like to have null commands.
+m2.install: m2.install-normal; @true
+
+gm2.install-with-gcc: $(INSTALL_HEADERS) gm2.install $(INSTALL_LIBGCC)
+	for file in $(GCC_PASSES); do \
+          if [ x"$$file" != x"xgcc$(exeext)" ]; then \
+            rm -f $(DESTDIR)$(libsubdir)/$$file; \
+            $(INSTALL_PROGRAM) $$file $(DESTDIR)$(libsubdir)/$$file || exit 1; \
+          fi; \
+        done; exit 0
+
+m2.uninstall:
+	-rm -rf $(bindir)/$(GM2_INSTALL_NAME)
+	-rm -rf $(bindir)/$(GM2_CROSS_NAME)
+
+m2.install-plugin: installdirs
+	$(mkinstalldirs) $(DESTDIR)$(plugin_resourcesdir)
+	$(INSTALL_PROGRAM) plugin/m2rte$(exeext).so $(DESTDIR)$(plugin_resourcesdir)/m2rte$(exeext).so
+	chmod a+x $(DESTDIR)$(plugin_resourcesdir)/m2rte$(exeext).so
+
+plugin/m2rte$(exeext).so: $(srcdir)/m2/plugin/m2rte.cc $(GCC_HEADER_DEPENDENCIES_FOR_M2) \
+        insn-attr-common.h insn-flags.h $(generated_files)
+	test -d plugin || mkdir plugin
+	$(PLUGINCC) $(PLUGINCFLAGS) -fno-rtti -I. -I$(srcdir) -I$(srcdir)/m2 -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/../include -I$(srcdir)/../libcpp/include -Wall $(GMPINC) -Wno-literal-suffix -fPIC -c -o plugin/m2rte.o $(srcdir)/m2/plugin/m2rte.cc
+	$(PLUGINCC) $(PLUGINCFLAGS) $(PLUGINLIBS) -fno-rtti plugin/m2rte.o -shared -o $@
+
+
+# Clean hooks:
+# A lot of the ancillary files are deleted by the main makefile.
+# We just have to delete files specific to us.
+
+m2.mostlyclean:
+	-rm -f m2/*.o
+
+m2.clean:
+	-rm -f m2/*.o
+	-rm -f m2/gm2-libs/config.*
+	-rm m2/gm2-libs/gm2-libs-host.h m2/gm2config.h
+
+m2.extraclean:
+m2.realclean:
+
+# Stage hooks:
+
+m2.stage1: stage1-start
+	-mv m2/*$(objext) stage1/m2
+
+m2.stage2: stage2-start
+	-mv m2/*$(objext) stage2/m2
+
+m2.stage3: stage3-start
+	-mv m2/*$(objext) stage3/m2
+
+m2.stage4: stage4-start
+	-mv m2/*$(objext) stage4/m2
+
+quit: force
+	echo "calling exit"
+	exit 1
+
+# Rules to build the compiler, pge and mc.
+
+# MC_COPYRIGHT=--gpl-header --project="GNU Modula-2"
+MC_COPYRIGHT=
+
+MC_ARGS= --olang=c++ \
+ --h-file-prefix=$(SRC_PREFIX) \
+ -I$(srcdir)/m2/gm2-libs \
+ -I$(srcdir)/m2/gm2-compiler \
+ -I$(srcdir)/m2/gm2-libiberty \
+ -I$(srcdir)/m2/gm2-gcc \
+ --quiet \
+ $(MC_COPYRIGHT) \
+ --gcc-config-system
+
+MCDEPS=m2/boot-bin/mc$(exeext)
+
+MC=m2/boot-bin/mc$(exeext) $(MC_ARGS)
+
+MC_LIBS=m2/mc-boot-ch/Glibc.o m2/mc-boot-ch/Gmcrts.o
+
+M2LINK=m2/boot-bin/mklink$(exeext)
+GM2_O=
+GM2_O_S3=-O
+GM2_OS=-Os
+GM2_G=-g -fm2-g
+GM2_CPP=
+# GM2_DEBUG_STRMEM=-fcpp
+GM2_DEBUG_STRMEM=
+GM2_FLAGS=-Wunused-variable -fsoft-check-all $(GM2_G) $(GM2_O) \
+ -funbounded-by-reference -fpim -fextended-opaque \
+ -Wpedantic-cast -Wpedantic-param-names -ffunction-sections \
+ -fdata-sections $(GM2_CPP) # -fauto-init
+GM2_ISO_FLAGS=-fsoft-check-all $(GM2_G) $(GM2_O) \
+ -funbounded-by-reference -fiso -fextended-opaque \
+ -Wpedantic-cast -Wpedantic-param-names -ffunction-sections \
+ -fdata-sections $(GM2_CPP)
+GM2_MIN_FLAGS=$(GM2_G) $(GM2_OS) \
+ -funbounded-by-reference -fextended-opaque \
+ -Wpedantic-cast -Wpedantic-param-names -fno-exceptions \
+ -ffunction-sections -fdata-sections $(GM2_CPP)
+
+O2=-O2 -g
+SO_O2=-O2 -g -fPIC
+SO=-O0 -g -fPIC
+
+# Language-specific object files for the gm2 compiler.
+
+GM2_C_OBJS        = m2/gm2-lang.o \
+                    m2/stor-layout.o \
+                    m2/m2pp.o \
+                    m2/gm2-gcc/m2assert.o \
+                    m2/gm2-gcc/m2block.o \
+                    m2/gm2-gcc/m2builtins.o \
+                    m2/gm2-gcc/m2except.o \
+                    m2/gm2-gcc/m2color.o \
+                    m2/gm2-gcc/m2configure.o \
+                    m2/gm2-gcc/m2convert.o \
+                    m2/gm2-gcc/m2decl.o \
+                    m2/gm2-gcc/m2expr.o \
+                    m2/gm2-gcc/m2linemap.o \
+                    m2/gm2-gcc/m2statement.o \
+                    m2/gm2-gcc/m2type.o \
+                    m2/gm2-gcc/m2tree.o \
+                    m2/gm2-gcc/m2treelib.o \
+                    m2/gm2-gcc/m2top.o \
+                    m2/gm2-gcc/m2misc.o \
+                    m2/gm2-gcc/init.o
+GM2_LIBS          = m2/gm2-compiler/gm2.a \
+                    ../$(target_subdir)/libgm2/libm2pim/.libs/libm2pim.a m2/gm2-libs-boot/choosetemp.o
+
+GM2_LIBS_BOOT     = m2/gm2-compiler-boot/gm2.a \
+                    m2/gm2-libs-boot/libgm2.a \
+                    $(GM2-BOOT-O)
+
+cc1gm2$(exeext): stage1/m2/cc1gm2$(exeext) $(m2.prev)
+	cp -p $< $@
+
+stage2/m2/cc1gm2$(exeext): stage1/m2/cc1gm2$(exeext) m2/gm2-compiler/m2flex.o $(P) \
+                            $(GM2_C_OBJS) $(BACKEND) $(LIBDEPS) $(GM2_LIBS) \
+                            m2/gm2-gcc/rtegraph.o plugin/m2rte$(exeext).so m2/gm2-libs-boot/M2LINK.o
+	@$(call LINK_PROGRESS,$(INDEX.m2),start)
+	+$(LLINKER) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(GM2_C_OBJS) m2/gm2-compiler/m2flex.o \
+                            attribs.o \
+                              $(GM2_LIBS) \
+                              $(BACKEND) $(LIBS) m2/gm2-gcc/rtegraph.o m2/gm2-libs-boot/M2LINK.o \
+                              $(BACKENDLIBS) $(LIBSTDCXX) -lm
+	@$(call LINK_PROGRESS,$(INDEX.m2),end)
+
+stage1/m2/cc1gm2$(exeext): gm2$(exeext) m2/gm2-compiler-boot/m2flex.o \
+                            $(P) $(GM2_C_OBJS) $(BACKEND) $(LIBDEPS) \
+                            $(GM2_LIBS_BOOT) $(MC_LIBS) \
+                            m2/gm2-gcc/rtegraph.o plugin/m2rte$(exeext).so \
+                            m2/gm2-libs-boot/M2LINK.o \
+                            $(m2.prev)
+	@$(call LINK_PROGRESS,$(INDEX.m2),start)
+	+$(LLINKER) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(GM2_C_OBJS) m2/gm2-compiler-boot/m2flex.o \
+                            attribs.o \
+                             $(GM2_LIBS_BOOT) $(MC_LIBS) \
+                             m2/gm2-gcc/rtegraph.o m2/gm2-libs-boot/M2LINK.o \
+                             $(BACKEND) $(LIBS) $(BACKENDLIBS)
+	@$(call LINK_PROGRESS,$(INDEX.m2),end)
+
+# Compiling object files from source files.
+
+GCC_HEADER_DEPENDENCIES_FOR_M2 = $(BUILD-BOOT-H) $(TIMEVAR_H) m2/gm2config.h $(CONFIG_H) \
+        $(TREE_H) $(RTL_H) $(TARGET_H) $(PLUGIN_HEADERS) \
+        $(BCONFIG_H) $(CORETYPES_H) $(SYSTEM_H) \
+        $(srcdir)/flags.h gtype-m2.h \
+        $(generated_files) insn-attr-common.h
+
+m2/gm2-gcc/%.o: $(srcdir)/m2/gm2-gcc/%.cc $(GCC_HEADER_DEPENDENCIES_FOR_M2)
+	$(COMPILER) -c -g $(ALL_COMPILERFLAGS) \
+             $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
+
+m2/gm2-gcc/m2configure.o: $(srcdir)/m2/gm2-gcc/m2configure.cc \
+               $(SYSTEM_H) $(GCC_H) $(CONFIG_H) \
+               m2/gm2config.h $(TARGET_H) $(PLUGIN_HEADERS) \
+               $(generated_files) $(C_TREE_H) insn-attr-common.h
+	$(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+         $(DRIVER_DEFINES) \
+		-DLIBSUBDIR=\"$(libsubdir)\" \
+                -DPREFIX=\"$(prefix)\" \
+                -c $(srcdir)/m2/gm2-gcc/m2configure.cc $(OUTPUT_OPTION)
+
+m2/gm2-lang.o: $(srcdir)/m2/gm2-lang.cc gt-m2-gm2-lang.h $(GCC_HEADER_DEPENDENCIES_FOR_M2)
+	$(COMPILER) -c -g -I$(GM2GCC) $(ALL_COMPILERFLAGS) \
+            $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
+
+m2/stor-layout.o: $(srcdir)/stor-layout.cc $(GCC_HEADER_DEPENDENCIES_FOR_M2)
+	$(COMPILER) -c -DSET_WORD_SIZE=INT_TYPE_SIZE $(ALL_COMPILERFLAGS) \
+            $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
+
+m2/m2pp.o : $(srcdir)/m2/m2pp.cc $(GCC_HEADER_DEPENDENCIES_FOR_M2)
+	$(COMPILER) -c -g -DGM2 $(ALL_COMPILERFLAGS) \
+            $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
+
+m2/gm2-gcc/rtegraph.o: $(srcdir)/m2/gm2-gcc/rtegraph.cc $(GCC_HEADER_DEPENDENCIES_FOR_M2) \
+                       gt-m2-rtegraph.h
+	$(COMPILER) -c -g -I$(GM2GCC) $(ALL_COMPILERFLAGS) \
+            $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
+
+c-family/m2pp.o : $(srcdir)/m2/m2pp.cc $(GCC_HEADER_DEPENDENCIES_FOR_M2)
+	$(COMPILER) -c -g $(ALL_COMPILERFLAGS) \
+            $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
+
+m2/gm2-gcc/$(SRC_PREFIX)%.h: $(srcdir)/m2/gm2-gcc/%.def $(MCDEPS)
+	$(MC) -o=$@ $(srcdir)/m2/gm2-gcc/$*.def
+
+# The following tables define the source files which are translated into C using mc
+# and defines the system interface C files.
+
+# Core library definition modules found in gm2-libs.
+
+GM2-LIBS-BOOT-DEFS = \
+   ASCII.def \
+   Args.def \
+   Assertion.def \
+   Break.def \
+   CmdArgs.def \
+   Debug.def \
+   DynamicStrings.def \
+   Environment.def \
+   FIO.def \
+   FormatStrings.def \
+   FpuIO.def \
+   IO.def \
+   Indexing.def \
+   M2Dependent.def \
+   M2EXCEPTION.def \
+   M2LINK.def \
+   M2RTS.def \
+   NumberIO.def \
+   PushBackInput.def \
+   RTExceptions.def \
+   SArgs.def \
+   SEnvironment.def \
+   SFIO.def \
+   SYSTEM.def \
+   Scan.def \
+   StdIO.def \
+   Storage.def \
+   StrCase.def \
+   StrIO.def \
+   StrLib.def \
+   StringConvert.def \
+   SysExceptions.def \
+   SysStorage.def \
+   TimeString.def \
+   UnixArgs.def \
+   dtoa.def \
+   errno.def \
+   ldtoa.def \
+   libc.def \
+   libm.def \
+   termios.def \
+   wrapc.def \
+
+# Core library implementation modules found in gm2-libs.
+
+GM2-LIBS-BOOT-MODS = \
+   ASCII.mod \
+   Args.mod \
+   Assertion.mod \
+   Break.mod \
+   CmdArgs.mod \
+   Debug.mod \
+   DynamicStrings.mod \
+   Environment.mod \
+   FIO.mod \
+   FormatStrings.mod \
+   FpuIO.mod \
+   IO.mod \
+   Indexing.mod \
+   M2Dependent.mod \
+   M2EXCEPTION.mod \
+   M2RTS.mod \
+   NumberIO.mod \
+   PushBackInput.mod \
+   RTExceptions.mod \
+   SArgs.mod \
+   SEnvironment.mod \
+   SFIO.mod \
+   Scan.mod \
+   Storage.mod \
+   StrCase.mod \
+   StrIO.mod \
+   StrLib.mod \
+   StringConvert.mod \
+   SysStorage.mod \
+   TimeString.mod \
+
+# Hand translated C files and C files for definition module for "C" modules
+# found in gm2-libs-ch.
+
+GM2-LIBS-BOOT-C = \
+   StdIO.c \
+   SysExceptions.c \
+   choosetemp.c \
+   errno.c \
+   termios.c \
+   wrapc.c \
+
+# C++ implemented modules found in gm2-libs-ch.
+
+GM2-LIBS-BOOT-CC = \
+   UnixArgs.cc \
+   dtoa.cc \
+   ldtoa.cc
+
+# Definition modules for the front end found in gm2-compiler.
+
+GM2-COMP-BOOT-DEFS = \
+   FifoQueue.def \
+   Lists.def \
+   M2ALU.def \
+   M2AsmUtil.def \
+   M2Base.def \
+   M2BasicBlock.def \
+   M2Batch.def \
+   M2Bitset.def \
+   M2CaseList.def \
+   M2Check.def \
+   M2Code.def \
+   M2ColorString.def \
+   M2Comp.def \
+   M2Const.def \
+   M2Debug.def \
+   M2DebugStack.def \
+   M2Defaults.def \
+   M2DriverOptions.def \
+   M2Emit.def \
+   M2Error.def \
+   M2EvalSym.def \
+   M2FileName.def \
+   M2GCCDeclare.def \
+   M2GenGCC.def \
+   M2Graph.def \
+   M2LexBuf.def \
+   M2MetaError.def \
+   M2Optimize.def \
+   M2Options.def \
+   M2Pass.def \
+   M2Preprocess.def \
+   M2Printf.def \
+   M2Quads.def \
+   M2Quiet.def \
+   M2Range.def \
+   M2Reserved.def \
+   M2SSA.def \
+   M2Scaffold.def \
+   M2Scope.def \
+   M2Search.def \
+   M2Size.def \
+   M2StackAddress.def \
+   M2StackWord.def \
+   M2Students.def \
+   M2Swig.def \
+   M2System.def \
+   NameKey.def \
+   ObjectFiles.def \
+   Output.def \
+   P0SymBuild.def \
+   P0SyntaxCheck.def \
+   P1Build.def \
+   P1SymBuild.def \
+   P2Build.def \
+   P2SymBuild.def \
+   P3Build.def \
+   P3SymBuild.def \
+   PCBuild.def \
+   PCSymBuild.def \
+   PHBuild.def \
+   Sets.def \
+   SymbolConversion.def \
+   SymbolKey.def \
+   SymbolTable.def \
+   bnflex.def \
+   m2flex.def \
+
+# Implementation modules for the front end found in gm2-compiler.
+
+GM2-COMP-BOOT-MODS = \
+   FifoQueue.mod \
+   Lists.mod \
+   Lists.mod \
+   M2ALU.mod \
+   M2AsmUtil.mod \
+   M2Base.mod \
+   M2BasicBlock.mod \
+   M2Batch.mod \
+   M2Bitset.mod \
+   M2CaseList.mod \
+   M2Check.mod \
+   M2Code.mod \
+   M2ColorString.mod \
+   M2Comp.mod \
+   M2Const.mod \
+   M2Debug.mod \
+   M2DebugStack.mod \
+   M2Defaults.mod \
+   M2DriverOptions.mod \
+   M2Emit.mod \
+   M2Error.mod \
+   M2FileName.mod \
+   M2GCCDeclare.mod \
+   M2GenGCC.mod \
+   M2Graph.mod \
+   M2LexBuf.mod \
+   M2MetaError.mod \
+   M2Optimize.mod \
+   M2Options.mod \
+   M2Pass.mod \
+   M2Preprocess.mod \
+   M2Printf.mod \
+   M2Quads.mod \
+   M2Quiet.mod \
+   M2Range.mod \
+   M2Reserved.mod \
+   M2SSA.mod \
+   M2Scaffold.mod \
+   M2Scope.mod \
+   M2Search.mod \
+   M2Size.mod \
+   M2StackAddress.mod \
+   M2StackWord.mod \
+   M2Students.mod \
+   M2Swig.mod \
+   M2System.mod \
+   NameKey.mod \
+   NameKey.mod \
+   ObjectFiles.mod \
+   Output.mod \
+   P0SymBuild.mod \
+   P1SymBuild.mod \
+   P2SymBuild.mod \
+   P3SymBuild.mod \
+   PCSymBuild.mod \
+   Sets.mod \
+   SymbolConversion.mod \
+   SymbolKey.mod \
+   SymbolKey.mod \
+   SymbolTable.mod \
+   bnflex.mod \
+
+# The interface between the modula-2 front end and gimple/trees found in directory gm2-gcc.
+
+GM2-GCC-DEFS = \
+   m2block.def \
+   m2builtins.def \
+   m2color.def \
+   m2configure.def \
+   m2convert.def \
+   m2decl.def \
+   m2except.def \
+   m2except.def \
+   m2expr.def \
+   m2linemap.def \
+   m2misc.def \
+   m2statement.def \
+   m2top.def \
+   m2tree.def \
+   m2treelib.def \
+   m2type.def \
+
+# The following lists define the source files used to build gm2 using Modula-2
+# sources directly.
+#
+# cc1gm2$(exeext) uses these definition modules from the core libraries.
+
+GM2-LIBS-DEFS = \
+   ASCII.def \
+   Args.def \
+   Assertion.def \
+   Break.def \
+   Builtins.def \
+   COROUTINES.def \
+   CmdArgs.def \
+   Debug.def \
+   DynamicStrings.def \
+   Environment.def \
+   FIO.def \
+   FormatStrings.def \
+   FpuIO.def \
+   GetOpt.def \
+   IO.def \
+   Indexing.def \
+   LMathLib0.def \
+   LegacyReal.def \
+   M2Dependent.def \
+   M2EXCEPTION.def \
+   M2LINK.def \
+   M2RTS.def \
+   MathLib0.def \
+   MemUtils.def \
+   NumberIO.def \
+   PushBackInput.def \
+   RTExceptions.def \
+   RTint.def \
+   SArgs.def \
+   SEnvironment.def \
+   SFIO.def \
+   SMathLib0.def \
+   SYSTEM.def \
+   Scan.def \
+   StdIO.def \
+   Storage.def \
+   StrCase.def \
+   StrIO.def \
+   StrLib.def \
+   StringConvert.def \
+   SysStorage.def \
+   TimeString.def \
+   UnixArgs.def \
+   cbuiltin.def \
+   dtoa.def \
+   ldtoa.def \
+   libc.def \
+   termios.def \
+   wrapc.def \
+
+# cc1gm2$(exeext) uses these implementation modules from the core libraries.
+
+GM2-LIBS-MODS = \
+   ASCII.mod \
+   Args.mod \
+   Assertion.mod \
+   Break.mod \
+   Builtins.mod \
+   COROUTINES.mod \
+   CmdArgs.mod \
+   Debug.mod \
+   DynamicStrings.mod \
+   Environment.mod \
+   FIO.mod \
+   FormatStrings.mod \
+   FpuIO.mod \
+   GetOpt.mod \
+   IO.mod \
+   Indexing.mod \
+   LMathLib0.mod \
+   LegacyReal.mod \
+   M2Dependent.mod \
+   M2EXCEPTION.mod \
+   M2RTS.mod \
+   MathLib0.mod \
+   MemUtils.mod \
+   NumberIO.mod \
+   PushBackInput.mod \
+   RTExceptions.mod \
+   RTint.mod \
+   SArgs.mod \
+   SEnvironment.mod \
+   SFIO.mod \
+   SMathLib0.mod \
+   SYSTEM.mod \
+   Scan.mod \
+   StdIO.mod \
+   Storage.mod \
+   StrCase.mod \
+   StrIO.mod \
+   StrLib.mod \
+   StringConvert.mod \
+   SysStorage.mod \
+   TimeString.mod \
+
+# cc1gm2$(exeext) uses these C modules from the core libraries.
+
+GM2-LIBS-C = \
+   Selective.c \
+   SysExceptions.c \
+   cgetopt.c \
+   choosetemp.c \
+   errno.c \
+   host.c \
+   termios.c \
+   wrapc.c \
+
+# cc1gm2$(exeext) uses these C++ modules from the core libraries.
+
+GM2-LIBS-CC = \
+   UnixArgs.cc \
+   dtoa.cc \
+   ldtoa.cc \
+
+# cc1gm2$(exeext) uses these definition modules found in the gm2-compiler directory.
+
+GM2-COMP-DEFS = \
+   FifoQueue.def \
+   Lists.def \
+   M2ALU.def \
+   M2AsmUtil.def   \
+   M2Base.def \
+   M2BasicBlock.def \
+   M2Batch.def \
+   M2Bitset.def \
+   M2CaseList.def \
+   M2Check.def \
+   M2Code.def \
+   M2ColorString.def \
+   M2Comp.def \
+   M2Const.def \
+   M2Debug.def \
+   M2DebugStack.def \
+   M2Defaults.def \
+   M2DriverOptions.def \
+   M2Emit.def \
+   M2Error.def \
+   M2FileName.def \
+   M2GCCDeclare.def \
+   M2GenGCC.def \
+   M2Graph.def \
+   M2LexBuf.def \
+   M2MetaError.def \
+   M2Optimize.def \
+   M2Options.def \
+   M2Pass.def \
+   M2Preprocess.def \
+   M2Printf.def \
+   M2Quads.def     \
+   M2Quiet.def \
+   M2Range.def \
+   M2Reserved.def \
+   M2SSA.def \
+   M2Scaffold.def \
+   M2Scope.def \
+   M2Search.def \
+   M2Size.def \
+   M2StackAddress.def \
+   M2StackWord.def \
+   M2Students.def \
+   M2Swig.def \
+   M2System.def \
+   NameKey.def \
+   ObjectFiles.def \
+   P0SymBuild.def \
+   P0SyntaxCheck.def \
+   P1Build.def \
+   P1SymBuild.def \
+   P2Build.def \
+   P2SymBuild.def \
+   P3Build.def \
+   P3SymBuild.def \
+   PCBuild.def \
+   PCSymBuild.def \
+   PHBuild.def \
+   Sets.def \
+   SymbolConversion.def \
+   SymbolKey.def \
+   SymbolTable.def \
+   bnflex.def \
+
+# cc1gm2$(exeext) uses these implementation modules found in the gm2-compiler directory.
+
+GM2-COMP-MODS = \
+   FifoQueue.mod \
+   Lists.mod \
+   M2ALU.mod \
+   M2AsmUtil.mod \
+   M2Base.mod \
+   M2BasicBlock.mod \
+   M2Batch.mod \
+   M2Bitset.mod \
+   M2CaseList.mod \
+   M2Check.mod \
+   M2Code.mod \
+   M2ColorString.mod \
+   M2Comp.mod \
+   M2Const.mod \
+   M2Debug.mod \
+   M2DebugStack.mod \
+   M2Defaults.mod \
+   M2DriverOptions.mod \
+   M2Emit.mod \
+   M2Error.mod \
+   M2FileName.mod \
+   M2GCCDeclare.mod \
+   M2GenGCC.mod \
+   M2Graph.mod \
+   M2LexBuf.mod \
+   M2MetaError.mod \
+   M2Optimize.mod \
+   M2Options.mod \
+   M2Pass.mod \
+   M2Preprocess.mod \
+   M2Printf.mod \
+   M2Quads.mod \
+   M2Quiet.mod \
+   M2Range.mod \
+   M2Reserved.mod \
+   M2SSA.mod \
+   M2Scaffold.mod \
+   M2Scope.mod \
+   M2Search.mod \
+   M2Size.mod \
+   M2StackAddress.mod \
+   M2StackWord.mod \
+   M2Students.mod \
+   M2Swig.mod \
+   M2System.mod \
+   NameKey.mod \
+   ObjectFiles.mod \
+   Output.mod \
+   P0SymBuild.mod \
+   P1SymBuild.mod \
+   P2SymBuild.mod  \
+   P3SymBuild.mod  \
+   PCSymBuild.mod \
+   Sets.mod \
+   SymbolConversion.mod \
+   SymbolKey.mod \
+   SymbolTable.mod \
+   bnflex.mod \
+
+# Implementation modules created by the parser generator pge from .bnf files.
+
+GM2-AUTO-MODS = \
+   P2Build.mod \
+   P3Build.mod \
+   PHBuild.mod \
+   PCBuild.mod \
+   P1Build.mod \
+   P0SyntaxCheck.mod \
+
+# LIBIBERTY interface definition modules
+
+GM2-LIBIBERTY-DEFS = \
+   choosetemp.def \
+   pexecute.def
+
+BUILD-LIBS-BOOT-H = $(GM2-LIBS-BOOT-DEFS:%.def=m2/gm2-libs-boot/$(SRC_PREFIX)%.h)
+
+BUILD-LIBS-BOOT = $(BUILD-LIBS-BOOT-H) \
+                  $(GM2-LIBS-BOOT-MODS:%.mod=m2/gm2-libs-boot/%.o) \
+                  $(GM2-LIBS-BOOT-CC:%.cc=m2/gm2-libs-boot/%.o) \
+                  $(GM2-LIBS-BOOT-C:%.c=m2/gm2-libs-boot/%.o)
+
+BUILD-COMPILER-BOOT-H = $(GM2-COMP-BOOT-DEFS:%.def=m2/gm2-compiler-boot/$(SRC_PREFIX)%.h) \
+                        $(GM2-LIBIBERTY-DEFS:%.def=m2/gm2-libiberty/$(SRC_PREFIX)%.h) \
+                        $(GM2-GCC-DEFS:%.def=m2/gm2-gcc/$(SRC_PREFIX)%.h)
+
+BUILD-COMPILER-BOOT = $(BUILD-COMPILER-BOOT-H) \
+                      $(GM2-COMP-BOOT-DEFS:%.def=m2/gm2-compiler-boot/$(SRC_PREFIX)%.h) \
+                      $(GM2-AUTO-MODS:%.mod=m2/gm2-compiler-boot/%.o) \
+                      $(GM2-COMP-BOOT-MODS:%.mod=m2/gm2-compiler-boot/%.o) \
+                      m2/gm2-compiler-boot/m2flex.o
+
+BUILD-BOOT-H = m2/boot-bin/mc$(exeext) \
+               $(BUILD-LIBS-BOOT-H) $(BUILD-COMPILER-BOOT-H) $(TARGET_H) $(PLUGIN_HEADERS)
+
+# Core library definition modules used by the modula-2 to C++ translator.
+
+MC-LIB-DEFS = \
+   ASCII.def \
+   Args.def \
+   Assertion.def \
+   Break.def  \
+   COROUTINES.def \
+   CmdArgs.def \
+   Debug.def \
+   DynamicStrings.def \
+   Environment.def \
+   FIO.def \
+   FormatStrings.def \
+   FpuIO.def \
+   IO.def \
+   M2Dependent.def \
+   M2EXCEPTION.def \
+   M2LINK.def \
+   M2RTS.def \
+   MemUtils.def \
+   NumberIO.def \
+   PushBackInput.def \
+   RTExceptions.def \
+   RTco.def \
+   RTint.def \
+   SArgs.def \
+   SFIO.def \
+   SYSTEM.def \
+   Selective.def \
+   StdIO.def \
+   Storage.def \
+   StrCase.def \
+   StrIO.def \
+   StrLib.def \
+   StringConvert.def \
+   SysExceptions.def \
+   SysStorage.def \
+   TimeString.def \
+   UnixArgs.def \
+   dtoa.def \
+   errno.def \
+   ldtoa.def \
+   libc.def \
+   libm.def \
+   termios.def \
+   wrapc.def \
+
+# Core library implementation modules used by the modula-2 to C++ translator.
+
+MC-LIB-MODS = \
+   ASCII.mod \
+   Args.mod \
+   Assertion.mod \
+   Break.mod  \
+   CmdArgs.mod \
+   Debug.mod \
+   DynamicStrings.mod \
+   Environment.mod \
+   FIO.mod \
+   FormatStrings.mod \
+   FpuIO.mod \
+   IO.mod \
+   M2Dependent.mod \
+   M2EXCEPTION.mod \
+   M2RTS.mod \
+   MemUtils.mod \
+   NumberIO.mod \
+   PushBackInput.mod \
+   RTExceptions.mod \
+   RTint.mod \
+   SArgs.mod \
+   SFIO.mod \
+   StdIO.mod \
+   Storage.mod \
+   StrCase.mod \
+   StrIO.mod \
+   StrLib.mod \
+   StringConvert.mod \
+   SysStorage.mod \
+   TimeString.mod \
+
+MC-LIB-BOOT-C = $(MC-LIB-MODS:%.mod=%.c)
+
+# Definition modules for the modula-2 to C++ translator found in mc.
+
+MC-DEFS = \
+   Indexing.def \
+   alists.def \
+   decl.def \
+   keyc.def \
+   lists.def \
+   mcComment.def \
+   mcComp.def \
+   mcDebug.def \
+   mcError.def \
+   mcFileName.def \
+   mcLexBuf.def \
+   mcMetaError.def \
+   mcOptions.def \
+   mcPreprocess.def \
+   mcPretty.def \
+   mcPrintf.def \
+   mcQuiet.def \
+   mcReserved.def \
+   mcSearch.def \
+   mcStack.def \
+   mcStream.def \
+   mcflex.def \
+   mcp1.def \
+   mcp2.def \
+   mcp3.def \
+   mcp4.def \
+   mcp5.def  \
+   nameKey.def \
+   symbolKey.def \
+   varargs.def \
+   wlists.def \
+
+# Implementation modules for the modula-2 to C++ translator found in mc.
+
+MC-MODS = \
+   Indexing.mod \
+   alists.mod \
+   decl.mod \
+   keyc.mod \
+   lists.mod \
+   mcComment.mod \
+   mcComp.mod \
+   mcDebug.mod \
+   mcError.mod \
+   mcFileName.mod \
+   mcLexBuf.mod \
+   mcMetaError.mod \
+   mcOptions.mod \
+   mcPreprocess.mod \
+   mcPretty.mod \
+   mcPrintf.mod \
+   mcQuiet.mod \
+   mcReserved.mod \
+   mcSearch.mod \
+   mcStack.mod \
+   mcStream.mod \
+   nameKey.mod \
+   symbolKey.mod \
+   top.mod \
+   varargs.mod \
+   wlists.mod \
+
+# Parser files generated by pge from .bnf files.
+
+MC-AUTO-MODS = \
+   mcp1.mod \
+   mcp2.mod \
+   mcp3.mod \
+   mcp4.mod \
+   mcp5.mod
+
+MC-BOOT-C = $(MC-MODS:%.mod=%.c) $(MC-AUTO-MODS:%.mod=%.c)
+
+# C interface files for mc.
+
+MC-INTERFACE-C = \
+   M2LINK.c \
+   SYSTEM.c \
+   Selective.c \
+   SysExceptions.c \
+   abort.c \
+   errno.c \
+   libc.c \
+   mcrts.c \
+   termios.c \
+   wrapc.c \
+
+# C++ interface files for mc.
+
+MC-INTERFACE-CC = \
+   UnixArgs.cc \
+   dtoa.cc \
+   ldtoa.cc \
+
+BUILD-MC-BOOT-H =  $(MC-LIB-DEFS:%.def=m2/mc-boot-gen/$(SRC_PREFIX)%.h) \
+                   $(MC-DEFS:%.def=m2/mc-boot-gen/$(SRC_PREFIX)%.h)
+
+BUILD-MC-BOOT-C =  $(MC-LIB-MODS:%.mod=m2/mc-boot-gen/$(SRC_PREFIX)%.c) \
+                   $(MC-MODS:%.mod=m2/mc-boot-gen/$(SRC_PREFIX)%.c)
+
+BUILD-MC-BOOT-AUTO-C = $(MC-AUTO-MODS:%.mod=m2/mc-boot-gen/$(SRC_PREFIX)%.c)
+
+BUILD-MC-BOOT-O =  $(MC-LIB-BOOT-C:%.c=m2/mc-boot/$(SRC_PREFIX)%.o) \
+                   $(MC-BOOT-C:%.c=m2/mc-boot/$(SRC_PREFIX)%.o)
+
+BUILD-MC-INTERFACE-O = $(MC-INTERFACE-C:%.c=m2/mc-boot-ch/$(SRC_PREFIX)%.o) \
+                       $(MC-INTERFACE-CC:%.cc=m2/mc-boot-ch/$(SRC_PREFIX)%.o)
+
+GM2GCC = -I$(srcdir)/m2 -Im2 -I$(srcdir)/m2/gm2-gcc -Im2/gm2-gcc
+
+MCINCLUDES= -I$(srcdir)/m2/mc-boot-ch
+LOCAL_INCLUDES = -I. -I$(srcdir)/../include -I$(srcdir)
+
+GCC_COLOR=m2/gm2-gcc/m2color.o diagnostic-color.o
+
+m2/boot-bin/mc$(exeext): $(BUILD-MC-BOOT-O) $(BUILD-MC-INTERFACE-O) \
+        m2/mc-boot/main.o mcflex.o m2/gm2-libs-boot/RTcodummy.o
+	+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(BUILD-MC-BOOT-O) \
+         $(BUILD-MC-INTERFACE-O) m2/mc-boot/main.o \
+         mcflex.o m2/gm2-libs-boot/RTcodummy.o -lm
+
+m2/mc-boot/$(SRC_PREFIX)%.o: m2/mc-boot/$(SRC_PREFIX)%.c
+	$(CXX) -g -c -I. -I$(srcdir)/m2/mc-boot-ch -I$(srcdir)/m2/mc-boot -I$(srcdir)/../include -I$(srcdir) $(INCLUDES) $< -o $@
+
+m2/mc-boot-ch/$(SRC_PREFIX)%.o: m2/mc-boot-ch/$(SRC_PREFIX)%.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -DHAVE_CONFIG_H -g -c -I. -Im2/gm2-libs -I$(srcdir)/../include -I$(srcdir) $(INCLUDES) -Im2/gm2-libs $< -o $@
+
+m2/mc-boot-ch/$(SRC_PREFIX)%.o: m2/mc-boot-ch/$(SRC_PREFIX)%.cc m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -DHAVE_CONFIG_H -g -c -I. -Im2/gm2-libs -I$(srcdir)/../include -I$(srcdir) $(INCLUDES) -Im2/gm2-libs $< -o $@
+
+m2/mc-boot/main.o: $(M2LINK) $(srcdir)/m2/init/mcinit
+	unset CC ; $(M2LINK) -s --langc++ --exit --name m2/mc-boot/main.c $(srcdir)/m2/init/mcinit
+	$(CXX) -g -c -I. -I$(srcdir)/../include -I$(srcdir) $(INCLUDES) m2/mc-boot/main.c -o $@
+
+mcflex.o: mcflex.c
+	$(CC) -I$(srcdir)/m2/mc -g -c $< -o $@   # remember that mcReserved.h is copied into m2/mc
+
+mcflex.c: $(srcdir)/m2/mc/mc.flex
+	flex -t $< > $@
+
+m2/gm2-libs-boot/%.o: $(srcdir)/m2/gm2-libs-boot/%.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MC) -o=m2/gm2-libs-boot/$*.c $(srcdir)/m2/gm2-libs-boot/$*.mod
+	$(COMPILER) -c -DIN_GCC $(CFLAGS) $(MCINCLUDES) m2/gm2-libs-boot/$*.c -o $@
+
+m2/gm2-libs-boot/%.o: $(srcdir)/m2/gm2-libs/%.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MC) -o=m2/gm2-libs-boot/$*.c $(srcdir)/m2/gm2-libs/$*.mod
+	$(COMPILER) -c -DIN_GCC $(CFLAGS) -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(MCINCLUDES) $(INCLUDES) m2/gm2-libs-boot/$*.c -o $@
+
+m2/gm2-libs-boot/$(SRC_PREFIX)%.h: $(srcdir)/m2/gm2-libs/%.def $(MCDEPS)
+	$(MC) -o=$@ $(srcdir)/m2/gm2-libs/$*.def
+
+m2/gm2-libs-boot/RTcodummy.o: $(srcdir)/m2/gm2-libs-ch/RTcodummy.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c -DIN_GCC $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/RTintdummy.o: $(srcdir)/m2/gm2-libs-ch/RTintdummy.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c -DIN_GCC $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/wrapc.o: $(srcdir)/m2/gm2-libs-ch/wrapc.c m2/gm2-libs-boot/$(SRC_PREFIX)wrapc.h m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c -DHAVE_CONFIG_H $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot -Im2/gm2-libs $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/M2LINK.o: $(srcdir)/m2/gm2-libs-ch/M2LINK.c m2/gm2-libs-boot/$(SRC_PREFIX)M2LINK.h m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c -DHAVE_CONFIG_H $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot -Im2/gm2-libs $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/UnixArgs.o: $(srcdir)/m2/gm2-libs-ch/UnixArgs.cc m2/gm2-libs-boot/$(SRC_PREFIX)UnixArgs.h m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c -DIN_GCC $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/choosetemp.o: m2/gm2-libs-ch/choosetemp.c m2/gm2-libiberty/Gchoosetemp.h m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot -Im2/gm2-libiberty -I$(srcdir)/m2/gm2-libiberty/ $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/errno.o: $(srcdir)/m2/gm2-libs-ch/errno.c m2/gm2-libs-boot/$(SRC_PREFIX)errno.h m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/dtoa.o: $(srcdir)/m2/gm2-libs-ch/dtoa.cc m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/ldtoa.o: $(srcdir)/m2/gm2-libs-ch/ldtoa.cc m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/termios.o: $(srcdir)/m2/gm2-libs-ch/termios.c $(BUILD-LIBS-BOOT-H) m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/SysExceptions.o: $(srcdir)/m2/gm2-libs-ch/SysExceptions.c \
+                                  m2/gm2-libs-boot/$(SRC_PREFIX)SysExceptions.h m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-boot/SysStorage.o: $(srcdir)/m2/gm2-libs/SysStorage.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MC) -o=m2/gm2-libs-boot/SysStorage.c $(srcdir)/m2/gm2-libs/SysStorage.mod
+	$(COMPILER) -DIN_GCC -c $(CFLAGS) \
+          -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(MCINCLUDES) $(INCLUDES) \
+          m2/gm2-libs-boot/SysStorage.c -o m2/gm2-libs-boot/SysStorage.o
+
+m2/gm2-compiler-boot/M2GCCDeclare.o: $(srcdir)/m2/gm2-compiler/M2GCCDeclare.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MC) --extended-opaque -o=m2/gm2-compiler-boot/M2GCCDeclare.c $<
+	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(GM2GCC) \
+            -I. -I$(srcdir)/../include -I$(srcdir) \
+            -I. -Im2/gm2-libs-boot -Im2/gm2-compiler-boot \
+            -I$(srcdir)/m2/gm2-libiberty $(MCINCLUDES) $(INCLUDES) m2/gm2-compiler-boot/M2GCCDeclare.c -o $@
+
+m2/gm2-compiler-boot/M2Error.o: $(srcdir)/m2/gm2-compiler/M2Error.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MC) --extended-opaque -o=m2/gm2-compiler-boot/M2Error.c $<
+	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(GM2GCC) \
+            -I. -I$(srcdir)/../include -I$(srcdir) \
+            -I. -Im2/gm2-libs-boot -Im2/gm2-compiler-boot \
+            -I$(srcdir)/m2/gm2-libiberty $(MCINCLUDES) $(INCLUDES) m2/gm2-compiler-boot/M2Error.c -o $@
+
+m2/gm2-compiler-boot/%.o: $(srcdir)/m2/gm2-compiler/%.mod $(BUILD-BOOT-H) $(MCDEPS) $(BUILD-BOOT-H)
+	$(MC) -o=m2/gm2-compiler-boot/$*.c $(srcdir)/m2/gm2-compiler/$*.mod
+	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(GM2GCC) \
+            -I. -I$(srcdir)/../include -I$(srcdir) \
+            -I. -Im2/gm2-libs-boot -Im2/gm2-compiler-boot -Im2/gm2-libiberty \
+            -I$(srcdir)/m2/gm2-libiberty $(MCINCLUDES) $(INCLUDES) m2/gm2-compiler-boot/$*.c -o $@
+
+m2/gm2-compiler-boot/%.o: m2/gm2-compiler-boot/%.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MC) -o=m2/gm2-compiler-boot/$*.c m2/gm2-compiler-boot/$*.mod
+	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(GM2GCC) \
+            -I. -I$(srcdir)/../include -I$(srcdir) \
+            -I. -Im2/gm2-libs-boot -Im2/gm2-compiler-boot \
+            -I$(srcdir)/m2/gm2-libiberty $(MCINCLUDES) $(INCLUDES) m2/gm2-compiler-boot/$*.c -o $@
+
+m2/gm2-compiler-boot/$(SRC_PREFIX)%.h: $(srcdir)/m2/gm2-compiler/%.def $(MCDEPS)
+	$(MC) -o=$@ $(srcdir)/m2/gm2-compiler/$*.def
+
+m2/gm2-compiler-boot/m2flex.o: m2/gm2-compiler/m2flex.c $(BUILD-BOOT-H) $(TIMEVAR_H) \
+        $(BUILD-LIBS-BOOT-H)  m2/gm2-compiler-boot/$(SRC_PREFIX)NameKey.h \
+        $(CONFIG_H) m2/gm2config.h $(TARGET_H) $(PLUGIN_HEADERS)
+	$(COMPILER) -c -g $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+          $(GM2GCC) $(INCLUDES) -I$(srcdir)/m2 \
+          -Im2 -Im2/gm2-compiler-boot -Im2/gm2-libs-boot $< -o $@
+
+m2/gm2-compiler/m2flex.c: $(srcdir)/m2/m2.flex $(TIMEVAR_H) insn-attr-common.h
+	flex -t $< | sed -e 's/ malloc/ xmalloc/' | sed -e 's/ realloc/ xrealloc/' > $@
+
+m2/gm2-libiberty/$(SRC_PREFIX)%.h: $(srcdir)/m2/gm2-libiberty/%.def $(MCDEPS)
+	$(MC) -o=$@ $(srcdir)/m2/gm2-libiberty/$*.def
+
+# The rules to build objects in gm2-compiler and gm2-libs directories.
+
+m2/gm2-compiler/%.o: $(srcdir)/m2/gm2-compiler/%.mod
+	$(GM2_1) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-compiler/m2flex.o: m2/gm2-compiler/m2flex.c m2/gm2-libs/gm2-libs-host.h $(TIMEVAR_H)
+	$(COMPILER) -c -g $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+          $(GM2GCC) -Im2/gm2-compiler-boot -Im2/gm2-libs-boot $< -o $@
+
+m2/gm2-compiler/%.o: m2/gm2-compiler/%.mod
+	$(GM2_1) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-libs-iso/%.o: $(srcdir)/m2/gm2-libs-iso/%.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -DBUILD_GM2_LIBS_TARGET -DBUILD_GM2_LIBS -c $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-iso/%.o: $(srcdir)/m2/gm2-libs-iso/%.mod
+	$(GM2_1) $(GM2_ISO_FLAGS) -c -B./ -Im2/gm2-libs-iso:$(srcdir)/m2/gm2-libs-iso -I$(srcdir)/m2/gm2-libs $< -o $@
+
+
+# We build the cc1gm2$(exeext) from the boot stage and then proceed to build it
+# again using itself.
+
+m2/gm2-libs/gm2-libs-host.h:
+	echo "Configuring to build libraries using native compiler" ; \
+        NEW_SRCDIR=`${srcdir}/m2/tools-src/calcpath ../../ ${srcdir} m2/gm2-libs` ; \
+        export NEW_SRCDIR ; \
+        cd m2/gm2-libs ; \
+        $(SHELL) -c '$${NEW_SRCDIR}/config-host \
+               --srcdir=$${NEW_SRCDIR} \
+               --target=$(target) \
+               --program-suffix=$(exeext)'
+
+# Autoconf inserts -DCROSS_DIRECTORY_STRUCTURE if we are building a
+# cross compiler and the ../Makefile.in above appends this to INTERNAL_CFLAGS.
+
+m2/gm2config.h:
+	NEW_SRCDIR=`${srcdir}/m2/tools-src/calcpath ../ ${srcdir} m2` ; \
+        export NEW_SRCDIR ; \
+	cd m2 ; \
+	if echo $(INTERNAL_CFLAGS) | grep \\-DCROSS_DIRECTORY_STRUCTURE; then \
+            AR=$(echo $(AR_FOR_TARGET) | sed -e "s/^ //") ; \
+            export AR ; \
+            RANLIB=$(echo $(RANLIB_FOR_TARGET) | sed -e "s/^ //") ; \
+            export RANLIB ; \
+            $(SHELL) -c '$${NEW_SRCDIR}/configure --srcdir=$${NEW_SRCDIR} \
+                --target=$(target) --program-suffix=$(exeext) \
+                --includedir=$(SYSTEM_HEADER_DIR) --libdir=$(libdir) \
+                --libexecdir=$(libexecdir)' ; \
+        else \
+            $(SHELL) -c '$${NEW_SRCDIR}/configure --srcdir=$(NEW_SRCDIR) \
+                --target=$(target) --program-suffix=$(exeext)' ; \
+        fi
+
+$(objdir)/m2/gm2-libs-min/SYSTEM.def: $(GM2_PROG_DEP)
+	$(SHELL) $(srcdir)/m2/tools-src/makeSystem -fpim \
+             $(srcdir)/m2/gm2-libs-min/SYSTEM.def \
+             $(srcdir)/m2/gm2-libs-min/SYSTEM.mod \
+             -I$(srcdir)/m2/gm2-libs-min:$(srcdir)/m2/gm2-libs \
+             "$(GM2_FOR_TARGET)" $@
+
+$(objdir)/m2/gm2-libs/SYSTEM.def: $(GM2_PROG_DEP)
+	echo "GM2_FOR_TARGET $(GM2_FOR_TARGET)"
+	echo "GCC_FOR_TARGET $(GCC_FOR_TARGET)"
+	$(SHELL) $(srcdir)/m2/tools-src/makeSystem -fpim \
+             $(srcdir)/m2/gm2-libs/SYSTEM.def \
+             $(srcdir)/m2/gm2-libs/SYSTEM.mod \
+             -I$(srcdir)/m2/gm2-libs \
+             "$(GM2_FOR_TARGET)" $@
+
+$(objdir)/m2/gm2-libs-iso/SYSTEM.def: $(GM2_PROG_DEP)
+	$(SHELL) $(srcdir)/m2/tools-src/makeSystem -fiso \
+             $(srcdir)/m2/gm2-libs-iso/SYSTEM.def \
+             $(srcdir)/m2/gm2-libs-iso/SYSTEM.mod \
+             -I$(srcdir)/m2/gm2-libs-iso:$(srcdir)/m2/gm2-libs \
+             "$(GM2_FOR_TARGET)" $@
+
+$(objdir)/m2/gm2-libs-coroutines/SYSTEM.def: $(GM2_PROG_DEP)
+	$(SHELL) $(srcdir)/m2/tools-src/makeSystem -fpim \
+             $(srcdir)/m2/gm2-libs-coroutines/SYSTEM.def \
+             $(srcdir)/m2/gm2-libs-coroutines/SYSTEM.mod \
+             -I$(srcdir)/m2/gm2-libs-coroutines:$(srcdir)/m2/gm2-libs-iso:$(srcdir)/m2/gm2-libs \
+             "$(GM2_FOR_TARGET)" $@
+
+build-compiler: $(GM2-COMP-MODS:%.mod=m2/gm2-compiler/%.o) \
+                $(GM2-AUTO-MODS:%.mod=m2/gm2-compiler/%.o) \
+                m2/gm2-compiler/m2flex.o
+
+m2/gm2-compiler/gm2.a: build-compiler gm2$(exeext)
+	$(AR_FOR_TARGET) cr $@ $(GM2-COMP-MODS:%.mod=m2/gm2-compiler/%.o) \
+                    $(GM2-AUTO-MODS:%.mod=m2/gm2-compiler/%.o)
+	$(RANLIB) $@
+
+m2/gm2-libs-boot/libgm2.a: m2/boot-bin/mc$(exeext) $(BUILD-LIBS-BOOT)
+	$(AR) cr $@ $(GM2-LIBS-BOOT-MODS:%.mod=m2/gm2-libs-boot/%.o) \
+                    $(GM2-LIBS-BOOT-CC:%.cc=m2/gm2-libs-boot/%.o) \
+                    $(GM2-LIBS-BOOT-C:%.c=m2/gm2-libs-boot/%.o)
+	$(RANLIB) $@
+
+m2/gm2-compiler-boot/gm2.a: m2/boot-bin/mc$(exeext) m2/boot-bin/mklink$(exeext) \
+                         $(BUILD-LIBS-BOOT) $(BUILD-COMPILER-BOOT)
+	$(AR) cr $@ $(GM2-COMP-BOOT-MODS:%.mod=m2/gm2-compiler-boot/%.o) \
+                    $(GM2-AUTO-MODS:%.mod=m2/gm2-compiler-boot/%.o)
+	$(RANLIB) $@
+
+m2/gm2-compiler-boot/gm2.a: m2/boot-bin/mc$(exeext)
+
+m2/boot-bin/mklink$(exeext): $(srcdir)/m2/tools-src/mklink.c
+	$(CXX) $(CFLAGS) -I$(srcdir)/m2 -Im2/gm2-libs-boot -Im2/gm2-compiler-boot -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) $< -o $@
+
+m2/gm2-compiler-boot/$(SRC_PREFIX)%.h: $(srcdir)/m2/gm2-compiler-boot/%.def $(MCDEPS)
+	$(MC) --quiet -o=$@ $(srcdir)/m2/gm2-compiler-boot/$*.def
+
+m2/gm2-compiler/%.mod: $(srcdir)/m2/gm2-compiler/%.bnf $(PGE)
+	$(PGE) -k -l $< -o $@
+
+m2/gm2-compiler-boot/%.mod: $(srcdir)/m2/gm2-compiler/%.bnf $(PGE)
+	$(PGE) -k -l $< -o $@
+
+check-m2: check-gm2
+check_m2: check-gm2
+check_gm2: check-gm2
+check-modula2: check-gm2
+check_modula2: check-gm2
+check-modula-2: check-gm2
+check_modula-2: check-gm2
+check_modula_2: check-gm2
+
+lang_checks += check-gm2
+lang_checks_parallelized += check-gm2
+# For description see the check_$lang_parallelize comment in gcc/Makefile.in.
+check_gm2_parallelize = 10000
+
+check-gm2-local: $(GM2TESTSUITEDIR)/site.exp
+	-(rootme=`${PWD_COMMAND}`; export rootme; \
+	srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
+	cd $(TESTSUITEDIR); \
+	EXPECT=${EXPECT} ; export EXPECT ; \
+	if [ -f $${rootme}/../expect/expect ] ; then  \
+	   TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
+	    export TCL_LIBRARY ; fi ; \
+	$(RUNTEST) --tool gm2 --directory testsuite/m2/pim/pass)
+
+BUILD-PGE-O = \
+   m2/pge-boot/GArgs.o \
+   m2/pge-boot/GASCII.o \
+   m2/pge-boot/GAssertion.o \
+   m2/pge-boot/Gbnflex.o \
+   m2/pge-boot/GDebug.o \
+   m2/pge-boot/GDynamicStrings.o \
+   m2/pge-boot/GFIO.o \
+   m2/pge-boot/GIndexing.o \
+   m2/pge-boot/GIO.o \
+   m2/pge-boot/GLists.o \
+   m2/pge-boot/GM2Dependent.o \
+   m2/pge-boot/GM2EXCEPTION.o \
+   m2/pge-boot/GM2RTS.o \
+   m2/pge-boot/GNameKey.o \
+   m2/pge-boot/GNumberIO.o \
+   m2/pge-boot/GOutput.o \
+   m2/pge-boot/Gpge.o \
+   m2/pge-boot/GPushBackInput.o \
+   m2/pge-boot/GRTExceptions.o \
+   m2/pge-boot/GSFIO.o \
+   m2/pge-boot/GStdIO.o \
+   m2/pge-boot/GStorage.o \
+   m2/pge-boot/GStrCase.o \
+   m2/pge-boot/GStrIO.o \
+   m2/pge-boot/GStrLib.o \
+   m2/pge-boot/GSymbolKey.o \
+   m2/pge-boot/GSysStorage.o \
+   m2/pge-boot/Glibc.o \
+   m2/pge-boot/Gerrno.o \
+   m2/pge-boot/GUnixArgs.o \
+   m2/pge-boot/GM2LINK.o \
+   m2/pge-boot/Gtermios.o \
+   m2/pge-boot/GSysExceptions.o \
+   m2/pge-boot/Gabort.o \
+   m2/pge-boot/Gmcrts.o \
+   m2/pge-boot/main.o
+
+ifeq ($(M2_MAINTAINER),yes)
+include m2/Make-maintainer
+else
+m2/pge-boot/%.o: m2/pge-boot/%.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) $(INCLUDES) -I$(srcdir)/m2/pge-boot -Im2/gm2-libs -g -c $< -o $@
+
+m2/pge-boot/%.o: m2/pge-boot/%.cc m2/gm2-libs/gm2-libs-host.h
+	$(CXX) $(INCLUDES) -I$(srcdir)/m2/pge-boot -Im2/gm2-libs -g -c $< -o $@
+
+$(PGE): $(BUILD-PGE-O)
+	+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(BUILD-PGE-O) -lm
+
+endif
diff --git a/gcc/m2/Make-maintainer.in b/gcc/m2/Make-maintainer.in
new file mode 100644
index 00000000000..2460b979207
--- /dev/null
+++ b/gcc/m2/Make-maintainer.in
@@ -0,0 +1,856 @@
+# Make-maintainer.in build support tools for GNU M2.
+
+# Copyright (C) 2022 Free Software Foundation, Inc.
+
+#This file is part of GCC.
+
+#GCC 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 your option)
+#any later version.
+
+#GCC is distributed in the hope that it will be useful,
+#but WITHOUT ANY WARRANTY; without even the implied warranty of
+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  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/>.
+
+# QUIAT=@
+XGCC = ./xgcc -B./
+GM2_2 = ./gm2 -B./stage2/m2 -g -fm2-g
+
+# m2/ppg$(exeext)  is the recursive descent parser generator.
+
+PPG-INTERFACE-C = libc.c mcrts.c Selective.c termios.c \
+                  SysExceptions.c wrapc.c \
+                  SYSTEM.c errno.c
+
+PPG-INTERFACE-CC = UnixArgs.cc ldtoa.cc dtoa.cc
+
+# Implementation modules found in the gm2-compiler directory.
+
+PPG-MODS         = SymbolKey.mod   NameKey.mod  Lists.mod  bnflex.mod  Output.mod
+
+# Core library definition modules used by ppg found in the gm2-libs directory.
+
+PPG-LIB-DEFS     = Args.def Assertion.def ASCII.def Debug.def \
+                   DynamicStrings.def FIO.def Indexing.def IO.def \
+                   NumberIO.def PushBackInput.def \
+                   M2Dependent.def \
+                   M2EXCEPTION.def M2LINK.def M2RTS.def \
+                   RTExceptions.def \
+                   StdIO.def SFIO.def StrIO.def StrLib.def \
+                   Storage.def StrCase.def SysStorage.def
+
+# Core library implementation modules used by ppg found in the gm2-libs directory.
+
+PPG-LIB-MODS     = ASCII.mod \
+                   Args.mod \
+                   Assertion.mod \
+                   Debug.mod \
+                   DynamicStrings.mod \
+                   FIO.mod \
+                   IO.mod \
+                   Indexing.mod \
+                   M2Dependent.mod \
+                   M2EXCEPTION.mod \
+                   M2RTS.mod \
+                   NumberIO.mod \
+                   PushBackInput.mod \
+                   RTExceptions.mod \
+                   SFIO.mod \
+                   StdIO.mod \
+                   Storage.mod \
+                   StrCase.mod \
+                   StrIO.mod \
+                   StrLib.mod \
+                   SysStorage.mod
+
+# Program module ppg.mod from which pge.mod is created.  ppg.mod is
+# where changes should be made and then you should run pge-maintainer
+# to recreate the C++ version of pge.
+
+PPG-SRC          = ppg.mod
+
+BUILD-PPG-O = $(PPG-INTERFACE-C:%.c=m2/gm2-ppg-boot/$(SRC_PREFIX)%.o) \
+              $(PPG-INTERFACE-CC:%.cc=m2/gm2-ppg-boot/$(SRC_PREFIX)%.o) \
+              $(PPG-MODS:%.mod=m2/gm2-ppg-boot/$(SRC_PREFIX)%.o) \
+              $(PPG-LIB-MODS:%.mod=m2/gm2-ppg-boot/$(SRC_PREFIX)%.o) \
+              $(PPG-SRC:%.mod=m2/gm2-ppg-boot/$(SRC_PREFIX)%.o)
+
+MCC_ARGS= --olang=c++ \
+ --quiet \
+ --h-file-prefix=$(SRC_PREFIX) \
+ -I$(srcdir)/m2/gm2-libs \
+ -I$(srcdir)/m2/gm2-compiler \
+ -I$(srcdir)/m2/gm2-libiberty \
+ -I$(srcdir)/m2/gm2-gcc
+
+MCC=m2/boot-bin/mc$(exeext) $(MCC_ARGS)
+
+BUILD-PPG-LIBS-H = $(PPG-LIB-DEFS:%.def=m2/gm2-ppg-boot/$(SRC_PREFIX)%.h)
+
+BUILD-PPG-H = m2/boot-bin/mc$(exeext) $(BUILD-PPG-LIBS-H)
+
+m2/gm2-ppg-boot/$(SRC_PREFIX)%.h: $(srcdir)/m2/gm2-libs/%.def $(MCDEPS)
+	$(MCC) -o=$@ $(srcdir)/m2/gm2-libs/$*.def
+
+m2/gm2-ppg-boot/$(SRC_PREFIX)%.o: m2/mc-boot-ch/$(SRC_PREFIX)%.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-ppg-boot/$(SRC_PREFIX)%.o: m2/mc-boot-ch/$(SRC_PREFIX)%.cc m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-ppg-boot/$(SRC_PREFIX)%.o: $(srcdir)/m2/gm2-libs/%.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MCC) -o=m2/gm2-ppg-boot/$(SRC_PREFIX)$*.c $(srcdir)/m2/gm2-libs/$*.mod
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) \
+              -Im2/gm2-ppg-boot -I$(srcdir)/m2/mc-boot -Im2/gm2-libs-boot \
+              -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) -g -c m2/gm2-ppg-boot/$(SRC_PREFIX)$*.c -o $@
+
+m2/gm2-ppg-boot/$(SRC_PREFIX)%.o: $(srcdir)/m2/gm2-compiler/%.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MCC) -o=m2/gm2-ppg-boot/$(SRC_PREFIX)$*.c $(srcdir)/m2/gm2-compiler/$*.mod
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) \
+              -Im2/mc-boot -Im2/gm2-compiler-boot -Im2/gm2-libs-boot \
+              -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) -g -c m2/gm2-ppg-boot/$(SRC_PREFIX)$*.c -o $@
+
+m2/ppg$(exeext): m2/boot-bin/mc $(BUILD-PPG-O) $(BUILD-MC-INTERFACE-O) m2/gm2-ppg-boot/main.o \
+                 m2/gm2-libs-boot/RTcodummy.o m2/mc-boot-ch/$(SRC_PREFIX)abort.o \
+                 m2/gm2-libs-boot/M2LINK.o
+	+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(BUILD-PPG-O) m2/gm2-ppg-boot/main.o \
+                 m2/gm2-libs-boot/RTcodummy.o m2/mc-boot-ch/$(SRC_PREFIX)abort.o \
+                 m2/gm2-libs-boot/M2LINK.o -lm
+
+m2/gm2-ppg-boot/main.o: $(M2LINK) $(srcdir)/m2/init/mcinit
+	unset CC ; $(M2LINK) -s --langc++ --exit --name mainppginit.c $(srcdir)/m2/init/ppginit
+	mv mainppginit.c m2/gm2-ppg-boot/main.c
+	$(CXX) $(INCLUDES) -g -c -o $@ m2/gm2-ppg-boot/main.c
+
+m2/gm2-auto:
+	test -d $@ || mkdir -p $@
+
+# m2/pg$(exext) is the 2nd generation parser generator built from ebnf
+# without error recovery
+
+PG-SRC = pg.mod
+
+BUILD-PG-O = $(PPG-INTERFACE-C:%.c=m2/gm2-pg-boot/$(SRC_PREFIX)%.o) \
+             $(PPG-INTERFACE-CC:%.cc=m2/gm2-pg-boot/$(SRC_PREFIX)%.o) \
+             $(PPG-MODS:%.mod=m2/gm2-pg-boot/$(SRC_PREFIX)%.o) \
+             $(PPG-LIB-MODS:%.mod=m2/gm2-pg-boot/$(SRC_PREFIX)%.o) \
+             $(PG-SRC:%.mod=m2/gm2-pg-boot/$(SRC_PREFIX)%.o)
+
+m2/gm2-pg-boot/$(SRC_PREFIX)%.h: $(srcdir)/m2/gm2-libs/%.def $(MCDEPS)
+	$(MCC) -o=$@ $(srcdir)/m2/gm2-libs/$*.def
+
+m2/gm2-pg-boot/$(SRC_PREFIX)%.o: m2/mc-boot-ch/$(SRC_PREFIX)%.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-pg-boot/$(SRC_PREFIX)%.o: m2/mc-boot-ch/$(SRC_PREFIX)%.cc m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-pg-boot/$(SRC_PREFIX)%.o: $(srcdir)/m2/gm2-libs/%.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MCC) -o=m2/gm2-pg-boot/$(SRC_PREFIX)$*.c $(srcdir)/m2/gm2-libs/$*.mod
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -Im2/gm2-pg-boot	-I$(srcdir)/m2/mc-boot \
+               -I$(srcdir)/m2/mc-boot-ch \
+               -Im2/gm2-libs-boot $(INCLUDES) \
+              -g -c m2/gm2-pg-boot/$(SRC_PREFIX)$*.c -o $@
+
+m2/gm2-pg-boot/$(SRC_PREFIX)%.o: $(srcdir)/m2/gm2-compiler/%.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MCC) -o=m2/gm2-pg-boot/$(SRC_PREFIX)$*.c $(srcdir)/m2/gm2-compiler/$*.mod
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -Im2/mc-boot -Im2/gm2-compiler-boot -Im2/gm2-libs-boot \
+              -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) -g -c m2/gm2-pg-boot/$(SRC_PREFIX)$*.c -o $@
+
+m2/gm2-pg-boot/$(SRC_PREFIX)pg.o:  m2/gm2-auto/pg.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MCC) -o=m2/gm2-pg-boot/$(SRC_PREFIX)pg.c m2/gm2-auto/pg.mod
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -Im2/mc-boot -Im2/gm2-compiler-boot -Im2/gm2-libs-boot \
+              -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) -g -c m2/gm2-pg-boot/$(SRC_PREFIX)pg.c -o $@
+
+m2/pg$(exeext): m2/boot-bin/mc \
+    $(BUILD-PG-O) $(GM2-PPG-MODS:%.mod=m2/gm2-pg-boot/%.o) \
+    $(BUILD-MC-INTERFACE-O) m2/gm2-pg-boot/main.o m2/gm2-libs-boot/RTcodummy.o \
+    m2/mc-boot-ch/$(SRC_PREFIX)abort.o m2/gm2-libs-boot/M2LINK.o
+	+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(BUILD-PG-O) \
+         m2/gm2-pg-boot/main.o m2/gm2-libs-boot/RTcodummy.o \
+         m2/gm2-libs-boot/M2LINK.o \
+         m2/mc-boot-ch/$(SRC_PREFIX)abort.o -lm
+
+m2/gm2-auto/pginit:
+	sed -e 's/ppg/pg/' < $(srcdir)/m2/init/ppginit > $@
+
+m2/gm2-pg-boot/main.o: m2/gm2-auto/pginit $(M2LINK)
+	unset CC ; $(M2LINK) -s --langc++ --exit --name mainpginit.c m2/gm2-auto/pginit
+	mv mainpginit.c m2/gm2-pg-boot/main.c
+	$(CXX) $(INCLUDES) -g -c -o $@ m2/gm2-pg-boot/main.c
+
+m2/pg-e$(exeext): m2/pg$(exeext)
+	$(CP) m2/pg$(exeext) m2/pg-e$(exeext)
+	$(SHELL) $(srcdir)/m2/tools-src/buildpg $(srcdir)/m2/gm2-compiler/ppg.mod pg -e > m2/gm2-auto/t.bnf
+	./m2/pg-e$(exeext) -e -l m2/gm2-auto/t.bnf | sed -e 's/t\.bnf/pg\.bnf/' > m2/gm2-auto/t.mod
+	$(QUIAT)if ! diff m2/gm2-auto/t.mod m2/gm2-auto/pg.mod > /dev/null ; then \
+           echo "pg failed during self build" ; \
+           exit 1 ; \
+        fi
+	$(RM) m2/gm2-auto/t.bnf m2/gm2-auto/t.mod
+
+m2/gm2-auto/pg.mod: m2/ppg$(exeext)
+	$(SHELL) $(srcdir)/m2/tools-src/buildpg $(srcdir)/m2/gm2-compiler/ppg.mod pg -e > m2/gm2-auto/pg.bnf
+	./m2/ppg$(exeext) -e -l m2/gm2-auto/pg.bnf > m2/gm2-auto/pg.mod
+
+# pge is the recursive descent parser with first/followset error recovery.
+
+PGE-SRC = pge.mod
+
+BUILD-PGE-O = $(PPG-INTERFACE-C:%.c=m2/gm2-pge-boot/$(SRC_PREFIX)%.o) \
+              $(PPG-INTERFACE-CC:%.cc=m2/gm2-pge-boot/$(SRC_PREFIX)%.o) \
+              $(PPG-MODS:%.mod=m2/gm2-pge-boot/$(SRC_PREFIX)%.o) \
+              $(PPG-LIB-MODS:%.mod=m2/gm2-pge-boot/$(SRC_PREFIX)%.o) \
+              $(PGE-SRC:%.mod=m2/gm2-pge-boot/$(SRC_PREFIX)%.o)
+
+m2/gm2-auto/pge.mod: m2/pg$(exeext)
+	$(SHELL) $(srcdir)/m2/tools-src/buildpg $(srcdir)/m2/gm2-compiler/ppg.mod pge > m2/gm2-auto/pge.bnf
+	./m2/pg$(exeext) -l m2/gm2-auto/pge.bnf -o m2/gm2-auto/pge.mod
+
+m2/gm2-pge-boot/$(SRC_PREFIX)%.h: $(srcdir)/m2/gm2-libs/%.def $(MCDEPS)
+	$(MCC) -o=$@ $(srcdir)/m2/gm2-libs/$*.def
+
+m2/gm2-pge-boot/$(SRC_PREFIX)libc.o: $(srcdir)/m2/mc-boot-ch/Glibc.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) $(INCLUDES) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)mcrts.o:  $(srcdir)/m2/mc-boot-ch/Gmcrts.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) $(INCLUDES) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)UnixArgs.o:  $(srcdir)/m2/mc-boot-ch/GUnixArgs.cc
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)Selective.o:  $(srcdir)/m2/mc-boot-ch/GSelective.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) -Im2/gm2-libs -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)termios.o:  $(srcdir)/m2/mc-boot-ch/Gtermios.cc m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)SysExceptions.o:  $(srcdir)/m2/mc-boot-ch/GSysExceptions.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)ldtoa.o:  $(srcdir)/m2/mc-boot-ch/Gldtoa.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)dtoa.o:  $(srcdir)/m2/mc-boot-ch/Gdtoa.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)wrapc.o:  $(srcdir)/m2/mc-boot-ch/Gwrapc.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)SYSTEM.o:  $(srcdir)/m2/mc-boot-ch/GSYSTEM.c
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)errno.o:  $(srcdir)/m2/mc-boot-ch/Gerrno.c
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) -g -c $< -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)%.o: $(srcdir)/m2/gm2-libs/%.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MCC) -o=m2/gm2-pge-boot/$(SRC_PREFIX)$*.c $(srcdir)/m2/gm2-libs/$*.mod
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -Im2/gm2-pge-boot -I$(srcdir)/m2/mc-boot \
+              -I$(srcdir)/m2/mc-boot-ch -Im2/gm2-libs-boot \
+              $(INCLUDES) -g -c m2/gm2-pge-boot/$(SRC_PREFIX)$*.c -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)%.o: $(srcdir)/m2/gm2-compiler/%.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MCC) -o=m2/gm2-pge-boot/$(SRC_PREFIX)$*.c $(srcdir)/m2/gm2-compiler/$*.mod
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) -Im2/mc-boot -Im2/gm2-compiler-boot \
+              -Im2/gm2-libs-boot \
+              -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) -g -c m2/gm2-pge-boot/$(SRC_PREFIX)$*.c -o $@
+
+m2/gm2-pge-boot/$(SRC_PREFIX)pge.o:  m2/gm2-auto/pge.mod $(MCDEPS) $(BUILD-BOOT-H)
+	$(MCC) -o=m2/gm2-pge-boot/$(SRC_PREFIX)pge.c m2/gm2-auto/pge.mod
+	$(CXX) -I. -I$(srcdir)/../include -I$(srcdir) \
+              -Im2/mc-boot -Im2/gm2-compiler-boot -Im2/gm2-libs-boot \
+              -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) -g -c m2/gm2-pge-boot/$(SRC_PREFIX)pge.c -o $@
+
+m2/pge$(exeext): m2/boot-bin/mc \
+    $(BUILD-PGE-O) $(GM2-PPG-MODS:%.mod=m2/gm2-pge-boot/%.o) \
+    $(BUILD-MC-INTERFACE-O) m2/gm2-pge-boot/main.o m2/gm2-libs-boot/RTcodummy.o \
+    m2/mc-boot-ch/$(SRC_PREFIX)abort.o m2/gm2-libs-boot/M2LINK.o
+	+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(BUILD-PGE-O) \
+         m2/gm2-pge-boot/main.o m2/gm2-libs-boot/RTcodummy.o \
+         m2/mc-boot-ch/$(SRC_PREFIX)abort.o m2/gm2-libs-boot/M2LINK.o -lm
+	$(SHELL) $(srcdir)/m2/tools-src/buildpg $(srcdir)/m2/gm2-compiler/ppg.mod t > m2/gm2-auto/t.bnf
+	./m2/pge$(exeext) m2/gm2-auto/t.bnf -o m2/gm2-auto/t1.mod
+	./m2/pg$(exeext) m2/gm2-auto/t.bnf -o m2/gm2-auto/t2.mod
+	$(QUIAT)if ! diff m2/gm2-auto/t1.mod m2/gm2-auto/t2.mod > /dev/null ; then \
+           echo "failure: pg (with error recovery) failed" ; \
+           $(RM) m2/pge$(exeext) ; \
+           exit 1 ; \
+        fi
+	$(RM) m2/gm2-auto/t.mod m2/gm2-auto/t1.mod m2/gm2-auto/t2.mod
+
+m2/gm2-auto/pgeinit:
+	sed -e 's/ppg/pge/' < $(srcdir)/m2/init/ppginit > $@
+
+m2/gm2-pge-boot/main.o: m2/gm2-auto/pgeinit $(M2LINK)
+	unset CC ; $(M2LINK) -s --langc++ --exit --name mainpgeinit.c m2/gm2-auto/pgeinit
+	mv mainpgeinit.c m2/gm2-pge-boot/main.c
+	$(CXX) $(INCLUDES) -g -c -o $@ m2/gm2-pge-boot/main.c
+
+$(objdir)/m2/gm2-ppg-boot:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-pg-boot:
+	test -d $@ || mkdir $@
+
+$(objdir)/m2/gm2-pge-boot:
+	test -d $@ || mkdir $@
+
+m2/gm2-auto/pg.o: m2/gm2-auto/pg.mod $(MCDEPS)
+	$(MC) --quiet -o=m2/gm2-auto/pg.c m2/gm2-auto/pg.mod
+	$(COMPILER) -c $(CFLAGS) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2 -Im2/gm2-libs-boot -Im2/gm2-compiler-boot -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) m2/gm2-auto/pg.c -o $@
+
+m2/gm2-auto/pge.o: m2/gm2-auto/pge.mod $(MCDEPS)
+	$(MC) --quiet -o=m2/gm2-auto/pge.c m2/gm2-auto/pge.mod
+	$(COMPILER) -c $(CFLAGS) -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2 -Im2/gm2-libs-boot -Im2/gm2-compiler-boot -I$(srcdir)/m2/mc-boot-ch $(INCLUDES) m2/gm2-auto/pge.c -o $@
+
+pge-help: force
+	@echo "The pge maintainer commands are:"
+	@echo " "
+	@echo " make pge-maintainer"
+	@echo " make pge-verify"
+	@echo " make pge-push       # copy pge C++ sources (app and libs) into srcdir/m2/pge-boot"
+	@echo " make pge-libs-push  # copy C++ libraries which pge uses into srcdir/m2/pge-boot"
+	@echo " make pge-app-push   # copy pge C++ application modules into srcdir/m2/pge-boot"
+	@echo " make pge-clean"
+
+pge-maintainer: $(PGE)
+
+# Copy the C++ sources for ppe.mod into $(srcdir)/pge-boot.
+
+pge-push: pge-libs-push pge-app-push
+
+pge-libs-push: force
+	for i in $(cat $(srcdir)/m2/init/ppginit) ; do \
+	    if [ -f $(srcdir)/m2/gm2-libs-ch/${i}.h ] ; then \
+                cp $(srcdir)/m2/gm2-libs-ch/${i}.h $(srcdir) ; \
+            else \
+                echo "not found ${i}" ; \
+            fi ; \
+	    if [ -f $(srcdir)/m2/gm2-libs-ch/${i}.c* ] ; then \
+                cp $(srcdir)/m2/gm2-libs-ch/${i}.c* $(srcdir) ; \
+	    elif [ -f $(srcdir)/m2/gm2-pge-libs/${i}.c* ] ; then \
+                cp $(srcdir)/m2/gm2-pge-libs/${i}.c* $(srcdir) ; \
+            else \
+                echo "not found ${i}" ; \
+            fi ; \
+        done
+
+pge-app-push: force
+	cp m2/gm2-pge-boot/*.c $(srcdir)/m2/pge-boot
+
+# Perform sanity checks.
+
+pge-verify: force
+
+# Remove pge build files.
+
+pge-clean: force
+	$(RM) -f m2/gm2-pg-boot/* m2/gm2-ppg-boot/* m2/gm2-pge-boot/*
+
+
+# The rest of the Make-lang.in handles the bootstrap tool (maintained
+# mode) and also provides testing between the bootstrapped and the
+# non-bootstrapped compilers.
+
+# Rules for mc
+
+# The default rule used generate mc, eventually it will be replaced by mc-bootstrap.
+
+BOOTGM2=gm2
+
+MCOPTIONS=-g -c -fsources -fsoft-check-all -fm2-g # -fauto-init
+MCLINK=-g     # use -g -fmodules -c if you are debugging and wish to see missing modules.
+
+# This is only needed in maintainer mode by 'make mc-maintainer' when regenerating the C
+# version of mc.  We need a working Modula-2 compiler to run mc-maintainer.
+
+GM2SYS=${HOME}/opt/lib/gcc/x86_64-pc-linux-gnu/12.0.0/m2/m2pim
+GM2PATH=$(srcdir)/m2/mc:$(GM2SYS):$(srcdir)/m2:m2/gm2-auto:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-libs-iso
+
+mc: mc-clean mc-devel
+
+mc-push: force
+	cp -p m2/mc-boot-gen/*.c $(srcdir)/m2/mc-boot/
+	cp -p m2/mc-boot-gen/*.h $(srcdir)/m2/mc-boot/
+
+mc-clean: force m2/mc-obj
+	$(RM) m2/mc-boot-gen/*.[ch] m2/boot-bin/* m2/mc-boot/* m2/mc-boot-ch/*
+
+mc-maintainer: mc-clean mc-autogen mc-push mc-clean mc-bootstrap
+
+mc-clean-libs: force
+	$(RM) m2/gm2-libs-boot/*
+
+mc-continue:  mc-clean mc-bootstrap mc-clean-libs mc-fresh $(BUILD-MC-INTERFACE-O) $(BUILD-LIBS-BOOT) $(BUILD-COMPILER-BOOT)
+
+mc-fresh: force
+	$(RM) m2/gm2-auto/* m2/gm2-compiler-boot/* m2/gm2-libs-boot/*
+
+mc-help:  force
+	@echo "mc-maintainer   produces a new mc C version in the source tree (takes longer)"
+	@echo "mc-continue     builds the mc from the C version and attempts to build gm2 libraries and gm2 compiler"
+	@echo "mc-verify       builds mc from Modula-2 sources and mc from C sources and run both on all sources diffing the output"
+	@echo "mc              builds mc from Modula-2 sources, quickly"
+	@echo "m2/pge          build the parser generator (needed by mc-maintainer)"
+
+m2/mc-obj:
+	mkdir $@
+
+mc-verify:  mc-clean mc-bootstrap mc
+	mv mc m2/boot-bin/mc.m2
+	@echo "verifying the two generations of mc"
+	for i in $(GM2-VERIFY-MODS) ; do \
+           echo -n "$$i " ; \
+           m2/boot-bin/mc $(MC_ARGS) -o=mcout.c $(srcdir)/m2/gm2-compiler/$$i > /dev/null ; \
+           echo -n "[1]" ; \
+           m2/boot-bin/mc.m2 $(MC_ARGS) -o=mcout.m2 $(srcdir)/m2/gm2-compiler/$$i > /dev/null ; \
+           echo -n "[2]" ; \
+           $(RM) $$i.mc-diff ; \
+           if [ -f mcout.c -a -f mcout.m2 ] ; then \
+              if diff mcout.c mcout.m2 > /dev/null ; then \
+                 echo "[passed]" ; \
+              else \
+                 echo "[*** failed ***]" ; \
+                 diff mcout.c mcout.m2 > $$i.mc-diff ; \
+              fi \
+           fi ; \
+	   $(RM) mcout.c mcout.m2 ; \
+        done
+
+mc-stage2:  force
+	m2/boot-bin/mc$(exeext) -I$(srcdir)/m2/mc:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-libs-iso $(EXTENDED_OPAQUE) --h-file-prefix=$(SRC_PREFIX) -o=m2/mc-boot-gen/GmcStream.c $(srcdir)/m2/mc/mcStream.mod
+	m2/boot-bin/mc$(exeext) -I$(srcdir)/m2/mc:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-libs-iso $(EXTENDED_OPAQUE) --h-file-prefix=$(SRC_PREFIX) -o=m2/mc-boot-gen/Gdecl.c $(srcdir)/m2/mc/decl.mod
+	if diff m2/mc-boot-gen/Gdecl.c $(srcdir)/m2/mc-boot/Gdecl.c ; then echo "passed" ; else echo "failed" ; fi
+
+
+
+#  mc-devel - compiles mc using gm2
+
+mc-devel: m2/boot-bin/mc-devel$(exeext)
+
+m2/boot-bin/mc-devel$(exeext): m2/mc-obj/mcp1.mod \
+                               m2/mc-obj/mcp2.mod \
+                               m2/mc-obj/mcp3.mod \
+                               m2/mc-obj/mcp4.mod \
+                               m2/mc-obj/mcp5.mod \
+                               mcflex.c \
+                               m2/mc-boot-ch/Gabort.o
+	$(RM) -rf mc-obj
+	mkdir mc-obj
+	$(CC) -I$(srcdir)/m2/mc -c -g mcflex.c -o mc-obj/mcflex.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/decl.mod -o mc-obj/decl.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcStream.mod -o mc-obj/mcStream.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcPretty.mod -o mc-obj/mcPretty.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcStack.mod -o mc-obj/mcStack.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/varargs.mod -o mc-obj/varargs.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcMetaError.mod -o mc-obj/mcMetaError.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcOptions.mod -o mc-obj/mcOptions.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcComp.mod -o mc-obj/mcComp.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) m2/mc-obj/mcp1.mod -o mc-obj/mcp1.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) m2/mc-obj/mcp2.mod -o mc-obj/mcp2.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) m2/mc-obj/mcp3.mod -o mc-obj/mcp3.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) m2/mc-obj/mcp4.mod -o mc-obj/mcp4.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) m2/mc-obj/mcp5.mod -o mc-obj/mcp5.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/wlists.mod -o mc-obj/wlists.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/alists.mod -o mc-obj/alists.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/symbolKey.mod -o mc-obj/symbolKey.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcReserved.mod -o mc-obj/mcReserved.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/nameKey.mod -o mc-obj/nameKey.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcSearch.mod -o mc-obj/mcSearch.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcFileName.mod -o mc-obj/mcFileName.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcLexBuf.mod -o mc-obj/mcLexBuf.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcQuiet.mod -o mc-obj/mcQuiet.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcError.mod -o mc-obj/mcError.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcDebug.mod -o mc-obj/mcDebug.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcPrintf.mod -o mc-obj/mcPrintf.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/Indexing.mod -o mc-obj/Indexing.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcPreprocess.mod -o mc-obj/mcPreprocess.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/keyc.mod -o mc-obj/keyc.o
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) $(srcdir)/m2/mc/mcComment.mod -o mc-obj/mcComment.o
+	$(BOOTGM2) $(MCLINK) -I. -fscaffold-main -I$(GM2PATH) \
+            -fuse-list=$(srcdir)/m2/init/mcinit $(srcdir)/m2/mc/top.mod -o mc \
+            m2/gm2-libs-boot/RTcodummy.o \
+            m2/gm2-libs-boot/dtoa.o m2/gm2-libs-boot/ldtoa.o mc-obj/*o m2/mc-boot-ch/Gabort.o
+
+m2/boot-bin/mc-opt$(exeext): m2/mc-obj/mcp1.mod \
+                             m2/mc-obj/mcp2.mod \
+                             m2/mc-obj/mcp3.mod \
+                             m2/mc-obj/mcp4.mod \
+                             m2/mc-obj/mcp5.mod \
+                             mcflex.c
+	g++ -I$(srcdir)/m2/mc -c -g mcflex.c
+	$(BOOTGM2) -fsources -fm2-whole-program -g -I$(srcdir)/m2/mc:$(objdir)/m2/mc-obj:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/mc $(srcdir)/m2/mc/top.mod
+
+m2/mc/decl.o:  $(srcdir)/m2/mc/decl.mod
+	$(BOOTGM2) $(MCOPTIONS) -I$(GM2PATH) -o $@ $(srcdir)/m2/mc/decl.mod
+
+m2/mc-obj/%.mod: $(srcdir)/m2/mc/%.bnf $(PGE)
+	$(PGE) -l $< -o $@
+
+gm2-bootstrap: mc-devel
+	for i in $(srcdir)/m2/gm2-libs/*.def ; do echo $$i ; ./mc --gcc-config-system -I$(srcdir)/m2/gm2-libs $$i ; done
+	for i in $(srcdir)/m2/gm2-compiler/*.def ; do echo $$i ; ./mc --gcc-config-system -I$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-gcc $$i ; done
+	for i in $(srcdir)/m2/gm2-libs/*.mod ; do echo $$i ; ./mc --gcc-config-system -I$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-gcc $$i ; done
+
+
+$(objdir)/plugin:
+	test -d $@ || mkdir -p $@
+
+$(objdir)/m2/mc-boot:
+	test -d $@ || mkdir -p $@
+
+$(objdir)/m2/mc-boot-ch:
+	test -d $@ || mkdir -p $@
+
+$(objdir)/m2/mc-boot-gen:
+	test -d $@ || mkdir -p $@
+
+mc-autogen: mc-clean mc-devel \
+            $(BUILD-MC-BOOT-H) $(BUILD-MC-BOOT-C) \
+            $(BUILD-MC-BOOT-AUTO-C)
+	for i in m2/mc-boot-gen/*.c ; do \
+           echo $(CXX) -g -c -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/mc-boot-gen/ $$i -o m2/mc-boot-gen/`basename $$i .c`.o ; \
+                $(CXX) -g -c -I. -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/m2/mc-boot-ch -Im2/mc-boot-gen/ $$i -o m2/mc-boot-gen/`basename $$i .c`.o ; done
+	@echo -n "built "
+	@cd m2/mc-boot-gen ; ls *.o | wc -l
+	@echo -n "out of "
+	@cd m2/mc-boot-gen ; ls *.c | wc -l
+	@echo "modules"
+
+# EXTENDED_OPAQUE = --extended-opaque
+EXTENDED_OPAQUE =
+MC_OPTIONS = $(MC_COPYRIGHT) --gcc-config-system --olang=c++
+
+m2/mc-boot-gen/$(SRC_PREFIX)%.h: $(srcdir)/m2/mc/%.def
+	./mc $(MC_OPTIONS) -I$(srcdir)/m2/mc:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-libs-iso $(EXTENDED_OPAQUE) --h-file-prefix=$(SRC_PREFIX) -o=$@ $<
+
+m2/mc-boot-gen/$(SRC_PREFIX)%.h: $(srcdir)/m2/gm2-libs/%.def
+	./mc $(MC_OPTIONS) -I$(srcdir)/m2/mc:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-libs-iso $(EXTENDED_OPAQUE) --h-file-prefix=$(SRC_PREFIX) -o=$@ $<
+
+m2/mc-boot-gen/$(SRC_PREFIX)decl.c: $(srcdir)/m2/mc/decl.mod
+	./mc $(MC_OPTIONS) --extended-opaque -I$(srcdir)/m2/mc:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-libs-iso --h-file-prefix=$(SRC_PREFIX) -o=$@ $<
+
+m2/mc-boot-gen/$(SRC_PREFIX)%.c: $(srcdir)/m2/mc/%.mod
+	./mc $(MC_OPTIONS) -I$(srcdir)/m2/mc:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-libs-iso $(EXTENDED_OPAQUE) --h-file-prefix=$(SRC_PREFIX) -o=$@ $<
+
+m2/mc-boot-gen/$(SRC_PREFIX)%.c: $(srcdir)/m2/gm2-libs/%.mod
+	./mc $(MC_OPTIONS) -I$(srcdir)/m2/mc:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-libs-iso $(EXTENDED_OPAQUE) --h-file-prefix=$(SRC_PREFIX) -o=$@ $<
+
+m2/mc-boot-gen/$(SRC_PREFIX)%.h: $(srcdir)/m2/gm2-libs-iso/%.def
+	./mc $(MC_OPTIONS) -I$(srcdir)/m2/mc:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-libs-iso $(EXTENDED_OPAQUE) --h-file-prefix=$(SRC_PREFIX) -o=$@ $<
+
+m2/mc-boot-gen/$(SRC_PREFIX)%.c: m2/mc-obj/%.mod
+	./mc $(MC_OPTIONS) -I$(srcdir)/m2/mc:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-libs-iso $(EXTENDED_OPAQUE) --h-file-prefix=$(SRC_PREFIX) -o=$@ $<
+
+# mc-bootstrap compiles mc using the C version previously generated by mc-autogen.
+# These autogenerated files will be checked into git by the maintainer.
+
+mc-bootstrap: mc-clean m2/boot-bin/mc$(exeext)
+
+gm2.maintainer-reconfigure: force
+	autoconf $(srcdir)/m2/gm2-libs/config-host.in > $(srcdir)/m2/gm2-libs/config-host
+	( cd $(srcdir)/m2/gm2-libs ; autoheader config-host.in )
+	( cd $(srcdir)/m2 ; autoconf configure.in > configure )
+
+gm2.maintainer-clean: force
+	-rm -f $(srcdir)/m2/gm2-auto/*
+	-rm -f $(srcdir)/m2/gm2-libs.texi
+	-rm -f $(srcdir)/m2/gm2-ebnf.texi
+	-rm -f $(srcdir)/m2/images/gnu.eps
+
+gm2.maintainer-help: force
+	@echo "make knows about:"
+	@echo " "
+	@echo "make gm2.maintainer-help           this command"
+	@echo "make gm2.maintainer-reconfigure    rebuild the configure scripts"
+	@echo "make gm2.maintainer-clean          clean pre-built images and texi files"
+
+
+#
+#  verify the compiler can be built across three generations of cc1gm2 diffing assembly output.
+#  stage1/m2/cc1gm2 built by translating M2 into C++.
+#  stage2/m2/cc1gm2 built from stage1/m2/cc1gm2.
+#  stage3/m2/cc1gm2 built from stage2/m2/cc1gm2.
+#
+
+# GM2-VERIFY-MODS is a list of modules which have no __DATE__ stamp inside them
+#                 and thus they can be built by the different versions of gm2.
+#                 This list is used for testing only.
+
+GM2-VERIFY-MODS    = FifoQueue.mod     M2AsmUtil.mod                   M2Optimize.mod  \
+                     M2StackWord.mod                   M2Pass.mod      M2Batch.mod     \
+                     M2Quads.mod       M2Comp.mod      M2Reserved.mod  \
+                     M2Debug.mod       M2Defaults.mod  NameKey.mod     \
+                     M2FileName.mod    P0SymBuild.mod  P1SymBuild.mod  P2SymBuild.mod  \
+                     P3SymBuild.mod  \
+                     SymbolKey.mod     SymbolTable.mod                 M2Error.mod     \
+                     M2StackAddress.mod \
+                     M2Students.mod  \
+                     M2BasicBlock.mod  M2Code.mod      M2GenGCC.mod    M2GCCDeclare.mod\
+                     M2ALU.mod         M2System.mod    M2Base.mod      Lists.mod       \
+                     M2Search.mod      bnflex.mod      ppg.mod         Output.mod      \
+                     SymbolConversion.mod \
+                     M2Preprocess.mod  M2Printf.mod    M2LexBuf.mod    M2Quiet.mod     \
+                     M2Bitset.mod      M2Size.mod      CLexBuf.mod     M2Scope.mod     \
+                     M2Range.mod       M2Swig.mod      M2MetaError.mod Sets.mod        \
+                     M2CaseList.mod    PCSymBuild.mod  M2Const.mod     \
+                     M2DebugStack.mod  ObjectFiles.mod M2ColorString.mod M2Emit.mod
+
+GM2-VERIFY-AUTO    = P1Build.mod       P2Build.mod     PCBuild.mod     P3Build.mod     \
+                     PHBuild.mod       pg.mod          P0SyntaxCheck.mod
+
+GM2_LIBS_PARANOID = m2/gm2-compiler-paranoid/gm2.a \
+                    m2/gm2-libs-paranoid/libgm2.a                       # build it again using GM2_LIBS
+
+gm2.paranoid: stage3/m2/cc1gm2$(exeext) gm2.verifyparanoid
+
+stage3/m2/cc1gm2$(exeext): stage2/m2/cc1gm2$(exeext) m2/gm2-compiler-paranoid/m2flex.o \
+                            $(P) $(GM2_C_OBJS) $(BACKEND) $(LIBDEPS) $(GM2_LIBS_PARANOID) \
+                            m2/gm2-gcc/rtegraph.o plugin/m2rte$(exeext).so m2/gm2-libs-boot/M2LINK.o
+	@$(call LINK_PROGRESS,$(INDEX.m2),start)
+	+$(LLINKER) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(GM2_C_OBJS) m2/gm2-compiler-paranoid/m2flex.o \
+                            attribs.o \
+                              $(GM2_LIBS_PARANOID) \
+                              $(BACKEND) $(LIBS) m2/gm2-gcc/rtegraph.o m2/gm2-libs-boot/M2LINK.o \
+                              $(BACKENDLIBS) $(LIBSTDCXX) -lm
+	@$(call LINK_PROGRESS,$(INDEX.m2),end)
+
+
+# gm2.verifyparanoid diffs the output of all three compilers with the compiler source code
+
+gm2.verifyparanoid: stage1/m2/cc1gm2$(exeext) stage2/m2/cc1gm2$(exeext) stage3/m2/cc1gm2$(exeext) force
+	@echo "verifying the three generations of GNU Modula-2 compilers - it may take some time.."
+	$(QUIAT)for i in $(GM2-VERIFY-MODS) ; do \
+           echo -n "$$i " ; \
+           ./gm2 -S $(GM2_FLAGS) -c -B./stage1/m2 -I$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-gcc:$(srcdir)/m2/gm2-libiberty $(srcdir)/m2/gm2-compiler/$$i -o m2/gm2-compiler-verify/1.s ; \
+           echo -n "[1]" ; \
+           ./gm2 -S $(GM2_FLAGS) -c -B./stage2/m2 -I$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-gcc:$(srcdir)/m2/gm2-libiberty $(srcdir)/m2/gm2-compiler/$$i -o m2/gm2-compiler-verify/2.s ; \
+           echo -n "[2]" ; \
+           ./gm2 -S $(GM2_FLAGS) -c -B./stage3/m2 -I$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-gcc:$(srcdir)/m2/gm2-libiberty $(srcdir)/m2/gm2-compiler/$$i -o m2/gm2-compiler-verify/3.s ; \
+           echo -n "[3]" ; \
+           if ! diff m2/gm2-compiler-verify/1.s m2/gm2-compiler-verify/2.s > m2/gm2-compiler-verify/1_2.diff 2>&1 ; then \
+               echo -n " [stage 1 and stage 2 differ]" ; \
+               cp m2/gm2-compiler-verify/1.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.1.lst ; \
+               cp m2/gm2-compiler-verify/2.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.2.lst ; \
+               echo " " ; \
+               exit 1 ; \
+           fi ; \
+           if ! diff m2/gm2-compiler-verify/2.s m2/gm2-compiler-verify/3.s > m2/gm2-compiler-verify/2_3.diff 2>&1 ; then \
+               echo -n " [stage 2 and stage 3 differ]" ; \
+               cp m2/gm2-compiler-verify/2.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.2.lst ; \
+               cp m2/gm2-compiler-verify/3.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.3.lst ; \
+           fi ; \
+           echo " " ; \
+        done
+	$(QUIAT)echo "now verifying automatically built modules"
+	$(QUIAT)for i in x $(GM2-VERIFY-AUTO) ; do \
+           if [ -f m2/gm2-auto/$$i ] ; then \
+              echo -n "$$i " ; \
+              ./gm2 -S $(GM2_FLAGS) -c -B./stage1/m2 -I$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-gcc:$(srcdir)/m2/gm2-libiberty m2/gm2-auto/$$i -o m2/gm2-compiler-verify/1.s ; \
+              echo -n "[1]" ; \
+              ./gm2 -S $(GM2_FLAGS) -c -B./stage2/m2 -I$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-gcc:$(srcdir)/m2/gm2-libiberty m2/gm2-auto/$$i -o m2/gm2-compiler-verify/2.s ; \
+              echo -n "[2]" ; \
+              ./gm2 -S $(GM2_FLAGS) -c -B./stage3/m2 -I$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-gcc:$(srcdir)/m2/gm2-libiberty m2/gm2-auto/$$i -o m2/gm2-compiler-verify/3.s ; \
+              echo -n "[3]" ; \
+              if ! diff m2/gm2-compiler-verify/1.s m2/gm2-compiler-verify/2.s > m2/gm2-compiler-verify/1_2.diff 2>&1 ; then \
+                  echo -n " [stage 1 and stage 2 differ]" ; \
+                  cp m2/gm2-compiler-verify/1.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.1.lst ; \
+                  cp m2/gm2-compiler-verify/2.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.2.lst ; \
+                  echo " " ; \
+                  exit 1 ; \
+              fi ; \
+              if ! diff m2/gm2-compiler-verify/2.s m2/gm2-compiler-verify/3.s > m2/gm2-compiler-verify/2_3.diff 2>&1 ; then \
+                  echo -n " [stage 2 and stage 3 differ]" ; \
+                  cp m2/gm2-compiler-verify/2.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.2.lst ; \
+                  cp m2/gm2-compiler-verify/3.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.3.lst ; \
+              fi ; \
+              echo " " ; \
+           fi ; \
+        done ; \
+	$(RM) -f m2/gm2-compiler-verify/1.s m2/gm2-compiler-verify/2.s m2/gm2-compiler-verify/3.s m2/gm2-compiler-verify/2_3.diff m2/gm2-compiler-verify/1_2.diff
+
+
+# gm2.verifystage12 diffs the output of the stage1 and stage2 compilers with the compiler source code
+
+gm2.verifystage12: force stage1/m2/cc1gm2$(exeext) stage2/m2/cc1gm2$(exeext)
+	@echo "verifying stage1 and stage2 generations of GNU Modula-2 compilers - it may take some time.."
+	$(QUIAT)for i in $(GM2-VERIFY-MODS) ; do \
+           echo -n "$$i " ; \
+           ./gm2 -S $(GM2_FLAGS) -c -B./stage1/m2 -I$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-gcc:$(srcdir)/m2/gm2-libiberty $(srcdir)/m2/gm2-compiler/$$i -o m2/gm2-compiler-verify/1.s ; \
+           echo -n "[1]" ; \
+           ./gm2 -S $(GM2_FLAGS) -c -B./stage2/m2 -I$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-gcc:$(srcdir)/m2/gm2-libiberty $(srcdir)/m2/gm2-compiler/$$i -o m2/gm2-compiler-verify/2.s ; \
+           echo -n "[2]" ; \
+           if ! diff m2/gm2-compiler-verify/1.s m2/gm2-compiler-verify/2.s > m2/gm2-compiler-verify/1_2.diff 2>&1 ; then \
+               echo -n " [stage 1 and stage 2 differ]" ; \
+               cp m2/gm2-compiler-verify/1.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.1.lst ; \
+               cp m2/gm2-compiler-verify/2.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.2.lst ; \
+               echo " " ; \
+           fi ; \
+           echo " " ; \
+        done
+	$(QUIAT)echo "now verifying automatically built modules"
+	$(QUIAT)for i in x $(GM2-VERIFY-AUTO) ; do \
+           if [ -f m2/gm2-auto/$$i ] ; then \
+              echo -n "$$i " ; \
+              ./gm2 -S $(GM2_FLAGS) -c -B./stage1/m2 -I$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-gcc:$(srcdir)/m2/gm2-libiberty m2/gm2-auto/$$i -o m2/gm2-compiler-verify/1.s ; \
+              echo -n "[1]" ; \
+              ./gm2 -S $(GM2_FLAGS) -c -B./stage2/m2 -I$(srcdir)/m2/gm2-compiler:$(srcdir)/m2/gm2-libs:$(srcdir)/m2/gm2-gcc:$(srcdir)/m2/gm2-libiberty m2/gm2-auto/$$i -o m2/gm2-compiler-verify/2.s ; \
+              echo -n "[2]" ; \
+              if ! diff m2/gm2-compiler-verify/1.s m2/gm2-compiler-verify/2.s > m2/gm2-compiler-verify/1_2.diff 2>&1 ; then \
+                  echo -n " [stage 1 and stage 2 differ]" ; \
+                  cp m2/gm2-compiler-verify/1.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.1.lst ; \
+                  cp m2/gm2-compiler-verify/2.s m2/gm2-compiler-verify/t.s | as -ahl m2/gm2-compiler-verify/t.s > m2/gm2-compiler-verify/$$i.2.lst ; \
+                  echo " " ; \
+              fi ; \
+              echo " " ; \
+           fi ; \
+        done ; \
+	$(RM) -f m2/gm2-compiler-verify/1.s m2/gm2-compiler-verify/2.s m2/gm2-compiler-verify/3.s m2/gm2-compiler-verify/2_3.diff m2/gm2-compiler-verify/1_2.diff
+
+
+# The rules which build objects in the gm2-compiler-paranoid gm2-libs-paranoid directories.
+
+m2/gm2-libs-paranoid/%.o: m2/gm2-libs-ch/%.c
+	$(XGCC) -c -g $(GM2_O_S3) $(GM2_O) -I./ -Im2/gm2-libs -Wall $(INCLUDES) $< -o $@
+
+m2/gm2-libs-paranoid/%.o: $(srcdir)/m2/gm2-libs/%.mod
+	$(GM2_2) $(GM2_O_S3) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-libs-iso -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-compiler-paranoid/%.o: $(srcdir)/m2/gm2-compiler/%.mod
+	$(GM2_2) $(GM2_O_S3) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-compiler-paranoid/%.o: m2/gm2-compiler-paranoid/%.mod
+	$(GM2_2) $(GM2_O_S3) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-compiler-paranoid/P0SyntaxCheck.o: m2/gm2-compiler-paranoid/P0SyntaxCheck.mod
+	$(GM2_2) $(GM2_O_S3) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-compiler-paranoid/P1Build.o: m2/gm2-compiler-paranoid/P1Build.mod
+	$(GM2_2) $(GM2_O_S3) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-compiler-paranoid/P2Build.o: m2/gm2-compiler-paranoid/P2Build.mod
+	$(GM2_2) $(GM2_O_S3) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-compiler-paranoid/P3Build.o: m2/gm2-compiler-paranoid/P3Build.mod
+	$(GM2_2) $(GM2_O_S3) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-compiler-paranoid/PHBuild.o: m2/gm2-compiler-paranoid/PHBuild.mod
+	$(GM2_2) $(GM2_O_S3) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-compiler-paranoid/PCBuild.o: m2/gm2-compiler-paranoid/PCBuild.mod
+	$(GM2_2) $(GM2_O_S3) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc -I$(srcdir)/m2/gm2-libiberty $< -o $@
+
+m2/gm2-libs-paranoid/host.o: $(srcdir)/m2/gm2-libs-ch/host.c m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c $(GM2_O_S3) $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-paranoid/wrapc.o: $(srcdir)/m2/gm2-libs-ch/wrapc.c m2/gm2-libs-boot/$(SRC_PREFIX)wrapc.h m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c -DIN_GCC $(GM2_O_S3) $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-paranoid/UnixArgs.o: $(srcdir)/m2/gm2-libs-ch/UnixArgs.cc \
+                                  m2/gm2-libs-boot/$(SRC_PREFIX)UnixArgs.h
+	$(CXX) -c -DIN_GCC $(GM2_O_S3) $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-paranoid/errno.o: $(srcdir)/m2/gm2-libs-ch/errno.c \
+                                   m2/gm2-libs-boot/$(SRC_PREFIX)errno.h
+	$(CXX) -c -DIN_GCC $(GM2_O_S3) $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-paranoid/Selective.o: $(srcdir)/m2/gm2-libs-ch/Selective.c \
+                                   m2/gm2-libs-boot/$(SRC_PREFIX)Selective.h
+	$(COMPILER) -c -DIN_GCC $(GM2_O_S3) $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-libs-paranoid/choosetemp.o: $(srcdir)/m2/gm2-libs-ch/choosetemp.c \
+                                    m2/gm2-libiberty/$(SRC_PREFIX)choosetemp.h
+	$(CXX) -c -DIN_GCC $(GM2_O_S3) $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot -Im2/gm2-libiberty $(INCLUDES) $< -o $@
+
+m2/gm2-libs-paranoid/SysExceptions.o: $(srcdir)/m2/gm2-libs-ch/SysExceptions.c \
+                                  m2/gm2-libs-boot/$(SRC_PREFIX)SysExceptions.h
+	$(CXX) -c -DIN_GCC $(GM2_O_S3) $(CFLAGS) -Im2/gm2-libs -I$(srcdir)/m2 -Im2 -I. -Im2/gm2-libs-boot $(INCLUDES) $< -o $@
+
+m2/gm2-compiler-paranoid/m2flex.o: m2/gm2-compiler/m2flex.c $(TIMEVAR_H)
+	$(COMPILER) -c $(GM2_O_S3) -g $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+          $(GM2GCC) -Im2/gm2-compiler-boot -Im2/gm2-libs-boot $< -o $@
+
+m2/gm2-libs-paranoid/dtoa.o: $(srcdir)/m2/gm2-libs-ch/dtoa.cc \
+                              m2/gm2-libs-boot/$(SRC_PREFIX)dtoa.h \
+                              m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c $(GM2_O_S3) $(CFLAGS) -I$(srcdir)/m2 -Im2/gm2-libs-boot -Im2/gm2-libs $(INCLUDES) $< -o $@
+
+m2/gm2-libs-paranoid/ldtoa.o: $(srcdir)/m2/gm2-libs-ch/ldtoa.cc \
+                               m2/gm2-libs-boot/$(SRC_PREFIX)ldtoa.h \
+                               m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c $(GM2_O_S3) $(CFLAGS) -I$(srcdir)/m2 -Im2/gm2-libs-boot -Im2/gm2-libs $(INCLUDES) $< -o $@
+
+m2/gm2-libs-paranoid/termios.o: $(srcdir)/m2/gm2-libs-ch/termios.c \
+                               m2/gm2-libs-boot/$(SRC_PREFIX)termios.h \
+                               m2/gm2-libs/gm2-libs-host.h
+	$(CXX) -c $(GM2_O_S3) $(CFLAGS) -I$(srcdir)/m2 -Im2/gm2-libs-boot -Im2/gm2-libs $(INCLUDES) $< -o $@
+
+
+# The rules which build the paranoid version of gm2.
+
+BUILD-LIBS-PARANOID-H = $(GM2-LIBS-BOOT-DEFS:%.def=m2/gm2-libs-boot/$(SRC_PREFIX)%.h)
+
+BUILD-LIBS-PARANOID = $(BUILD-LIBS-PARANOID-H) \
+                      $(GM2-LIBS-MODS:%.mod=m2/gm2-libs-paranoid/%.o) \
+                      $(GM2-LIBS-CC:%.cc=m2/gm2-libs-paranoid/%.o) \
+                      $(GM2-LIBS-C:%.c=m2/gm2-libs-paranoid/%.o)
+
+m2/gm2-libs-paranoid/libgm2.a: m2/boot-bin/mc$(exeext) $(BUILD-LIBS-PARANOID)
+	$(AR) cr $@ $(GM2-LIBS-MODS:%.mod=m2/gm2-libs-paranoid/%.o) \
+                    $(GM2-LIBS-CC:%.cc=m2/gm2-libs-paranoid/%.o) \
+                    $(GM2-LIBS-C:%.c=m2/gm2-libs-paranoid/%.o)
+	$(RANLIB) $@
+
+m2/gm2-compiler-paranoid/gm2.a: \
+                             $(GM2-COMP-MODS:%.mod=m2/gm2-compiler-paranoid/%.o) \
+                             $(GM2-AUTO-MODS:%.mod=m2/gm2-compiler-paranoid/%.o) \
+                             m2/gm2-compiler-paranoid/M2Version.o \
+                             m2/gm2-compiler-paranoid/m2flex.o
+	$(AR) cr $@ $(GM2-COMP-MODS:%.mod=m2/gm2-compiler-paranoid/%.o) \
+                    $(GM2-AUTO-MODS:%.mod=m2/gm2-compiler-paranoid/%.o) \
+                    m2/gm2-compiler-paranoid/M2Version.o
+	$(RANLIB) $@
+
+m2/gm2-compiler-paranoid/M2Version.mod:
+	$(SHELL) $(srcdir)/m2/tools-src/makeversion -m $(srcdir) m2/gm2-compiler-paranoid
+
+m2/gm2-compiler-paranoid/M2Version.o: m2/gm2-compiler-paranoid/M2Version.mod
+	$(GM2_2) $(GM2_FLAGS) -c -I$(srcdir)/m2/gm2-compiler -I$(srcdir)/m2/gm2-libs -I$(srcdir)/m2/gm2-gcc $< -o $@
+
+m2/gm2-compiler-paranoid/%.mod: $(srcdir)/m2/gm2-compiler/%.bnf $(PGE)
+	$(PGE) -k -l $< -o $@
+
+# Recreate the target independent copies of the documentation which is
+# used during the build if Python3 is unavailable.
+
+# m2-target-independent-doc-rst should be enabled once
+# tools-src/def2doc.py is completed (module hyperlinks need rst
+# treatment).
+
+m2-target-independent-doc: m2-target-independent-doc-texi # m2-target-independent-doc-rst
+
+m2-target-independent-doc-texi: force
+ifeq ($(HAVE_PYTHON),yes)
+	python3 $(srcdir)/m2/tools-src/def2doc.py -t -b$(srcdir)/m2 -f$(srcdir)/m2/gm2-libs-iso/SYSTEM.def -o $(srcdir)/m2/target-independent/SYSTEM-iso.texi
+	python3 $(srcdir)/m2/tools-src/def2doc.py -t -b$(srcdir)/m2 -f$(srcdir)/m2/gm2-libs/SYSTEM.def -o $(srcdir)/m2/target-independent/SYSTEM-pim.texi
+	python3 $(srcdir)/m2/tools-src/def2doc.py -t -b$(srcdir)/m2 -f$(srcdir)/m2/gm2-libs/Builtins.def -o $(srcdir)/m2/target-independent/Builtins.texi
+	python3 $(srcdir)/m2/tools-src/def2doc.py -t -uLibraries -s$(srcdir)/m2 -b$(srcdir)/m2 -o $(srcdir)/m2/target-independent/gm2-libs.texi
+else
+	echo "m2-target-independent-doc-texi will only work if Python3 was detected during configure"
+endif
+
+m2-target-independent-doc-rst: force
+ifeq ($(HAVE_PYTHON),yes)
+	python3 $(srcdir)/m2/tools-src/def2doc.py -x -b$(srcdir)/m2 -f$(srcdir)/m2/gm2-libs-iso/SYSTEM.def -o $(srcdir)/m2/target-independent/SYSTEM-iso.rst
+	python3 $(srcdir)/m2/tools-src/def2doc.py -x -b$(srcdir)/m2 -f$(srcdir)/m2/gm2-libs/SYSTEM.def -o $(srcdir)/m2/target-independent/SYSTEM-pim.rst
+	python3 $(srcdir)/m2/tools-src/def2doc.py -x -b$(srcdir)/m2 -f$(srcdir)/m2/gm2-libs/Builtins.def -o $(srcdir)/m2/target-independent/Builtins.rst
+	python3 $(srcdir)/m2/tools-src/def2doc.py -x -uLibraries -s$(srcdir)/m2 -b$(srcdir)/m2 -o $(srcdir)/m2/target-independent/gm2-libs.rst
+else
+	echo "m2-target-independent-doc-rst will only work if Python3 was detected during configure"
+endif
diff --git a/gcc/m2/NEWS b/gcc/m2/NEWS
new file mode 100644
index 00000000000..469f99f0ec9
--- /dev/null
+++ b/gcc/m2/NEWS
@@ -0,0 +1,231 @@
+This file describes recent user-visible changes in gm2.  Bug fixes are
+not described.  There are more details in the man and info pages.
+
+gm2 is now in the GCC tree and therefore these version numbers are
+historical.
+
+VERSION 1.9.5
+=============
+
+* More subexpressions tokens are created and accuracy of error positions
+  within subexpressions has been improved.
+* the GCC switch -fanalyzer can be used with Modula-2.
+
+VERSION 1.9.4
+=============
+
+* More GCC error routines utilized for error messages, erroneous
+  subexpressions are more accurately reported.
+* Complete type checking now performed.
+
+VERSION 1.9.3
+=============
+
+* GCC error routines utilized for error messages.
+* complete whole number runtime range error detection finished.
+* improved m2-plugin which analyzes the call graph and will issue
+  warnings if the compiler detects a exported procedure will cause
+  a range error.  The plugin will issue an error if the range error
+  will be called from the module constructor/deconstructor.
+
+VERSION 1.2.0
+=============
+
+* New improved more accurate source/line correlation in debugging output.
+* -fm2-g generates nops to further improve debugging single stepping.
+* -fm2-whole-program whole program optimization available.
+* works with gcc-5.2.0 under x86_64, x86_32, arm 64 bit and arm 32 bit.
+
+VERSION 1.0.4
+=============
+
+* Bug fixes to release 1.0
+
+VERSION 1.0
+===========
+
+* All ISO libraries are complete.
+* All ISO language implemented.
+* All regression tests pass on both x86_64 and x86_32 Debian GNU/Linux
+  platforms.
+
+VERSION 0.68
+============
+
+* more ISO library modules are implemented.
+* many errors are much more informative and indicate what the
+  compiler has seen and what it expects.
+
+VERSION 0.63
+============
+
+* many ISO library modules are implemented.
+* Exception handling is complete and it can coexist with swig.
+* all errors now include column information.  Also added -fxcode
+  option which issues errors in Apple Xcode format.
+* shared libraries are now implemented, to link against the shared
+  libraries use the new option -fshared.  Likewise to generate a
+  shared library use the -fshared option.
+* the keyword FINALLY is now implemented and both the initialization
+  and finalization blocks map onto GNU/Linux shared library
+  constructor and deconstructors.
+* the PIM libraries are built with -O0, -O2, -O2 -fshared, -fshared.
+* a new option -fswig automatically generates a swig interface file
+  corresponding to the definition module being compiled.
+  This allows Python and other scripting languages to call Modula-2
+  modules.
+* new options, -fobject-path, allows users to specify the path for
+  all objects whereas -I specifies the path for the library sources.
+* -fmakeinit option introduced which will generate a file
+  _m2_modulename.c in the current directory.
+* introduced fixed sized types in the SYSTEM module.
+
+VERSION 0.62
+============
+
+* all language options changed to -f.  Warning options are
+  still -W.  Introduced memmove to Builtins.def.
+* Introduced gm2/gm2-libs-pim/BlockOps.{def,mod}
+* gm2/gm2-libs-pim/BitByteOps.{def,mod}:  added.
+* -O now works on compiler and passes make gm2.paranoid.
+
+VERSION 0.61
+============
+
+* builds when grafted onto gcc-4.1.2
+
+VERSION 0.52
+============
+
+* tagged ready for branch for gcc-3.3.6 so that the head
+  can be developed with gcc-4.1.0
+
+VERSION 0.51
+============
+
+* all regression tests pass on LP64 and i386 GNU/Linux
+
+* declaration of variables at particular addresses is now implemented.
+  Now gm2 is a full PIM Modula-2 compiler and hence the formal release.
+
+VERSION 0.50
+============
+
+* all regression tests pass on LP64 and i386 GNU/Linux, i386, Mac OS X.3 G5
+
+* gm2-harness 0.7 will download, patch and build gcc, gdb, gm2 with the
+  SET and TYPE enhancements below. gm2-harness-0.7 also honours the
+   --prefix= option.
+
+* Much better dwarf-2 debugging support and when used with
+  a patched gdb-6.3 the programmer can display RECORDs,
+  ARRAYs, SETs, subranges and constant char literals in
+  Modula-2 syntax.
+
+* it currently complies with Programming in Modula-2 Edition 2, 3 and 4.
+  Users can switch on specific mutually exclusive features by using
+  -Wpim or -Wpim2.
+
+* gm2 supports full PIM Modula-2 (except variables located at
+  particular addresses).
+
+* profiling (-p) option is now available.
+
+* module priorities now implemented.
+
+* Logitech compatible libraries: Break.def, CardinalIO.def,
+  Conversions.def, DebugPMD.def, DebugTrace.def, Delay.def, Display.def,
+  ErrorCode.def, FloatingUtilities.def, InOut.def, Keyboard.def,
+  LongIO.def, Random.def, RealConversions.def, RealInOut.def,
+  Strings.def, Termbase.def, Terminal.def, TimeDate.def have been implemented.
+
+* all Ulm libraries are available.
+
+VERSION 0.49
+============
+
+* supports sets of any ordinal size (memory permitting).
+
+* implements ISO Modula-2 SYSTEM which can be switched on via: -Wiso.
+
+* easy interface to C, and varargs can be passed to C routines.
+
+* University of Ulm libraries are installed together with the compiler
+  and can be accessed via: -Wlibs=ulm
+
+* some Logitech libraries have been implemented and can be accessed via:
+  -Wlibs=logitech
+
+* coroutines have been implemented in the PIM style and these are accessible
+  from SYSTEM. A number of supporting libraries (executive and file descriptor
+  mapping to interrupt vector libraries are available through the
+  -Wlibs=pim-coroutines switch).
+
+
+VERSION 0.42
+============
+
+* MinGW cross compilation port released.
+  Please see http://floppsie.comp.glam.ac.uk/Glamorgan/gaius/web/gm2-mingw.html
+  for building details.
+
+VERSION 0.41
+============
+
+* native sparc port passes make gm2.paranoid and make check-gm2
+
+* native i386  port passes make gm2.paranoid and make check-gm2
+
+* passes all 1350 regression tests
+
+* builds with gcc-3.3.2
+
+VERSION 0.40
+============
+
+* brought GM2 up to date with gcc-3.3.1
+
+* many, many bug fixes and no patch is now required in the garbage collection
+  of gcc-3.3.1
+
+* builds under Redhat 9.0 and Suse 9.0
+
+* added the LONGCARD data type.
+
+* LENGTH is now mapped onto M2RTS.Length if the parameter is not a constant
+  at compile time.
+
+* standard procedures can be called inside constant expressions.
+
+* introduced examples/pthread
+
+* introduced a tool, h2def, to aid production of DEFINITION MODULE FOR "C" modules
+  from C header files.
+
+* added MathLib0 module, added svga example.
+
+* added access to thirty one gcc built-in functions.
+
+
+VERSION 0.33
+============
+
+* implemented large sets.
+
+* implemented ISO compliant sets.
+
+* when gm2 is invoked with -gstabs a patched gdb will
+  display set contents. This also works well with SET OF CHAR.
+
+* definition modules no longer have to explicitly export
+  identifiers.
+
+VERSION 0.32
+============
+
+* gm2 can be built as a native or as a strongarm cross compiler.
+
+* the C preprocessor can be invoked and it processes both definition and
+  implementation modules.
+
+* error reporting understands preprocessed Modula-2 source.
diff --git a/gcc/m2/README b/gcc/m2/README
new file mode 100644
index 00000000000..9de9e4fbf54
--- /dev/null
+++ b/gcc/m2/README
@@ -0,0 +1,35 @@
+
+Building GNU Modula-2
+=====================
+
+Please see the GCC documentation (gcc.texi) and section
+(Installing GCC).
+
+Regression testing GM2
+======================
+
+   cd host-build ; make check-m2
+
+runs all regression tests.
+
+Stress testing GM2
+==================
+
+   cd host-build/gcc ; make gm2.paranoid
+
+builds gm2 using itself and then compiles each module with both
+versions of gm2 comparing the emitted assembler code.
+
+Contributing to GNU Modula-2
+============================
+
+Please do. But also please read the GNU Emacs info under
+
+* Standards: (standards).       GNU coding standards.
+* Intellectual Property::       Keeping Free Software Free
+* Reading Non-Free Code::       Referring to Proprietary Programs
+* Contributions::               Accepting Contributions
+
+you might consider joining the GM2 Mailing list: see URL:
+http://lists.nongnu.org/mailman/listinfo/gm2 before you start coding.
+Many thanks and enjoy your programming!
diff --git a/gcc/m2/config-lang.in b/gcc/m2/config-lang.in
new file mode 100644
index 00000000000..68bb525355a
--- /dev/null
+++ b/gcc/m2/config-lang.in
@@ -0,0 +1,83 @@
+# Top level configure fragment for GNU Modula-2.
+# Copyright (C) 2000-2022 Free Software Foundation, Inc.
+
+# This file is part of GCC.
+
+# GCC 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 your option)
+# any later version.
+
+# GCC is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  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/>.
+
+# Configure looks for the existence of this file to auto-config each language.
+# We define several parameters used by configure:
+#
+# language	- name of language as it would appear in $(LANGUAGES)
+# compilers	- value to add to $(COMPILERS)
+# stagestuff	- files to add to $(STAGESTUFF)
+
+language="m2"
+
+compilers="cc1gm2\$(exeext)"
+
+stagestuff="gm2\$(exeext) cc1gm2\$(exeext) cc1gm2-cross\$(exeext)"
+
+target_libs="target-libstdc++-v3 target-libgm2"
+
+# The Modula-2 frontend needs C++ compiler during stage 1.
+lang_requires_boot_languages=c++
+
+# Do not build by default.
+build_by_default="no"
+
+gtfiles="\$(srcdir)/m2/gm2-lang.cc \
+         \$(srcdir)/m2/gm2-lang.h \
+         \$(srcdir)/m2/gm2-gcc/rtegraph.cc \
+         \$(srcdir)/m2/gm2-gcc/m2block.cc \
+         \$(srcdir)/m2/gm2-gcc/m2builtins.cc \
+         \$(srcdir)/m2/gm2-gcc/m2decl.cc \
+         \$(srcdir)/m2/gm2-gcc/m2except.cc \
+         \$(srcdir)/m2/gm2-gcc/m2expr.cc \
+         \$(srcdir)/m2/gm2-gcc/m2statement.cc \
+         \$(srcdir)/m2/gm2-gcc/m2type.cc"
+
+outputs="m2/config-make \
+         m2/Make-maintainer \
+        "
+
+mkdir -p m2/gm2-compiler-boot
+mkdir -p m2/gm2-libs-boot
+mkdir -p m2/gm2-ici-boot
+mkdir -p m2/gm2-libiberty
+mkdir -p m2/gm2-gcc
+mkdir -p m2/gm2-compiler
+mkdir -p m2/gm2-libs
+mkdir -p m2/gm2-libs-iso
+mkdir -p m2/gm2-compiler-paranoid
+mkdir -p m2/gm2-libs-paranoid
+mkdir -p m2/gm2-compiler-verify
+mkdir -p m2/boot-bin
+mkdir -p m2/gm2-libs-pim
+mkdir -p m2/gm2-libs-coroutines
+mkdir -p m2/gm2-libs-min
+mkdir -p m2/pge-boot
+mkdir -p plugin
+mkdir -p stage1/m2 stage2/m2 stage3/m2 stage4/m2
+
+# directories used by Make-maintainer
+
+mkdir -p m2/gm2-auto
+mkdir -p m2/gm2-pg-boot
+mkdir -p m2/gm2-pge-boot
+mkdir -p m2/gm2-ppg-boot
+mkdir -p m2/mc-boot
+mkdir -p m2/mc-boot-ch
+mkdir -p m2/mc-boot-gen
diff --git a/gcc/m2/config-make.in b/gcc/m2/config-make.in
new file mode 100644
index 00000000000..fb25ef44c33
--- /dev/null
+++ b/gcc/m2/config-make.in
@@ -0,0 +1,6 @@
+# Target libraries are put under this directory:
+TARGET_SUBDIR = @target_subdir@
+# Python3 executable name if it exists
+PYTHON = @PYTHON@
+# Does Python3 exist?  (yes/no).
+HAVE_PYTHON = @HAVE_PYTHON@
\ No newline at end of file
diff --git a/gcc/m2/configure b/gcc/m2/configure
new file mode 100755
index 00000000000..db1ca3d1f9b
--- /dev/null
+++ b/gcc/m2/configure
@@ -0,0 +1,4718 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.69 for m2  .
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '${1+"$@"}'='"$@"'
+  setopt NO_GLOB_SUBST
+else
+  case `(set -o) 2>/dev/null` in #(
+  *posix*) :
+    set -o posix ;; #(
+  *) :
+     ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='print -r --'
+  as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='printf %s\n'
+  as_echo_n='printf %s'
+else
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+    as_echo_n='/usr/ucb/echo -n'
+  else
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+    as_echo_n_body='eval
+      arg=$1;
+      case $arg in #(
+      *"$as_nl"*)
+	expr "X$arg" : "X\\(.*\\)$as_nl";
+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+      esac;
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+    '
+    export as_echo_n_body
+    as_echo_n='sh -c $as_echo_n_body as_echo'
+  fi
+  export as_echo_body
+  as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  PATH_SEPARATOR=:
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+      PATH_SEPARATOR=';'
+  }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order.  Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" ""	$as_nl"
+
+# Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+  *[\\/]* ) as_myself=$0 ;;
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+  done
+IFS=$as_save_IFS
+
+     ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+  as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+  exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there.  '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+  # into an infinite loop, continuously re-executing ourselves.
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+    _as_can_reexec=no; export _as_can_reexec;
+    # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+  fi
+  # We don't want this to propagate to other subprocesses.
+          { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
+  setopt NO_GLOB_SUBST
+else
+  case \`(set -o) 2>/dev/null\` in #(
+  *posix*) :
+    set -o posix ;; #(
+  *) :
+     ;;
+esac
+fi
+"
+  as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+  exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+  if (eval "$as_required") 2>/dev/null; then :
+  as_have_required=yes
+else
+  as_have_required=no
+fi
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  as_found=:
+  case $as_dir in #(
+	 /*)
+	   for as_base in sh bash ksh sh5; do
+	     # Try only shells that exist, to save several forks.
+	     as_shell=$as_dir/$as_base
+	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+  CONFIG_SHELL=$as_shell as_have_required=yes
+		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+  break 2
+fi
+fi
+	   done;;
+       esac
+  as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+  CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+      if test "x$CONFIG_SHELL" != x; then :
+  export CONFIG_SHELL
+             # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+    if test x$as_have_required = xno; then :
+  $as_echo "$0: This script requires a shell more modern than all"
+  $as_echo "$0: the shells that I found on your system."
+  if test x${ZSH_VERSION+set} = xset ; then
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+  else
+    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
+$0: including any error possibly output before this
+$0: message. Then install a modern shell, or manually run
+$0: the script under such a shell if you do have one."
+  fi
+  exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+  { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+  return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+  set +e
+  as_fn_set_status $1
+  exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+  case $as_dir in #(
+  -*) as_dir=./$as_dir;;
+  esac
+  test -d "$as_dir" || eval $as_mkdir_p || {
+    as_dirs=
+    while :; do
+      case $as_dir in #(
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+      *) as_qdir=$as_dir;;
+      esac
+      as_dirs="'$as_qdir' $as_dirs"
+      as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+	 X"$as_dir" : 'X\(//\)[^/]' \| \
+	 X"$as_dir" : 'X\(//\)$' \| \
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\/\)[^/].*/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\/\)$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\).*/{
+	    s//\1/
+	    q
+	  }
+	  s/.*/./; q'`
+      test -d "$as_dir" && break
+    done
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+  test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+  eval 'as_fn_append ()
+  {
+    eval $1+=\$2
+  }'
+else
+  as_fn_append ()
+  {
+    eval $1=\$$1\$2
+  }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+  eval 'as_fn_arith ()
+  {
+    as_val=$(( $* ))
+  }'
+else
+  as_fn_arith ()
+  {
+    as_val=`expr "$@" || test $? -eq 1`
+  }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+  as_status=$1; test $as_status -eq 0 && as_status=1
+  if test "$4"; then
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+  fi
+  $as_echo "$as_me: error: $2" >&2
+  as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
+  as_expr=expr
+else
+  as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+  as_basename=basename
+else
+  as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+  as_dirname=dirname
+else
+  as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+	 X"$0" : 'X\(//\)$' \| \
+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\/\(\/\/\)$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\/\(\/\).*/{
+	    s//\1/
+	    q
+	  }
+	  s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
+  sed -n '
+    p
+    /[$]LINENO/=
+  ' <$as_myself |
+    sed '
+      s/[$]LINENO.*/&-/
+      t lineno
+      b
+      :lineno
+      N
+      :loop
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+      t loop
+      s/-\n.*//
+    ' >$as_me.lineno &&
+  chmod +x "$as_me.lineno" ||
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+  # already done that, so ensure we don't try to do so again and fall
+  # in an infinite loop.  This has already happened in practice.
+  _as_can_reexec=no; export _as_can_reexec
+  # Don't try to exec as it changes $[0], causing all sort of problems
+  # (the dirname of $[0] is not the place where we might find the
+  # original and so on.  Autoconf is especially sensitive to this).
+  . "./$as_me.lineno"
+  # Exit status is that of the last command.
+  exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+  case `echo 'xy\c'` in
+  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
+  xy)  ECHO_C='\c';;
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
+       ECHO_T='	';;
+  esac;;
+*)
+  ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+  rm -f conf$$.dir/conf$$.file
+else
+  rm -f conf$$.dir
+  mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
+    as_ln_s='ln -s'
+    # ... but there are two gotchas:
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+    # In both cases, we have to default to `cp -pR'.
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+      as_ln_s='cp -pR'
+  elif ln conf$$.file conf$$ 2>/dev/null; then
+    as_ln_s=ln
+  else
+    as_ln_s='cp -pR'
+  fi
+else
+  as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+  as_mkdir_p='mkdir -p "$as_dir"'
+else
+  test -d ./-p && rmdir ./-p
+  as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='m2'
+PACKAGE_TARNAME='m2'
+PACKAGE_VERSION=' '
+PACKAGE_STRING='m2  '
+PACKAGE_BUGREPORT=''
+PACKAGE_URL=''
+
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+#  include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+#  include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='LTLIBOBJS
+LIBOBJS
+EGREP
+GREP
+CPP
+OBJEXT
+EXEEXT
+ac_ct_CC
+CPPFLAGS
+LDFLAGS
+CFLAGS
+CC
+regex_realpath
+target_os
+target_vendor
+target_cpu
+target
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+'
+      ac_precious_vars='build_alias
+host_alias
+target_alias
+CC
+CFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CPP'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+  # If the previous option needs an argument, assign it.
+  if test -n "$ac_prev"; then
+    eval $ac_prev=\$ac_option
+    ac_prev=
+    continue
+  fi
+
+  case $ac_option in
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+  *=)   ac_optarg= ;;
+  *)    ac_optarg=yes ;;
+  esac
+
+  # Accept the important Cygnus configure options, so we can diagnose typos.
+
+  case $ac_dashdash$ac_option in
+  --)
+    ac_dashdash=yes ;;
+
+  -bindir | --bindir | --bindi | --bind | --bin | --bi)
+    ac_prev=bindir ;;
+  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+    bindir=$ac_optarg ;;
+
+  -build | --build | --buil | --bui | --bu)
+    ac_prev=build_alias ;;
+  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+    build_alias=$ac_optarg ;;
+
+  -cache-file | --cache-file | --cache-fil | --cache-fi \
+  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+    ac_prev=cache_file ;;
+  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+    cache_file=$ac_optarg ;;
+
+  --config-cache | -C)
+    cache_file=config.cache ;;
+
+  -datadir | --datadir | --datadi | --datad)
+    ac_prev=datadir ;;
+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
+    datadir=$ac_optarg ;;
+
+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+  | --dataroo | --dataro | --datar)
+    ac_prev=datarootdir ;;
+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+    datarootdir=$ac_optarg ;;
+
+  -disable-* | --disable-*)
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+    # Reject names that are not valid shell variable names.
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid feature name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"enable_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+	 ac_unrecognized_sep=', ';;
+    esac
+    eval enable_$ac_useropt=no ;;
+
+  -docdir | --docdir | --docdi | --doc | --do)
+    ac_prev=docdir ;;
+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+    docdir=$ac_optarg ;;
+
+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+    ac_prev=dvidir ;;
+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+    dvidir=$ac_optarg ;;
+
+  -enable-* | --enable-*)
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+    # Reject names that are not valid shell variable names.
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid feature name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"enable_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+	 ac_unrecognized_sep=', ';;
+    esac
+    eval enable_$ac_useropt=\$ac_optarg ;;
+
+  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+  | --exec | --exe | --ex)
+    ac_prev=exec_prefix ;;
+  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+  | --exec=* | --exe=* | --ex=*)
+    exec_prefix=$ac_opta[...]

[diff truncated at 524288 bytes]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-14 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 17:45 [gcc r13-4704] Merge modula-2 front end onto gcc Gaius Mulley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).