https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125514
Kael Franco <kaelfandrew at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kaelfandrew at gmail dot com
--- Comment #1 from Kael Franco <kaelfandrew at gmail dot com> ---
(In reply to Shuhao Zhang from comment #0)
> The following C++17 testcase triggers -Wsfinae-incomplete with GCC 16 and
> GCC trunk, but not with GCC 15.
>
> Testcase:
>
> #include <functional>
>
> class incomplete;
>
> struct owner
> {
> std::reference_wrapper<const incomplete> ref;
> };
>
> class incomplete
> {
> };
>
> int main()
> {
> return 0;
> }
r16-1527-g117782e0c2a81a is the bad commit called
c++: add -Wsfinae-incomplete