https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> --- Created attachment 58876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58876&action=edit A patch Here is a patch. Hongtao, please take a look and add a testcase. Thanks.