Re: [RFC] c++: Allow parm use outside function body for constexpr members

2021-09-23 Thread Barrett Adair via Gcc-patches
I'm past this snag, so disregard this RFC for now. If I post again about this, it will be with a working patch. On Fri, Sep 17, 2021 at 11:15 AM Barrett Adair wrote: > The WIP attached patch attempts to enable usage of parameters' constexpr > members before the function body begins (see new test

[RFC] c++: Allow parm use outside function body for constexpr members

2021-09-17 Thread Barrett Adair via Gcc-patches
The WIP attached patch attempts to enable usage of parameters' constexpr members before the function body begins (see new tests dependent-expr11.C and dependent-expr12.C). Unfortunately, I hit a "vexing" snag: gcc/testsuite/g++.dg/parse/ambig7.C breaks with this patch. After several hours of debug