https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97980
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Component|c |tree-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think it is due to -fno-tree-dce .