https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228
--- Comment #33 from rguenther at suse dot de <rguenther at suse dot de> --- On Tue, 4 Jul 2023, slyfox at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 > > --- Comment #32 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- > (In reply to Richard Biener from comment #29) > > I can't reproduce the original failure on trunk or with GCC 13.1, but the > > testcase from comment#16 is now fixed. I also cannot reproduce the testcase > > from comment#21 before the fix. > > > > Can people double-check this is now fixed, maybe also on the branch when > > this > > fix is cherry-picked? > > Test suite on llvm-16 still fails the same single 'LLVM :: > ExecutionEngine/JITLink/X86/MachO_weak_references.s' test for me. > > gcc was built from 2c12ccf800fc7890925402d30a02f0fa9e2627cc. Can you try 819285ef10a87d663f8c181c06aa88d1d9f75aed - your small testcase looks OK now.