re PR tree-optimization/92056 (ice in expr_object_size, at tree-object-si ze.c:675...
authorJakub Jelinek <jakub@redhat.com>
Thu, 17 Oct 2019 07:21:24 +0000 (09:21 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 17 Oct 2019 07:21:24 +0000 (09:21 +0200)
commit0bbb0ca112279e5b6704d1e51b396f0e2a136251
tree13749b2c59ce7391cb3537a82bb2e17fd53c5e31
parent432b4f729dff4808de4f3b00ff9b312db095afc3
re PR tree-optimization/92056 (ice in expr_object_size, at tree-object-si ze.c:675 with -O3)

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.

From-SVN: r277093
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr92056.c [new file with mode: 0644]
gcc/tree-object-size.c