OSDN Git Service

2008-03-27 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Mar 2008 17:09:54 +0000 (17:09 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Mar 2008 17:09:54 +0000 (17:09 +0000)
commitdd691fd82a095f40bf1ae57b0bf481e4084bf58b
tree3800dd1b144c0ef8553b9904b57193e5438ca668
parent059a60f37edb43c972e0dc98836142865ca50b37
2008-03-27  Richard Guenther  <rguenther@suse.de>

PR middle-end/35716
* fold-const.c (fold_comparison): Restrict distinct decl
comparison folding to VAR_DECLs and PARM_DECLs.  Do not
solely rely on operand_equal_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133647 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c