https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118641
--- Comment #8 from mauro russo <ing.russomauro at gmail dot com> --- I see you added the reference to the similar bug I reported to Clang [https://github.com/llvm/llvm-project/issues/124306] but I would say that there is similar to the previously fixed bug PR 33799 for gcc that you have mentioned. For completeness, I will refer also the MVSC one (similar to Clang).