[Bug middle-end/52691] [4.7/4.8 Regression] va_start to builtin_next_arg optimization lost
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52691 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC||jakub at gcc dot gnu.org Resolution||FIXED --- Comment #4 from Jakub Jelinek 2012-03-28 14:58:12 UTC --- Fixed.
[Bug middle-end/52691] [4.7/4.8 Regression] va_start to builtin_next_arg optimization lost
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52691 --- Comment #3 from Jakub Jelinek 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
[Bug middle-end/52691] [4.7/4.8 Regression] va_start to builtin_next_arg optimization lost
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52691 --- Comment #2 from Jakub Jelinek 2012-03-28 14:47:59 UTC --- Author: jakub Date: Wed Mar 28 14:47:45 2012 New Revision: 185917 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185917 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: trunk/gcc/testsuite/gcc.dg/pr52691.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-ccp.c
[Bug middle-end/52691] [4.7/4.8 Regression] va_start to builtin_next_arg optimization lost
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52691 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |NEW Version|tree-ssa|4.7.0 Last reconfirmed||2012-03-26 Component|c |middle-end CC||meissner at gcc dot gnu.org Ever Confirmed|0 |1 Summary|va_start to |[4.7/4.8 Regression] |builtin_next_arg|va_start to |optimization lost |builtin_next_arg ||optimization lost Target Milestone|--- |4.7.1 --- Comment #1 from Richard Guenther 2012-03-26 08:23:05 UTC --- Confirmed. Michael, can you please fix trunk and the 4.7 branch? Thx.