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

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

--- Comment #2 from Paolo Monteverde  ---
(In reply to Jonathan Wakely from comment #1)
> This started to fail on trunk with r251438
> 
> It seems to have been fixed on the gcc-8-branch though. 8.1.1 is not a
> release, we need to know exactly which version you're using (as requested by
> https://gcc.gnu.org/bugs/ when submitting a new bug report).

I spotted the original error on g++ (GCC) 8.1.1 20180531 running on Arch Linux.

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

[Bug c++/86195] 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|UNCONFIRMED |WAITING
   Last reconfirmed||2018-06-18
 Ever confirmed|0   |1

--- Comment #1 from Jonathan Wakely  ---
This started to fail on trunk with r251438

It seems to have been fixed on the gcc-8-branch though. 8.1.1 is not a release,
we need to know exactly which version you're using (as requested by
https://gcc.gnu.org/bugs/ when submitting a new bug report).