https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97951
David Tellenbach <david.tellenbach at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|WAITING |RESOLVED --- Comment #2 from David Tellenbach <david.tellenbach at arm dot com> --- Thanks, I can confirm this is fixed in GCC 10.2 and works as expected.