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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |wrong-code
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-12-03

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
So somehow we are not emitting

namespace
{

class myFactory:public factory
{       public:

       static constexpr LIST s_sList = {
                {1.0, 0}
        };

...
};
}

but I'm not literate enough in C++ to tell if there's a definition missing.

It works with -std=c++17 but not with -std=c++11 or -std=c++14

Reply via email to