[Bug c++/79130] New: [C++17] FI20 change vs. direct initialization

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 18 13:29:00 GMT 2017


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

            Bug ID: 79130
           Summary: [C++17] FI20 change vs. direct initialization
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

As mentioned in http://gcc.gnu.org/ml/gcc-patches/2017-01/msg00703.html , I
believe we handle auto [b,c,d,e,f,g] ( a ); like copy initialization rather
than direct initialization, while clang++ handles it like direct initialization
(but on the other side mishandles { a }).  The above mail contains a testcase.


More information about the Gcc-bugs mailing list