[Bug fortran/70149] [F08] Character pointer initialization causes ICE
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 22 18:54:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149
--- Comment #12 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #9)
> 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
Hi Andreas,
Has this gone away? I seem to have applied what I believe to be the right patch
as fallout from another PR.
Cheers
Paul
More information about the Gcc-bugs
mailing list