https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118790
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 60420 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60420&action=edit Reduced testcase as much as I can do it `-O2 -flto -flto-partition=none -shared -fallow-argument-mismatch -g -fopenmp` is needed to reproduce the failure . Note this reduced testcase needs -flto-partition=none now. Before we didn't need it.