https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89149
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- If you ask the middle-end about such expressions you get its view. So if you want to apply language semantics you need to avoid folding it with those routines.