[Bug c++/93790] Cannot initialize reference from std::reference_wrapper using direct- or list-initialization syntax in GCC 10 c++2a mode

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 19 21:20:00 GMT 2020


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2020-02-19
                 CC|                            |mpolacek at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |10.0
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Looks like an undesirable side-effects of

commit 43aae289866f5ea55d187444520412554aa2e171
Author: Marek Polacek <polacek@redhat.com>
Date:   Tue Dec 3 15:59:40 2019 +0000

    PR c++/91363 - P0960R3: Parenthesized initialization of aggregates.

So mine.


More information about the Gcc-bugs mailing list