Go to file
Aditya Kumar 2475775256 [graphite] fix pr61929
This fixes bootstrap of GCC with BOOT_CFLAGS="-g -O2 -fgraphite-identity
-floop-nest-optimize -floop-block -floop-interchange -floop-strip-mine".  It
passes regstrap on amd64-linux.  A previous change
(https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=213816), replaced
isl_int with isl_val because isl_int would be deprecated. Since isl_val has
stricter checks, it exposed the bug.  In the test case (isl_set_max_val) would
return infinity which would remain unchecked.  We now check if the value
returned is an integer or not, and bail out if it isn't.  The other problem was
that we were allowing all kinds of data-refs in a scop.  Now we discard a scop
if it has any date-ref other than (ARRAY_REF, MEM_REF, COMPONENT_REF).

	PR middle-end/61929
	* graphite-dependences.c (add_pdr_constraints): Renamed
	pdr->extent to pdr->subscript_sizes.
	* graphite-interchange.c (build_linearized_memory_access): Add
	back all gcc_assert's that the "isl_int to isl_val conversion"
	patch has removed.  Refactored.
	(pdr_stride_in_loop): Renamed pdr->extent to pdr->subscript_sizes.
	* graphite-poly.c (new_poly_dr): Same.
	(free_poly_dr): Same.
	* graphite-poly.h (struct poly_dr): Same.
	* graphite-scop-detection.c (stmt_has_simple_data_refs_p): Ignore
	all data references other than ARRAY_REF, MEM_REF, and COMPONENT_REF.
	* graphite-scop-detection.h: Fix space.
	* graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Add
	back all gcc_assert's removed by a previous patch.
	(wrap): Remove the_isl_ctx global variable that the same patch has
	added.
	(build_loop_iteration_domains): Same.
	(add_param_constraints): Same.
	(pdr_add_data_dimensions): Same.  Refactored.
	(build_poly_dr): Renamed extent to subscript_sizes.

testsuite/
	PR middle-end/61929
	* gcc.dg/graphite/pr61929.c: New.

Co-Authored-By: Sebastian Pop <s.pop@samsung.com>

From-SVN: r225942
2015-07-17 16:34:21 +00:00
INSTALL
boehm-gc boehm-gc: Bump to automake 1.11.6 2015-05-13 10:56:33 +00:00
config This patch syncs zlib.m4 with binutils-gdb and uses AM_ZLIB from zlib.m4 2015-07-14 07:25:35 -07:00
contrib check_GNU_style.sh: Fix quoting in cat_with_prefix 2015-07-15 15:41:21 +00:00
fixincludes inclhack.def (aix_externc): New fix. 2015-05-21 13:25:00 -04:00
gcc [graphite] fix pr61929 2015-07-17 16:34:21 +00:00
gnattools configure.ac (*-*-dragonfly*): New configuration. 2015-06-08 07:27:56 +00:00
gotools gotools: Bump to automake 1.11.6 2015-05-13 10:59:14 +00:00
include Remove trailing spaces in demangle.h 2015-07-14 09:14:40 -07:00
intl intl: Bump to automake 1.11.6 2015-05-13 10:37:11 +00:00
libada re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.) 2015-04-10 06:43:52 +00:00
libatomic configure.tgt: Add *-*-dragonfly to supported targets. 2015-07-14 16:36:51 +01:00
libbacktrace re PR sanitizer/65479 (sanitizer stack trace missing frames past #0 on powerpc64) 2015-06-11 18:01:50 -06:00
libcc1 hash-traits.h (free_ptr_hash): New class. 2015-06-25 17:06:24 +00:00
libcilkrts libcilkrts: Bump to automake 1.11.6 2015-05-13 11:01:24 +00:00
libcpp Address -Wsign-compare diagnostics 2015-07-08 16:48:11 +02:00
libdecnumber IA MCU psABI support: changes to libraries 2015-06-30 09:42:07 -07:00
libffi libffi: Bump to automake 1.11.6 2015-05-13 11:23:24 +00:00
libgcc libgcc: fix build with older make 2015-07-17 07:14:25 +00:00
libgfortran PR 66861 Fix null pointer crash on mingw. 2015-07-14 23:26:06 +03:00
libgo compiler,runtime: Determine if allocations need new pointers in runtime. 2015-07-14 01:22:25 +00:00
libgomp mkoffload.c (process): Constify target data. 2015-07-17 14:07:53 +00:00
libiberty Fix several crashes of C++ demangler on fuzzed input. 2015-07-13 05:49:54 +00:00
libitm re PR libitm/52482 (libitm INVALID MNEMONIC in .S (powerpc asm)) 2015-07-03 17:28:43 +00:00
libjava configure.host: Add bits for FreeBSD amd64 and i386. 2015-05-28 20:13:55 +02:00
libmpx linux-common.h (LINK_MPX): New. 2015-07-16 08:36:02 +00:00
libobjc sjlj.m4: New file. 2015-05-13 21:15:31 +00:00
liboffloadmic mkoffload.c (process): Constify target data. 2015-07-17 14:07:53 +00:00
libquadmath libquadmath: Bump to automake 1.11.6 2015-05-13 11:27:43 +00:00
libsanitizer libsanitizer: Bump to automake 1.11.6 2015-05-13 11:11:58 +00:00
libssp libssp: Bump to automake 1.11.6 2015-05-13 11:12:39 +00:00
libstdc++-v3 status_cxx2011.xml: Add caveats for native_handle. 2015-07-17 17:08:14 +01:00
libvtv libvtv: Bump to automake 1.11.6 2015-05-13 11:28:41 +00:00
lto-plugin configure.ac: Add AC_USE_SYSTEM_EXTENSIONS. 2015-07-02 10:30:07 +02:00
maintainer-scripts update_version_svn: Add gcc-4_8-branch to IGNORE_BRANCHES. 2015-06-23 07:48:06 +00:00
zlib zlib: Bump to automake 1.11.6 2015-05-13 11:31:32 +00:00
.dir-locals.el
.gitignore
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog Sync toplevel configure with binutils-gdb 2015-07-14 08:32:05 -07:00
ChangeLog.jit
ChangeLog.tree-ssa
MAINTAINERS * MAINTAINERS (Write After Approval): Add myself. 2015-06-23 08:52:51 +00:00
Makefile.def Sync toplevel files binutils-gdb 2015-07-14 08:03:11 -07:00
Makefile.in Sync toplevel files binutils-gdb 2015-07-14 08:03:11 -07:00
Makefile.tpl revert: configure.ac: Add -std=c++98 to stage1_cxxflags. 2015-05-21 13:05:33 -04:00
README
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Sync toplevel configure with binutils-gdb 2015-07-14 08:32:05 -07:00
configure.ac Sync toplevel configure with binutils-gdb 2015-07-14 08:32:05 -07: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
symlink-tree
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.