[Bug c++/93676] [8/9 Regression] crash in build_value_init

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 4 23:58:00 GMT 2020


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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Marek Polacek
<mpolacek@gcc.gnu.org>:

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

commit r9-8334-gb38d6242be6aeaf83cdf1f990ff3297a697e4488
Author: Marek Polacek <polacek@redhat.com>
Date:   Wed Mar 4 18:57:08 2020 -0500

    c++: Fix value-init crash in template [PR93676]

        PR c++/93676 - value-init crash in template.
        * init.c (build_new_1): Don't call build_vec_init in a template.

        * g++.dg/cpp0x/nsdmi-template19.C: New test.


More information about the Gcc-bugs mailing list