https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91591
--- Comment #5 from Giulio Benetti <giulio.benetti at benettiengineering dot com> --- Hello, I find this bug has been fixed with gcc 8.4.0 and next major versions. I don’t know on which commit it’s been fixed but it builds fine now. Best regards