This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r176448 - in /branches/gcc-4_5-branch/gcc: Chan...


Author: jakub
Date: Tue Jul 19 12:44:46 2011
New Revision: 176448

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176448
Log:
	Backport from mainline
	2011-05-18  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/49039
	* tree-vrp.c (extract_range_from_binary_expr): For
	MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]>
	return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>].

	* gcc.c-torture/execute/pr49039.c: New test.
	* gcc.dg/tree-ssa/pr49039.c: New test.
	* g++.dg/torture/pr49039.C: New test.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/torture/pr49039.C
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/execute/pr49039.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pr49039.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-vrp.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]