This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r160615 - in /trunk/gcc: ChangeLog ipa-pure-con...
- From: hubicka at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Jun 2010 15:12:48 -0000
- Subject: r160615 - in /trunk/gcc: ChangeLog ipa-pure-con...
Author: hubicka
Date: Fri Jun 11 15:12:48 2010
New Revision: 160615
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160615
Log:
* ipa-pure-const.c (special_builtlin_state): New function.
(check_call): Use it instead of special casign BUILT_IN_RETURN.
(propagate_pure_const): Use it.
* gcc.dg/ipa/pure-const-2.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/ipa/pure-const-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-pure-const.c
trunk/gcc/testsuite/ChangeLog