https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119153
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[14/15 regression] Static |Static storage for
|storage for |initializer_list no longer
|initializer_list no longer |shares with array literals
|shares with array literals |
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note -fmerge-all-constants still produces decent code.
Also note the constant might be duplicated, it is still better than before.
There is just a small data section which has been duplicated vs runtime copying
which was happening before. So I am not sure this could be called a
regression.