https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104920
Ali Kouhzadi <kouhzadi at rohumm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|UNCONFIRMED |RESOLVED --- Comment #5 from Ali Kouhzadi <kouhzadi at rohumm dot com> --- Thanks Jakub for the explanation, it does make more sense now. Although I'm still not quite sure why the addition of the 2nd member function in bad_04.cpp triggers the warning, I guess that's a StackOverflow question.