https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118790
--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 60450 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60450&action=edit new testcase `-O2 -fallow-argument-mismatch -g -fopenmp --param ggc-min-expand=0 --param ggc-min-heapsize=0 -Wfatal-errors` is enough to reproduce it now. Does not need LTO anymore.