https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108657
--- Comment #18 from Andrew Pinski <pinskia at gcc dot gnu.org> --- fre5 deletes it: Deleted redundant store c = 1; Value numbering stmt = foo (); Setting value number of .MEM_14 to .MEM_14 (changed) Value numbering stmt = return 0; RPO iteration over 7 blocks visited 7 blocks in total discovering 7 executable blocks iterating 1.0 times, a block was visited max. 1 times RPO tracked 20 values available at 1 locations and 20 lattice elements Removing dead stmt c = 1;