PR tree-optimization/57331
commit1c872eeefcf1ab4bcb0520e69935fbed348ad74b
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 2013 15:17:31 +0000 (21 15:17 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 2013 15:17:31 +0000 (21 15:17 +0000)
treed47ff968d7466a7eaeb156f5bd570935376bfd20
parent5200ae0b803f2a653b91bab73310bc55d152aaa7
PR tree-optimization/57331
* tree-vrp.c (simplify_cond_using_ranges): Don't optimize
comparison of conversion from pointer type to integral type
with integer.

* gcc.c-torture/compile/pr57331.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199148 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr57331.c [new file with mode: 0644]
gcc/tree-vrp.c