https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122624
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note removing some unused functions causes the store not to be removed. I don't know why though. Also maybe it is a cross compiler only; I have not tried on a native compiler yet; though in my case it is a cross compiler compiled at -O0 even.
