On Wed, Dec 7, 2016 at 3:31 PM, Nathan Sidwell <nat...@acm.org> wrote: > This patch fixes 78551. The union was a red herring. The underlying > problem is that we first initialize a char array with a string constant, and > then zap a random element of that array. That zapping expects to see a > CONSTRUCTOR, not a STRING_CST. Fixed by expanding the STRING_CST into a > CONSTRUCTOR for each element, when we encounter this situation. > > Patch tested on HEAD and gcc-6 branch.
OK. > Is gcc-5 still live (testcase is marked as a 5/6/7 regression)? It is; you can check gcc.gnu.org to see current release status. Incidentally, would you mind naming your attachments .diff rather than .patch? Gmail mishandles the latter. Jason