https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122090
--- Comment #3 from Xingbang He <qingren2hxb at gmail dot com> --- Apologies for submitting the outdated bug report. I should have verified the GCC version first. Thanks for pointing out the existing fix and I'll be more careful in future reports.
