https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92056
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Oct 21 11:49:18 2019 New Revision: 277259 URL: https://gcc.gnu.org/viewcvs?rev=277259&root=gcc&view=rev Log: Backported from mainline 2019-10-17 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/92056 * tree-object-size.c (cond_expr_object_size): Return early if then_ processing resulted in unknown size. * gcc.c-torture/compile/pr92056.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.c-torture/compile/pr92056.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree-object-size.c