Go to file
Richard Guenther 2ab8dbf48e re PR tree-optimization/30317 (VRP cannot extract a range from (unsigned int) i + 0x0ffffffff > 4)
2008-03-28  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/30317
	PR tree-optimization/30911
	PR tree-optimization/34793
	* tree-vrp.c (set_and_canonicalize_value_range): New function.
	(struct assert_locus_d): New member EXPR.
	(register_new_assert_for): Add EXPR parameter to support
	ASSERT_EXPR <name, expr OP limit>.
	(register_edge_assert_for_1): Adjust callers.
	(find_assert_locations): Likewise.
	(process_assert_insertions_for): Build condition from
	expression.
	(extract_range_from_assert): Handle ASSERT_EXPRs
	of the form ASSERT_EXPR <name, expr OP limit>.
	(register_edge_assert_for_2): New helper registering
	asserts for comparisons.  Recognize range tests of the form
	(unsigned)i - CST1 OP CST2.
	(register_edge_assert_for_1): Use it.
	(register_edge_assert_for): Likewise.
	* tree.def (ASSERT_EXPR): Document extra allowed conditional
	expressions.
	(needs_overflow_infinity): Integer sub-types
	do not need overflow infinities.
	(vrp_val_is_max): The extreme values of integer sub-types
	are those of the base type.
	(vrp_val_is_min): Likewise.

	* gcc.dg/tree-ssa/vrp35.c: New testcase.
	* gcc.dg/tree-ssa/vrp36.c: Likewise.
	* gcc.dg/tree-ssa/vrp37.c: Likewise.

From-SVN: r133680
2008-03-28 12:20:09 +00:00
boehm-gc configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
config extensions.m4: New. 2008-03-27 09:46:19 +00:00
contrib patch_tester.sh (initialization): Initialize svnpatch and stop. 2008-03-10 21:33:09 +00:00
fixincludes re PR target/20366 (AIX g++ -D_LARGE_FILES fails to compile #include <iostream>) 2008-03-07 06:53:59 +00:00
gcc re PR tree-optimization/30317 (VRP cannot extract a range from (unsigned int) i + 0x0ffffffff > 4) 2008-03-28 12:20:09 +00:00
gnattools re PR ada/34284 (Missing dynamic library support for GNAT 4.3.0 on x86-*-Darwin8) 2007-12-05 14:34:48 +00:00
include sha1.h: New file, from gnulib. 2008-03-25 00:54:53 +00:00
INSTALL
intl aclocal.m4: Regenerate. 2008-03-18 06:34:07 +00:00
libada * Makefile.in: Add dummy install-pdf target. 2007-03-01 16:05:13 -08:00
libcpp * fr.po: Update. 2008-03-28 02:07:37 +00:00
libdecnumber decCommonSymbols.h: Commit. 2008-01-25 18:47:12 +00:00
libffi sysv.S: Add .note.GNU-stack on Linux. 2008-03-27 00:07:40 +00:00
libgcc re PR target/35401 (libstdc++ linked to system /usr/lib/libgcc_s.1.dylib not new gcc4.3 libgcc_s.1.dylib) 2008-03-02 23:06:32 +01:00
libgfortran unix.c (fd_close): Do not close STDIN. 2008-03-27 05:30:18 +00:00
libgomp re PR middle-end/35611 (FAIL: libgomp.c/omp-nested-1.c execution test) 2008-03-18 13:21:02 +01:00
libiberty configure.ac (frags): Don't set, use frag instead. 2008-03-27 13:40:08 +00:00
libjava configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
libmudflap common.opt (Wmudflap): New option. 2008-03-20 16:37:47 +00:00
libobjc * configure: Regenerate. 2008-01-24 11:28:13 -05:00
libssp configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
libstdc++-v3 testsuite_abi.h: Remove symbol_objects, symbol_names typedefs. 2008-03-26 22:29:13 +00:00
maintainer-scripts * crontab: Add 4.3 branch. Set trunk to 4.4. 2008-02-18 23:49:19 +01:00
zlib configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
ABOUT-NLS
ChangeLog Makefile.tpl (PICFLAG, [...]): Remove. 2008-03-27 09:35:02 +00:00
ChangeLog.tree-ssa
compile compile: Make executable. 2008-02-01 00:06:00 +00:00
config-ml.in config-ml.in: Remove 64bit configure tests. 2007-12-02 13:27:37 +00:00
config.guess * config.sub, config.guess: Update from upstream sources. 2008-03-13 10:43:12 +11:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 14:55:20 -04:00
config.sub * config.sub, config.guess: Update from upstream sources. 2008-03-13 10:43:12 +11:00
configure configure.ac: Add support for --enable-gold. 2008-03-21 15:40:16 +00:00
configure.ac configure.ac: Add support for --enable-gold. 2008-03-21 15:40:16 +00:00
COPYING COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
COPYING3 COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
COPYING3.LIB COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
COPYING.LIB Update COPYING.LIB from upstream. Correct last Changelog. 2005-07-14 01:41:54 +00:00
depcomp top level: 2005-06-13 08:26:05 +00:00
install-sh COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
libtool-ldflags re PR bootstrap/31906 ("-Xcompiler" is inserted after "-Xlinker" when building libstdc++) 2007-09-20 10:20:05 +00:00
libtool.m4 backport: Deal with Autoconf 2.62's semantic change in m4_append. 2008-03-16 06:47:18 +00:00
lt~obsolete.m4 lt~obsolete.m4: New. 2007-07-05 10:36:59 -07:00
ltgcc.m4 [multiple changes] 2007-05-31 06:40:42 +00:00
ltmain.sh ltmain.sh: Fix Darwin verstring, remove ${wl}. 2007-05-25 21:26:27 +02:00
ltoptions.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
ltsugar.m4 backport: Deal with Autoconf 2.62's semantic change in m4_append. 2008-03-16 06:47:18 +00:00
ltversion.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
MAINTAINERS Jakub Staszak <kuba@et.pl> 2008-03-26 22:13:26 +00:00
Makefile.def configure.ac: Add support for --enable-gold. 2008-03-21 15:40:16 +00:00
Makefile.in Makefile.tpl (PICFLAG, [...]): Remove. 2008-03-27 09:35:02 +00:00
Makefile.tpl Makefile.tpl (PICFLAG, [...]): Remove. 2008-03-27 09:35:02 +00:00
missing COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
mkdep
mkinstalldirs COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
move-if-change Import from Autoconf sources: 2005-11-21 13:21:37 +11:00
README
README.SCO * README.SCO: Update the URL. 2005-05-08 17:49:46 +00:00
symlink-tree COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
ylwrap COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file 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.html for how to report bugs usefully.