[Bug tree-optimization/91355] [8/9/10 Regression] optimized code does not call destructor while unwinding after exception
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 21 17:22:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91355
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Nov 21 17:21:46 2019
New Revision: 278587
URL: https://gcc.gnu.org/viewcvs?rev=278587&root=gcc&view=rev
Log:
PR tree-optimization/91355
* tree-ssa-sink.c (select_best_block): Use >= rather than >
for early_bb scaled count with best_bb count comparison.
* g++.dg/torture/pr91355.C: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/torture/pr91355.C
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tree-ssa-sink.c
More information about the Gcc-bugs
mailing list