https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103456

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:97ffef3553267f52ca83dbebdcc8b5e3739febee

commit r12-5770-g97ffef3553267f52ca83dbebdcc8b5e3739febee
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Dec 3 12:09:04 2021 +0100

    testsuite: Fix up pr103456.c testcase [PR103456]

    ubsan.exp cycles through torture options, and that includes
    -O2 -flto -fno-fat-lto-objects.  But with those options
    tree dump scans don't work for post-IPA passes, for dg-do
    compile tests nothing after IPA is done.  So we get an
    unresolved testcase:
    gcc.dg/ubsan/pr103456.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  : dump file does not exist
    UNRESOLVED: gcc.dg/ubsan/pr103456.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects   scan-tree-dump-not objsz1 "maximum object size 0"

    Fixed by adding -ffat-lto-objects so that we perform the post-IPA
    passes.

    2021-12-03  Jakub Jelinek  <ja...@redhat.com>

            PR tree-optimization/103456
            * gcc.dg/ubsan/pr103456.c: Add -ffat-lto-objects to dg-options.

Reply via email to