https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67650
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > Is it worth it to try reducing my code and produce a code snippet exhibiting > the issue? Always. >Or is the issue known already? I didn't find any track of it. It could also be a bug in your code too. Devirtualization is known to expose invalid code too.