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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
commit r10-7115-gdf15a82804e1f7f4a7432670b33387779de46549
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue Mar 10 17:51:46 2020 -0400

    c++: Fix ICE with omitted template args [PR93956].

    reshape_init only wants to work on BRACE_ENCLOSED_INITIALIZER_P, i.e. raw
    initializer lists, and here was getting a CONSTRUCTOR that had already been
    processed for type A<int>.  maybe_aggr_guide should also use that test.

    gcc/cp/ChangeLog
    2020-03-10  Jason Merrill  <ja...@redhat.com>

            PR c++/93956
            * pt.c (maybe_aggr_guide): Check BRACE_ENCLOSED_INITIALIZER_P.

Reply via email to