Thanks for your help, I've filed a PR about this issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121095 Brad