https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113622
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The assert by the way: ``` if (!MEM_P (to_rtx)) { /* We can get constant negative offsets into arrays with broken user code. Translate this to a trap instead of ICEing. */ gcc_assert (TREE_CODE (offset) == INTEGER_CST); expand_builtin_trap (); to_rtx = gen_rtx_MEM (BLKmode, const0_rtx); } ``` Yes this is obvious is wrong when used with global registers ...