https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87767
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |skpgkp2 at gmail dot com --- Comment #20 from H.J. Lu <hjl.tools at gmail dot com> --- This has been fixed in GCC 12. Sunil, can you submit a GCC patch to add testcases to cover this?