[Bug c++/93299] [9 Regression] ICE in tsubst_copy, at cp/pt.c:15779

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 5 00:06:00 GMT 2020


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

--- Comment #8 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:2b5d109ba3af320f65cb0707e8733eeea3c96262

commit r9-8336-g2b5d109ba3af320f65cb0707e8733eeea3c96262
Author: Marek Polacek <polacek@redhat.com>
Date:   Wed Mar 4 19:04:31 2020 -0500

    c++: Fix ICE in tsubst_copy with parenthesized expression [PR93299]

        PR c++/93299 - ICE in tsubst_copy with parenthesized expression.
        * pt.c (tsubst_copy): Handle a REF_PARENTHESIZED_P VIEW_CONVERT_EXPR.

        * g++.dg/cpp1y/paren5.C: New test.


More information about the Gcc-bugs mailing list