This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85092] [8 Regression] ICE under -std=gnu++1z in build_over_call under, at cp/call.c:8149
- From: "proski at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Mar 2018 17:55:12 +0000
- Subject: [Bug c++/85092] [8 Regression] ICE under -std=gnu++1z in build_over_call under, at cp/call.c:8149
- Auto-submitted: auto-generated
- References: <bug-85092-4@http.gcc.gnu.org/bugzilla/>
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.