re PR tree-optimization/23445 (ICE with -O1 -ftree-vrp -fdelete-null-pointer-checks)
commit012a7a78174b3612ea3a63944d70ee714bb4e9cf
authorDiego Novillo <dnovillo@redhat.com>
Tue, 4 Oct 2005 03:02:19 +0000 (4 03:02 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Tue, 4 Oct 2005 03:02:19 +0000 (3 23:02 -0400)
treebad0acaaba7970ed145f998726734ce13187ad34
parent5c06c5cef5a993cd7f35daecf6a2e43447a2a476
re PR tree-optimization/23445 (ICE with -O1 -ftree-vrp -fdelete-null-pointer-checks)

PR 23445
* tree-vrp.c (extract_range_from_assert): If the new numeric
range created out of the assertion contradicts the existing
numeric range of the ASSERT_EXPR variable, make the new range
varying.

testsuite/
PR 23445
* gcc.c-torture/compile/pr23445.c: New test.

From-SVN: r104936
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr23445.c [new file with mode: 0644]
gcc/tree-vrp.c