2006-06-19 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Jun 2006 14:48:47 +0000 (14:48 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Jun 2006 14:48:47 +0000 (14:48 +0000)
commit68826b15f5e926316dafc8fc1528d6c14d401b16
tree94e0d422465e6c5021873e4eb47e883ac058f5fd
parent714d1260bf076cdc22a60de82ab667216ec3ebce
2006-06-19  Richard Guenther  <rguenther@suse.de>

PR middle-end/28045
* fold-const.c (operand_equal_p): Check if the argument types
have the same precision before stripping NOPs.

* gcc.dg/torture/pr28045.c: New testcase.

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