[Bug c++/86195] [9 Regression] Ref-qualified nested class member function issue

2018-06-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86195

Jonathan Wakely  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from Jonathan Wakely  ---
This was fixed on gcc-8-branch by r261197

PR c++/85731 - wrong error with qualified-id in template.

* semantics.c (finish_qualified_id_expr): build_qualified_name
for unbound names in the current class.

And it's also fixed on current trunk, presumably by r261196

I'm going to close this as a dup of Bug 85731 since it started to fail with the
same revision, and was fixed by the same revision.

*** This bug has been marked as a duplicate of bug 85731 ***

[Bug c++/86195] [9 Regression] Ref-qualified nested class member function issue

2018-06-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86195

Richard Biener  changed:

   What|Removed |Added

   Keywords||rejects-valid
Version|8.1.1   |9.0
   Target Milestone|--- |8.2

[Bug c++/86195] [9 Regression] Ref-qualified nested class member function issue

2018-06-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86195

Jonathan Wakely  changed:

   What|Removed |Added

 Status|WAITING |NEW
  Known to work||7.3.0, 8.1.1
Summary|Ref-qualified nested class  |[9 Regression]
   |member function issue   |Ref-qualified nested class
   ||member function issue
  Known to fail||8.1.0, 9.0

--- Comment #3 from Jonathan Wakely  ---
It seems to be fixed in (In reply to Paolo Monteverde from comment #2)
> I spotted the original error on g++ (GCC) 8.1.1 20180531 running on Arch
> Linux.

OK, it seems to be fixed in 8.1.1 20180615

> The simplified example above is failing on
> https://wandbox.org/permlink/VMBVdHgzkcH2xLlb. The only needed option is
> -std=c++14 or above.

That's 8.1.0, which is even older.

I'll try to find what fixed it on the branch.