GCC modified for the FreeChainXenon project
Find a file
Richard Biener 5fd1cbfd65 tree-optimization/113895 - consistency check fails in copy_reference_ops_from_ref
The following addresses consistency check fails in copy_reference_ops_from_ref
when we are handling out-of-bound array accesses (it's almost impossible
to identically mimic the get_ref_base_and_extent behavior).  It also
addresses the case where an out-of-bound constant offset computes to a
-1 off which is the special value for "unknown".  This patch basically
turns off verification in those cases.

	PR tree-optimization/113895
	* tree-ssa-sccvn.cc (copy_reference_ops_from_ref): Disable
	consistency checking when there are out-of-bound array
	accesses.  Allow -1 off when from an array reference with
	constant index.

	* gcc.dg/torture/pr113895-2.c: New testcase.
	* gcc.dg/torture/pr113895-3.c: Likewise.
	* gcc.dg/torture/pr113895-4.c: Likewise.
2024-02-16 12:51:57 +01:00
.github
c++tools
config
contrib Daily bump. 2024-02-06 00:18:46 +00:00
fixincludes
gcc tree-optimization/113895 - consistency check fails in copy_reference_ops_from_ref 2024-02-16 12:51:57 +01:00
gnattools
gotools
include
INSTALL
libada
libatomic Daily bump. 2024-02-15 00:17:50 +00:00
libbacktrace
libcc1 Daily bump. 2024-02-10 00:17:14 +00:00
libcody
libcpp
libdecnumber
libffi
libgcc Daily bump. 2024-02-15 00:17:50 +00:00
libgfortran Daily bump. 2024-02-15 00:17:50 +00:00
libgm2 Daily bump. 2024-02-14 00:17:32 +00:00
libgo libgo: bump libgo version for GCC 14 release 2024-02-05 11:28:30 -08:00
libgomp Daily bump. 2024-02-16 00:17:22 +00:00
libgrust
libiberty Daily bump. 2024-02-16 00:17:22 +00:00
libitm Daily bump. 2024-02-06 00:18:46 +00:00
libobjc
libphobos Daily bump. 2024-02-13 00:17:51 +00:00
libquadmath
libsanitizer Daily bump. 2024-02-07 00:18:31 +00:00
libssp Daily bump. 2024-02-07 00:18:31 +00:00
libstdc++-v3 libstdc++: Fix FAIL: 26_numerics/random/pr60037-neg.cc [PR113931] 2024-02-16 10:49:26 +00:00
libvtv
lto-plugin
maintainer-scripts
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2024-02-11 00:17:01 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
MAINTAINERS Add Myself to Write After Approval and DCO List 2024-02-10 12:49:29 -06:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
SECURITY.txt
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.