[Bug tree-optimization/80032] [6 Regression] C++ excessive stack usage (no stack reuse)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80032 --- Comment #16 from Richard Biener --- Author: rguenth Date: Fri Oct 12 13:44:35 2018 New Revision: 265101 URL: https://gcc.gnu.org/viewcvs?rev=265101=gcc=rev Log: 2018-10-12 Richard Biener PR c++/54278 Backport from mainline 2017-03-23 Richard Biener PR tree-optimization/80032 * gimplify.c (gimple_push_cleanup): Forced unconditional cleanups still have to go to the conditional_cleanups sequence. 2017-03-21 Richard Biener PR tree-optimization/80032 * gimplify.c (gimple_push_cleanup): Add force_uncond parameter, if set force the cleanup to happen unconditionally. (gimplify_target_expr): Push inserted clobbers with force_uncond to avoid them being removed by control-dependent DCE. * g++.dg/opt/pr80032.C: New testcase. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/opt/pr80032.C Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/gimplify.c branches/gcc-6-branch/gcc/testsuite/ChangeLog
[Bug tree-optimization/80032] [6 Regression] C++ excessive stack usage (no stack reuse)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80032 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Known to fail||6.4.0 --- Comment #15 from Richard Biener --- Fixed.
[Bug tree-optimization/80032] [6 Regression] C++ excessive stack usage (no stack reuse)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80032 Richard Biener changed: What|Removed |Added Target Milestone|6.4 |6.5 --- Comment #14 from Richard Biener --- GCC 6.4 is being released, adjusting target milestone.
[Bug tree-optimization/80032] [6 Regression] C++ excessive stack usage (no stack reuse)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80032 --- Comment #13 from Richard Biener --- Author: rguenth Date: Thu Mar 23 08:33:41 2017 New Revision: 246414 URL: https://gcc.gnu.org/viewcvs?rev=246414=gcc=rev Log: 2017-03-23 Richard BienerPR tree-optimization/80032 * gimplify.c (gimple_push_cleanup): Forced unconditional cleanups still have to go to the conditional_cleanups sequence. Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c
[Bug tree-optimization/80032] [6 Regression] C++ excessive stack usage (no stack reuse)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80032 --- Comment #12 from Jan Smets --- Thanks. I've also been using the patch on the 6 branch and it seems to work fine as well.
[Bug tree-optimization/80032] [6 Regression] C++ excessive stack usage (no stack reuse)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80032 Richard Biener changed: What|Removed |Added Known to work||7.0.1 Summary|[6/7 Regression] C++|[6 Regression] C++ |excessive stack usage (no |excessive stack usage (no |stack reuse)|stack reuse) --- Comment #11 from Richard Biener --- Fixed on trunk sofar.