https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110726
--- Comment #7 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- Silly question: I would expect -O0 not to perform any simplifications like that. Does `gcc` have a knob to disable `match.pd` templates? Or some of them are crucial for correctness?