[Bug c++/90455] braced-init and incomplete type instantiation

2019-07-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90455

Marek Polacek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Marek Polacek  ---
Fixed.

[Bug c++/90455] braced-init and incomplete type instantiation

2019-07-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90455

--- Comment #3 from Marek Polacek  ---
Author: mpolacek
Date: Wed Jul 17 18:10:14 2019
New Revision: 273553

URL: https://gcc.gnu.org/viewcvs?rev=273553=gcc=rev
Log:
PR c++/90455
* g++.dg/cpp0x/nsdmi-list6.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-list6.C
Modified:
trunk/gcc/testsuite/ChangeLog

[Bug c++/90455] braced-init and incomplete type instantiation

2019-06-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90455

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2019-06-22
   Assignee|unassigned at gcc dot gnu.org  |mpolacek at gcc dot 
gnu.org
 Ever confirmed|0   |1

[Bug c++/90455] braced-init and incomplete type instantiation

2019-06-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90455

--- Comment #2 from Marek Polacek  ---
Fixed (by r272287 I suspect).

[Bug c++/90455] braced-init and incomplete type instantiation

2019-05-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90455

Marek Polacek  changed:

   What|Removed |Added

 CC||mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek  ---
Reduced, clang++ compiles it.

struct B;
template  struct b {
  void operator()(a *) { sizeof(a); }
};
struct c {
  struct D {
using d = B *;
  };

  using e = D::d;
  e f();
};
template  class g {
  c h;
  using i = b;
public:
  ~g() {
auto j = h.f();
k()(j);
  }
  i k();
};
struct l {
  g m{};
};