https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63408
--- Comment #12 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> --- Created attachment 35833 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35833&action=edit current patch. Patch I'm testing - this is based on a 4.9 tree where I could easily replicate the problem but applies cleanly to trunk.