Go to file
Jakub Jelinek 20b8d7342c re PR middle-end/50865 (Invalid code generation for INT64_MIN % 1 on x86_64)
PR middle-end/50865
	PR tree-optimization/69097
	* fold-const.h (expr_not_equal_to): New prototype.
	* fold-const.c: Include stringpool.h and tree-ssanames.h.
	(expr_not_equal_to): New function.
	* match.pd (X % -Y is the same as X % Y): Don't optimize
	unless X is known not to be equal to minimum or Y is known
	not to be equal to -1.
	* tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
	fold TRUNC_MOD_EXPR if the second argument is not a power of two.
	(simplify_stmt_using_ranges): Adjust caller.
	(vrp_finalize): Call set_value_range on SSA_NAMEs before calling
	substitute_and_fold.

	* gcc.c-torture/execute/pr50865.c: New test.
	* gcc.c-torture/execute/pr69097-1.c: New test.
	* gcc.c-torture/execute/pr69097-2.c: New test.
	* gcc.dg/pr69097-1.c: New test.
	* gcc.dg/pr69097-2.c: New test.

From-SVN: r232188
2016-01-09 08:37:04 +01:00
boehm-gc
config
contrib
fixincludes
gcc re PR middle-end/50865 (Invalid code generation for INT64_MIN % 1 on x86_64) 2016-01-09 08:37:04 +01:00
gnattools
gotools
include longlong: fix sh -Wundef builds 2016-01-07 22:18:09 +00:00
INSTALL
intl
libada
libatomic Fix libatomic multilib parallel build (PR other/67627) 2016-01-06 14:51:35 +00:00
libbacktrace
libcc1
libcilkrts
libcpp re PR c++/69145 (Bogus 'warning: #pragma implementation for ‘...’ appears after file is included') 2016-01-08 07:43:31 +01:00
libdecnumber
libffi
libgcc aix-unwind.h (ucontext_for): Handle AIX 7.1 specificities. 2016-01-05 18:10:31 +00:00
libgfortran
libgo
libgomp Move pr66680.f90 to libgomp 2016-01-07 10:18:29 -08:00
libiberty libiberty: {count,dup,write}argv: constify argv input slightly 2016-01-05 20:23:30 +00:00
libitm
libjava
libmpx
libobjc
liboffloadmic
libquadmath
libsanitizer
libssp
libstdc++-v3 Use -std option in test for C99 macros in <cmath> 2016-01-08 14:59:36 +00:00
libvtv
lto-plugin
maintainer-scripts
zlib
.dir-locals.el
.gitignore
ABOUT-NLS
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
README
symlink-tree
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.