https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149
--- Comment #10 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> --- Thanks Andreas, I am clearly not casting the initializer correctly. I'll try to figure out what is correct tomorrow. Best regards Paul On Wed, 3 Oct 2018 at 13:39, sch...@linux-m68k.org <gcc-bugzi...@gcc.gnu.org> wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149 > > --- Comment #9 from Andreas Schwab <sch...@linux-m68k.org> --- > This generates wrong code on powerpc64, either the initializer or the size of > _F.myptr_mod_MOD_number_string is wrong. > > .globl _F.myptr_mod_MOD_number_string > .align 3 > .type _F.myptr_mod_MOD_number_string, @object > .size _F.myptr_mod_MOD_number_string, 8 > _F.myptr_mod_MOD_number_string: > .long 16 > .zero 4 > ... > addis 9,2,_F.myptr_mod_MOD_number_string@toc@ha > addi 9,9,_F.myptr_mod_MOD_number_string@toc@l > ld 9,0(9) > extsw 9,9 > cmpwi 7,9,16 > > -- > You are receiving this mail because: > You are on the CC list for the bug. > You are the assignee for the bug.