https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100061
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- As said it needs thought and refactoring - the original intent to move all the simplifications to match.pd works in the wrong direction unless we "re-introduce" short-circuiting and/or into the match.pd patterns. Tobias - did you create this case artificially or did you actually run into a miscompilation in a real-world application?