https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124086
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- VIEW_CONVERT_EXPR of register type needs to be outermost. gimplification would take care of that, but manually doing it requires some extra care. Possibly gimple_build (...) does not properly handle it?
