https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- that part comes from: https://github.com/LLNL/RAJAPerf/blob/262dcbb405b00ebc3e3184685743e9d1199a45b6/src/apps/CONVECTION3DPA.hpp#L235 I really think that is undefined and you can't pointer casting like that.