https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44265
--- Comment #19 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 40286 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40286&action=edit Failing testcases with -flto under Darwin The PR is fixed under Linux but gives a link error under Darwin with -flto. From Dominique's message to the list on 7th December: The tests gfortran.dg/char_result_16.f90 and gfortran.dg/char_result_17.f90 fail with lto1: error: two or more sections for .gnu.lto___get_PROC_names.3e3ee55b08747e7c lto1: internal compiler error: cannot read LTO decls from /var/folders/8q/sh_swgz96r7f5vnn08f7fxr00000gn/T//ccEJosbA.o This may be darwin specific as the linker is more picky than the linux one. As soon as the cause is identified, the two attached testcases can be added to the testsuite. Cheers Paul