diff options
author | Richard Biener <rguenther@suse.de> | 2016-07-26 13:10:33 +0000 |
---|---|---|
committer | Prathamesh Kulkarni <prathamesh3492@gcc.gnu.org> | 2016-07-26 13:10:33 +0000 |
commit | 8f63caf6826e918678482413161e34b037a13fa7 (patch) | |
tree | b13c6e8ce4b86039e91187312d3fd3205772dd46 /gcc/stringpool.h | |
parent | c4f820552a06d38c06d1b9d9806052accad88b54 (diff) | |
download | gcc-8f63caf6826e918678482413161e34b037a13fa7.zip gcc-8f63caf6826e918678482413161e34b037a13fa7.tar.gz gcc-8f63caf6826e918678482413161e34b037a13fa7.tar.bz2 |
re PR middle-end/70920 (if ((intptr_t)ptr == 0) doesn't get simplified to if (ptr == 0))
2016-07-26 Richard Biener <rguenther@suse.de>
Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
PR middle-end/70920
* match.pd ((intptr)x eq/ne CST to x eq/ne (typeof x) CST): New
pattern.
testsuite/
* gcc.dg/pr70920-1.c: New test-case.
* gcc.dg/pr70902-2.c: Likewise.
* gcc.dg/pr70920-3.c: Likewise.
* gcc.dg/pr70920-4.c: Likewise
* gcc.dg/tree-ssa/ssa-dom-branch-1.c: Change scan-tree-dump-times to
2 instead of 3.
Co-Authored-By: Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
From-SVN: r238754
Diffstat (limited to 'gcc/stringpool.h')
0 files changed, 0 insertions, 0 deletions