https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91974
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Just to make sure, you are using -std=c++17 or -std=gnu++17 (or -fstrong-eval-order)? Because it is not obvious from this report.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91974
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Just to make sure, you are using -std=c++17 or -std=gnu++17 (or -fstrong-eval-order)? Because it is not obvious from this report.