https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69225
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- This patch: https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=a16c748c075b14ce65ae1f12d8862cef0af87842 fixes it. I will submit a patch with a testcase.