https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83967
--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> --- On January 22, 2018 4:36:00 PM GMT+01:00, "pinskia at gcc dot gnu.org" <gcc-bugzi...@gcc.gnu.org> wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83967 > >--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >Also I was going to say the c function maybe should be marked as used >as lto >likes to remove unused functions in general. If you don't use the linker plugin this is indeed required. But with the linker plugin it shouldn't.