[Bug c++/103936] [12 Regression] ICE with cs[5]{}

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 7 05:23:03 GMT 2022


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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:

https://gcc.gnu.org/g:765693be1c8dc91fe612e7a499c5e41ba398ab96

commit r12-6339-g765693be1c8dc91fe612e7a499c5e41ba398ab96
Author: Jason Merrill <jason@redhat.com>
Date:   Thu Jan 6 21:58:01 2022 -0500

    c++: temporarily restore VEC_INIT_EXPR gimplify [PR103936]

    PR103936 demonstrates that some VEC_INIT_EXPR can still survive into
    GENERIC; until that's fixed let's put back the handling in
cp_gimplify_expr.

            PR c++/103936
            PR c++/65591

    gcc/cp/ChangeLog:

            * cp-gimplify.c (cp_gimplify_expr): Restore VEC_INIT_EXPR handling.

    gcc/testsuite/ChangeLog:

            * g++.dg/init/aggr15.C: New test.


More information about the Gcc-bugs mailing list