Go to file
Gaius Mulley 06642d296d Improvements to binary and unary expression error messages.
This patch improves binary expression error messages and unary expression
error messages.  The location uses the virtual token created
and the description about the error contains more detail.

gcc/m2/ChangeLog:

	* gm2-compiler/M2GCCDeclare.mod: Corrected spacing.
	* gm2-compiler/M2GenGCC.mod (M2MetaError): Import MetaErrorStringT1.
	(DynamicStrings): Import ConCatChar.  (M2Quads) Import
	GetM2OperatorDesc and GetQuadOp.
	(m2except): Import list inserted identifiers GetM2OperatorDesc and
	GetQuadOp.
	(CodeMakeAdr): Corrected grammer of the error message.
	(FoldMakeAdr): Corrected grammer of the error message.
	(CheckBinaryOperand): New procedure function.
        (BinaryOperands): Rewritten.
	(UnaryOperand): New procedure function.
	(FoldAdd): Corrected spacing.
	(CodeAddChecked): Corrected spacing.
	(CodeAddCheck): Corrected spacing.
	(CodeMult): Corrected spacing.
	(CodeModM2Checked): Corrected spacing.
	(CodeModM2Checked): Corrected spacing.
	(FoldDivM2): Corrected spacing.
	(CodeSetShift): Corrected spacing.
	(FoldSetRotate): Corrected spacing.
	(CodeSetRotate): Corrected spacing.
	(CodeUnaryCheck): Corrected spacing.
	(CodeUnaryCheck): Corrected spacing.
	(CheckReferenced): Improved error message grammar.
	(CodeIfLess): Improved error message grammar.
	(CodeIfGre): Improved error message grammar.
	(CodeIfLessEqu): Improved error message grammar.
	(CodeIfSetEqu): Improved error message grammar.
	* gm2-compiler/M2Quads.def (GetQuadOp): New procedure function
	defined and exported.  (GetM2OperatorDesc) New procedure function
	defined and exported.
	* gm2-compiler/M2Quads.mod (GetQuadOp): New procedure function.
	(GetM2OperatorDesc) New procedure function.
	* gm2-compiler/M2Scope.mod (GetGlobalQuads): Added condition
	for InitStartOp, which fixes an error scope bug when resolving
	constant expressions.
	* gm2-gcc/m2statement.def: Improved comment.

Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
2022-08-11 18:15:34 +01:00
INSTALL
c++tools Daily bump. 2022-03-19 00:16:22 +00:00
config Daily bump. 2022-08-02 00:16:51 +00:00
contrib Daily bump. 2022-08-03 00:16:48 +00:00
fixincludes Daily bump. 2022-02-28 00:16:17 +00:00
gcc Improvements to binary and unary expression error messages. 2022-08-11 18:15:34 +01:00
gnattools
gotools Daily bump. 2022-02-14 00:16:23 +00:00
include Daily bump. 2022-07-13 00:16:33 +00:00
intl
libada Update copyright years. 2022-01-03 10:42:10 +01:00
libatomic Daily bump. 2022-06-03 00:16:40 +00:00
libbacktrace Daily bump. 2022-07-09 00:16:54 +00:00
libcc1 Merge branch 'master' into devel/modula-2. 2022-07-06 20:04:26 +01:00
libcody Daily bump. 2022-06-04 00:16:27 +00:00
libcpp Daily bump. 2022-07-16 00:16:30 +00:00
libdecnumber Daily bump. 2022-05-21 00:16:32 +00:00
libffi
libgcc Daily bump. 2022-07-19 00:16:32 +00:00
libgfortran Daily bump. 2022-08-02 00:16:51 +00:00
libgm2 PR-106443 Fixes for multilib install. 2022-08-07 23:05:22 +01:00
libgo libgo: use SYS_timer_settime32 2022-07-30 10:35:23 -07:00
libgomp Daily bump. 2022-07-30 00:16:30 +00:00
libiberty Daily bump. 2022-07-23 00:16:27 +00:00
libitm Daily bump. 2022-06-03 00:16:40 +00:00
libobjc Update copyright years. 2022-01-03 10:42:10 +01:00
liboffloadmic Merge branch 'master' into devel/modula-2. 2022-07-06 20:04:26 +01:00
libphobos Daily bump. 2022-08-04 00:16:49 +00:00
libquadmath Daily bump. 2022-01-12 00:16:39 +00:00
libsanitizer libsanitizer: Cherry-pick 2bfb0fcb51510f22723c8cdfefe from upstream 2022-08-01 06:10:31 +02:00
libssp Update copyright years. 2022-01-03 10:42:10 +01:00
libstdc++-v3 Daily bump. 2022-08-06 00:16:27 +00:00
libvtv Update copyright years. 2022-01-03 10:42:10 +01:00
lto-plugin Daily bump. 2022-08-02 00:16:51 +00:00
maintainer-scripts Daily bump. 2022-07-29 00:16:21 +00:00
zlib
.dir-locals.el
.gitattributes
.gitignore .gitignore: do not ignore config.h 2022-07-19 17:07:04 +03:00
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog Daily bump. 2022-08-05 00:16:24 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
MAINTAINERS Add myself as AutoFDO maintainer 2022-08-04 13:38:28 -07:00
Makefile.def Merge branch 'master' into devel/modula-2. 2022-08-08 11:38:49 +01:00
Makefile.in Rebuilt autoconf files using gnu automake-1.15.1. 2022-08-04 16:35:06 +01:00
Makefile.tpl Shared library scaffold fixes. 2022-08-02 20:27:11 +01:00
README
ar-lib
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Merge branch 'master' into devel/modula-2. 2022-08-08 11:38:49 +01:00
configure.ac Merge branch 'master' into devel/modula-2. 2022-07-06 20:04:26 +01:00
depcomp
install-sh
libtool-ldflags
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
symlink-tree
test-driver
ylwrap

README

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.