https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=66444 --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jason Merrill from comment #6) > I guess the "only if" needs to be more conservative for COMDAT functions. It might not be comdat here since GCC's mingw does not have comdat support. So the check that is in use here is decl_binds_to_current_def_p . Maybe the issue is MAKE_DECL_ONE_ONLY/DECL_ONE_ONLY here.