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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
We ICE also for the following which seems valid to me and doesn't have anything
to do with PR59480:

template <typename T>
struct triggerBug {
    friend void doInitUser(bool = triggerBug::doInit) {}
    static bool doInit;
};

template <class T>
bool triggerBug<T>::doInit = true;

triggerBug<int> bug;

Reply via email to