http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52691
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-28 14:49:40 UTC --- 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