[Bug tree-optimization/92056] [10 Regression] ice in expr_object_size, at tree-object-si ze.c:675 with -O3

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 21 17:14:00 GMT 2019


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  <jakub@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


More information about the Gcc-bugs mailing list