https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92056
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Nov 21 17:13:41 2019 New Revision: 278578 URL: https://gcc.gnu.org/viewcvs?rev=278578&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-8-branch/gcc/testsuite/gcc.c-torture/compile/pr92056.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/tree-object-size.c