[Bug lto/96591] [8/9 Regression] ICE with -flto=auto and -O1: tree code ‘typename_type’ is not supported in LTO streams

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 12 11:23:39 GMT 2021


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

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:c0ae84d67a61512ec36d5c82ae52090c4b6440d1

commit r9-9341-gc0ae84d67a61512ec36d5c82ae52090c4b6440d1
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Feb 8 09:52:56 2021 +0100

    lto/96591 - walk VECTOR_CST elements in walk_tree

    This implements walking of VECTOR_CST elements in walk_tree, mimicing
    the walk of COMPLEX_CST elements.  Without this free-lang-data fails
    to see some types in case they are only refered to via tree constants
    used only as VECTOR_CST elements.

    2021-02-08  Richard Biener  <rguenther@suse.de>

            PR lto/96591
            * tree.c (walk_tree_1): Walk VECTOR_CST elements.

            * g++.dg/lto/pr96591_0.C: New testcase.

    (cherry picked from commit d4536e431316b4568e236afd7a6017e5efd1b0a1)


More information about the Gcc-bugs mailing list