https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59480
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Manuel López-Ibáñez from comment #3) > Strangely enough, this is one of the bugs in GCC that OpenMandriva > developers present as a reason for them switching to Clang as the default > compiler. > > http://mirror.as35701.net/video.fosdem.org//2015/devroom-llvm_toolchain/ > openmandriva__CAM_ONLY.mp4 (around 16:00) > > class A { > friend void b(int, const char *s= 0); > }; And on the very next slide they give another example of a bug accepted by GCC, which is rejected by every version of GCC I tried, going back to 4.4, so I suspect they are looking for reasons to justify a move they wanted to make anyway, and this bug is incidental.