https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95798
--- Comment #1 from zero at smallinteger dot com --- (note that changing the array declaration to be initialized does not result in the individual array writes being optimized away, as one might expect at first glance)