https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83796
Michael Johnson <johnsonmichaelgraham at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|5.4.0 |7.2.0 --- Comment #1 from Michael Johnson <johnsonmichaelgraham at gmail dot com> --- Correctly won't compile on MSVC and Clang, erroneously compiles from gcc 4.7.3 onwards Godbolt: https://godbolt.org/g/EuR2cy I think may be caused by change: https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/cp/call.c?r1=194820&r2=194819&pathrev=194820&diff_format=f https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54325