This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r185918 - in /branches/gcc-4_7-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 28 Mar 2012 14:49:29 -0000
- Subject: r185918 - in /branches/gcc-4_7-branch/gcc: Chan...
Author: jakub
Date: Wed Mar 28 14:49:26 2012
New Revision: 185918
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185918
Log:
PR middle-end/52691
* tree-ssa-ccp.c (optimize_stdarg_builtin): Optimize
__builtin_va_start to __builtin_next_arg if the latter is
builtin_decl_explicit_p rather than when it is not.
* gcc.dg/pr52691.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr52691.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/tree-ssa-ccp.c