fold-const.c (operand_equal_p): Consider two calls to "const" functions with identica...
authorRoger Sayle <roger@eyesopen.com>
Mon, 16 Jun 2003 12:42:48 +0000 (12:42 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 16 Jun 2003 12:42:48 +0000 (12:42 +0000)
commit21c43754a62409319cb9b16d11aadab4f17cff26
tree00431f65cd8405f42fb7fe5ccfc898c415cd19e5
parent1a9962c230aa7f24b44f3925dfc3dfba70d0880e
fold-const.c (operand_equal_p): Consider two calls to "const" functions with identical non-volatile arguments...

* fold-const.c (operand_equal_p): Consider two calls to "const"
functions with identical non-volatile arguments to be equal.
Consider the FUNCTION_DECL for the "__builtin_foo" form of a
built-in function to be equal to the "foo" form.

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r68011
gcc/ChangeLog
gcc/fold-const.c