https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60402
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |NEW --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- [Moved to DR at the November, 2016 meeting.] (In reply to Daniel Krügler from comment #2) > No, this is not related to bug 58156. According to the current core language > of C++11, the code is indeed ambiguous. > > There exists currently a core language issue to fix that, see > > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1395 Hmm, but this example is still rejected in both GCC and clang (and MSVC) but accepted for ICC. The example in both defect reports is done correctly with GCC and all.