OSDN Git Service

2007-02-24 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Feb 2007 19:55:47 +0000 (19:55 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Feb 2007 19:55:47 +0000 (19:55 +0000)
commit428b02b455d432f94f3c804dddb49392b2de3011
tree519e3bd036acaa7e2d9abb7b298d90d27eb168d5
parent40f89ebf453edf50b8dd69e7df4d8ca71eefff35
2007-02-24  Richard Guenther  <rguenther@suse.de>

PR middle-end/30951
* fold-const.c (fold_binary): Fold x +- CST op x for
EQ_EXPR and NE_EXPR.

* gcc.dg/pr30951.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122295 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr30951.c [new file with mode: 0644]