Gaius Mulley f9d489dbbe Remove unused variables, parameters and procedures.
2021-08-26  Gaius Mulley  <gaius.mulley@southwales.ac.uk>

gcc/m2/
	* gcc/m2/Make-lang.in (cflex.def): Removed from
	GM2-COMP-BOOT-DEFS.  (cflex.mod) Removed from
	GM2-COMP-BOOT-MODS.
	* gcc/m2/gm2-compiler/CLexBuf.mod (GetToken):
	Remove unused local variable a.  Use AdvanceToken
	instead of GetToken.  (AddTokToList) Remove unused variable b.
	(IsLastTokenEof) Remove unused variable t.
	* gcc/m2/gm2-compiler/M2ALU.mod (Reduce): New procedure.
	(PrintValue) Use Reduce rather than PopIntegerTree.
	* gcc/m2/gm2-compiler/M2Base.mod (Param): Remove unused
	global variable.  (IsVarientSame) Initialize ga at the procedure
	start. 	Initialize gb at the procedure start.
	* gcc/m2/gm2-compiler/M2CaseList.def (CaseBoundsResolved) tokenno
	parameter removed.
	* gcc/m2/gm2-compiler/M2CaseList.mod (RangePair) Data type
	simplified.  (ConflictingPair) Data type simplified.  (CaseList)
	Data type simplified.  (SetRange) Data type simplified.
	(Overlaps) Reformatted.  (OverlappingCaseBound) Remove tokenno
	parameter.
	* gcc/m2/gm2-compiler/M2GenGCC.mod:  (ConvertForComparison)
	Commented out.  (IsWord) Removed.  (HaveDifferentTypes) Removed.
	(FoldSetLogicalDifference) Commented out.  (DetermineFieldOf)
	Commented out.  (CodeMath) Commented out.
	* gcc/m2/gm2-compiler/M2Range.mod  (FoldCaseBounds) remove
	first parameter to TypeCaseBounds.  (CodeCaseBounds) remove
	first parameter to TypeCaseBounds.
	* gcc/m2/gm2-compiler/M2Search.mod (Assert) Imported.
	(GarbageDebugging) Declared.  (doDSdbEnter) Commented out.
	(doDSdbExit) Commented out.  (DSdbEnter) Commented out.
	(DSdbExit) Commented out.  (DSdbExit) Assert s # NIL.
	* gcc/m2/gm2-compiler/M2Swig.mod (Doresolveorder) Remove
	parameter main.  (DetermineParameter) Remove annotate parameter.
	* gcc/m2/gm2-compiler/ObjectFiles.mod (RegisterModuleObject)
	Remove local variable r as libc.close and libc.read procedure
	functions have an optional return result.  (IsRegistered)
	Remove local variable r as libc.close and libc.read procedure
	functions have an optional return result.
	* gcc/m2/gm2-compiler/PCSymBuild.mod (WalkConst): Commented out.
	* gcc/m2/gm2-compiler/Sets.mod (checkRange): Remove unused
	variable a.  Use Assert to check memset and memcpy results instead
	of assigning to a.  (DuplicateSet): Remove unused variable a.
	Use Assert to check return value of memset and memcpy instead of
	assigning to a.
	* gcc/m2/gm2-compiler/SymbolTable.mod (MetaErrorT2): Imported.
	(AlreadyImportedError) Commented out.  (DisplayScopes) Commented
	out.  (GetConstFromTypeTree) Commented out.
	(PutConstIntoTypeTree) Commented out.  (SkipHiddenType) Commented
	out.  (GetLastMainScopeId) Commented out.
	(PutExportUnImplemented) Commented out.  (DumpSymbols) Commented out.
	* gcc/m2/gm2-compiler/cflex.def (AdvanceToken): New procedure.
	* gcc/m2/gm2-libs-min/libc.c (abort):  Add infinite loop.
	(exit):  Add infinite loop.
	* gcc/m2/gm2-libs/libc.def (read): define return value as
	optional.  (write) define return value as optional.
	(close) define return value as optional.
	(system) define return value as optional.
	(readv) define return value as optional.
	(writev) define return value as optional.
	(chown) define return value as optional.
	(strcpy) define return value as optional.
	(strncpy) define return value as optional.
	(unlink) define return value as optional.
	(memcpy) define return value as optional.
	(memset) define return value as optional.
	(memmove) define return value as optional.
	(setenv) define return value as optional.
	(ftime) define return value as optional.
	(shutdown) define return value as optional.
	(rename) define return value as optional.
	(atexit) define return value as optional.
	(Makefile.in): Rebuilt.

Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
2021-08-26 20:15:19 +01:00
2021-07-22 00:16:46 +00:00
2021-07-10 00:16:53 +00:00
2021-08-18 10:36:35 +02:00
2021-07-07 00:17:12 +00:00
2021-07-25 00:16:22 +00:00
2021-06-15 00:16:37 +00:00
2021-07-22 00:16:46 +00:00
2021-08-14 00:16:29 +00:00
2021-08-18 00:16:48 +00:00
2021-08-18 00:16:48 +00:00
2021-07-10 00:16:53 +00:00
2021-08-17 00:16:32 +00:00
2021-08-11 00:16:27 +00:00
2021-07-01 00:16:41 +00:00
2021-06-18 00:16:58 +00:00
2021-06-12 00:16:27 +00:00
2021-06-09 00:16:30 +00:00
2021-08-12 00:16:28 +00:00
2021-08-18 00:16:48 +00:00
2021-06-26 00:16:39 +00:00
2021-06-24 16:51:40 +05:30
2021-08-10 00:16:28 +00:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.
Description
No description provided
Readme 2.7 GiB
Languages
C++ 30.7%
C 30.1%
Ada 14.4%
D 6.1%
Go 5.7%
Other 12.5%