[Bug c++/100205] [11/12 Regression] error: invalid use of non-static data member

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 18 19:45:31 GMT 2021


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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:

https://gcc.gnu.org/g:8c114759b8c9c9e2ec90b82d92a24b5a71647017

commit r12-886-g8c114759b8c9c9e2ec90b82d92a24b5a71647017
Author: Jason Merrill <jason@redhat.com>
Date:   Tue May 18 12:18:56 2021 -0400

    c++: non-static member, decltype, {} [PR100205]

    This test was fixed by my second patch for PR93314, which distinguishes
    between constant-expression and potentially-constant-evaluated contexts in
a
    way that my first patch did not.

            PR c++/100205
            PR c++/99314

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp0x/decltype-nonstatic1.C: New test.


More information about the Gcc-bugs mailing list