https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111123
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 60916 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60916&action=edit Another reduced testcase If I remove the first argument to Food's ctor we do get a front-end warning ...