https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61632
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Created attachment 33114 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33114&action=edit Patch to fix this issue. Th eproblem was some use of pointers in a not so reliable way, calculating offsets from the pointer values. This uses the string lengths to calculate it and avoids the issue completely.