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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
commit r10-7116-g481fcfe6fec156ca2a6baea4b623076e2eefa6a6                       
Author: Jason Merrill <ja...@redhat.com>                                        
Date:   Tue Mar 10 17:31:33 2020 -0400                                          

    c++: Fix deferred noexcept on constructor [PR93901].                        

    My change in r10-4394 to only update clones when we actually instantiate a  
    deferred noexcept-spec broke this because deferred parsing updates the      
    primary function but not the clones.  For GCC 10, let's just revert it.     

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

            PR c++/93901                                                        
            * pt.c (maybe_instantiate_noexcept): Always update clones.

Reply via email to