Go to file
Richard Biener 0bf8cd9d5e Simplify maybe_fold_reference API
This simplifies the maybe_fold_reference API reflecting that it
no longer canonicalizes refs (that's done with another function)
but only performs constant folding and thus does nothing for is_lhs.

This in turn allows to rip out quite some dead code and one user
of valid_gimple_rhs_p.

2021-04-16  Richard Biener  <rguenther@suse.de>

	* gimple-fold.c (maybe_fold_reference): Remove is_lhs
	parameter (and assume it to be false).
	(fold_gimple_assign): Adjust, remove all callers of
	maybe_fold_reference calling it with is_lhs true.
	(gimple_fold_call): Likewise.
	(fold_stmt_1): Likewise.
2021-04-21 11:09:49 +02:00
c++tools
config Daily bump. 2021-04-14 00:16:24 +00:00
contrib Daily bump. 2021-04-21 00:16:23 +00:00
fixincludes
gcc Simplify maybe_fold_reference API 2021-04-21 11:09:49 +02:00
gnattools
gotools
include
INSTALL
intl Daily bump. 2021-04-17 00:16:25 +00:00
libada
libatomic
libbacktrace
libcc1
libcody
libcpp Daily bump. 2021-04-20 00:16:27 +00:00
libdecnumber
libffi
libgcc
libgfortran
libgo
libgomp Fortran/OpenMP: Add 'omp depobj' and 'depend(mutexinoutset:' 2021-04-21 10:59:18 +02:00
libhsail-rt
libiberty
libitm
libobjc
liboffloadmic
libphobos libphobos: Fix build fails for powerpc-linux 2021-04-21 02:27:49 +02:00
libquadmath
libsanitizer Daily bump. 2021-04-18 00:16:21 +00:00
libssp
libstdc++-v3 Daily bump. 2021-04-21 00:16:23 +00:00
libvtv
lto-plugin
maintainer-scripts Daily bump. 2021-04-21 00:16:23 +00:00
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
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.