https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70633
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Guess the problem is a disagreement on what is valid constructor initializer. initializer_constant_valid_p on (int) &main says it is valid constant, but the gimplifier doesn't keep it around and instead replaces it with a temporary. So, either the gimplifier shouldn't do that for elements that satisfy initializer_constant_valid_p, or (perhaps safer) it should clear TREE_STATIC on the CONSTRUCTOR when it does this.