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

Pavel Roskin <proski at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |proski at gnu dot org

--- Comment #1 from Pavel Roskin <proski at gnu dot org> ---
Possibly even simpler case:

#include <set>
struct IntSet {
    IntSet(int value) : value_{std::set<int>{value}} {}
    std::set<int> value_;
};

I'm testing gcc-8 on a large project that compiled with an older gcc-8 snapshot
and this bug is triggered on many files. The workaround is to use () rather
than {} for constructor calls.

Reply via email to