https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123
--- Comment #21 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> --- Hi All, I took one of the other fn_spec's as a template - it might well have been internal_pack. Thanks for looking at this. Cheers Paul On Mon, 25 Nov 2019 at 13:04, jakub at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123 > > --- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > I think other fn spec attributes in trans-decl.c should be checked. > E.g. for internal_pack, I see ".r", when the function sometimes returns a > pointer to a field pointed by the first argument. The address of the > descriptor doesn't escape then, but there is indirect escape. What about > internal_unpack? > Both cfi_desc_to_gfc_desc and gfc_desc_to_cfi_desc should be ".w." as Richi > said. > > -- > You are receiving this mail because: > You are on the CC list for the bug. > You are the assignee for the bug.