Go to file
Richard Sandiford eb74135dd3 recog: Add a way of temporarily undoing changes
In some cases, it can be convenient to roll back the changes that
have been made by validate_change to see how things looked before,
then reroll the changes.  For example, this makes it possible
to defer calculating the cost of an instruction until we know that
the result is actually needed.  It can also make dumps easier to read.

This patch adds a couple of helper functions for doing that.

gcc/
	* recog.h (temporarily_undo_changes, redo_changes): Declare.
	* recog.c (temporarily_undone_changes): New variable.
	(validate_change_1, confirm_change_group): Check that it's zero.
	(cancel_changes): Likewise.
	(swap_change, temporarily_undo_changes): New functions.
	(redo_changes): Likewise.
2020-12-17 00:15:07 +00:00
c++tools c++tools: fix install-strip [PR 98328] 2020-12-16 11:57:31 -08:00
config Daily bump. 2020-11-26 00:16:41 +00:00
contrib Daily bump. 2020-12-16 00:16:31 +00:00
fixincludes Daily bump. 2020-12-15 00:16:35 +00:00
gcc recog: Add a way of temporarily undoing changes 2020-12-17 00:15:07 +00:00
gnattools
gotools Daily bump. 2020-10-30 00:16:29 +00:00
include Daily bump. 2020-12-10 00:16:47 +00:00
INSTALL
intl intl: Unbreak intl build with bison 3 when no regeneration is needed [PR92008] 2020-04-16 11:55:00 +02:00
libada Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
libatomic Daily bump. 2020-12-06 00:16:44 +00:00
libbacktrace Daily bump. 2020-12-06 00:16:44 +00:00
libcc1 Daily bump. 2020-12-06 00:16:44 +00:00
libcody c++: Another solaris header use [PR 98315] 2020-12-16 11:57:31 -08:00
libcpp Daily bump. 2020-12-15 00:16:35 +00:00
libdecnumber Daily bump. 2020-07-31 00:16:26 +00:00
libffi Daily bump. 2020-12-06 00:16:44 +00:00
libgcc Daily bump. 2020-12-09 00:16:50 +00:00
libgfortran Daily bump. 2020-12-06 00:16:44 +00:00
libgo libgo: update to 1.15.6 release 2020-12-08 14:01:04 -08:00
libgomp Daily bump. 2020-12-10 00:16:47 +00:00
libhsail-rt Daily bump. 2020-12-06 00:16:44 +00:00
libiberty Daily bump. 2020-11-26 00:16:41 +00:00
libitm Daily bump. 2020-12-06 00:16:44 +00:00
libobjc Daily bump. 2020-12-06 00:16:44 +00:00
liboffloadmic Daily bump. 2020-11-30 00:16:27 +00:00
libphobos Daily bump. 2020-12-06 00:16:44 +00:00
libquadmath Daily bump. 2020-12-06 00:16:44 +00:00
libsanitizer Daily bump. 2020-12-06 00:16:44 +00:00
libssp Daily bump. 2020-12-06 00:16:44 +00:00
libstdc++-v3 libstdc++: Add C++ runtime support for new 128-bit long double format 2020-12-16 23:25:01 +00:00
libvtv Daily bump. 2020-12-06 00:16:44 +00:00
lto-plugin Daily bump. 2020-11-30 00:16:27 +00:00
maintainer-scripts maintainer-scripts: Use /sourceware/snapshot-tmp/gcc as temp directory if possible 2020-12-17 00:15:23 +01:00
zlib Daily bump. 2020-12-06 00:16:44 +00:00
.dir-locals.el .dir-locals.el: Set 'fill-column' to 80 for c-mode 2020-12-14 12:19:56 +01:00
.gitattributes Add *.md diff=md. 2020-01-15 14:29:53 +01:00
.gitignore Sync .gitignore with binutils-gdb 2020-12-02 11:04:01 -07:00
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2020-12-16 00:16:31 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in config-ml.in: Suppress output from multi-do recipes 2020-11-09 14:28:37 +00:00
config.guess config.sub, config.guess : Import upstream 2020-11-07. 2020-11-23 19:30:01 +00:00
config.rpath
config.sub config.sub, config.guess : Import upstream 2020-11-07. 2020-11-23 19:30:01 +00:00
configure Add C++tools 2020-12-15 07:42:59 -08:00
configure.ac Add C++tools 2020-12-15 07:42:59 -08:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4 Darwin : Update libtool and dependencies for Darwin20 [PR97865] 2020-12-05 08:43:20 +00:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh Do not use HAVE_DOS_BASED_FILE_SYSTEM for Cygwin. 2020-04-17 09:22:51 +02:00
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: Add myself as arc port maintainer 2020-12-02 16:09:21 +02:00
Makefile.def Add C++tools 2020-12-15 07:42:59 -08:00
Makefile.in Add C++tools 2020-12-15 07:42:59 -08:00
Makefile.tpl Add C++tools 2020-12-15 07:42:59 -08:00
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
symlink-tree
test-driver
ylwrap

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.