public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/98342] New: Allocatable component in call to assumed-rank routine causes invalid pointer
@ 2020-12-17  9:00 mscfd at gmx dot net
  2020-12-17  9:21 ` [Bug fortran/98342] " mscfd at gmx dot net
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: mscfd at gmx dot net @ 2020-12-17  9:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98342

            Bug ID: 98342
           Summary: Allocatable component in call to assumed-rank routine
                    causes invalid pointer
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mscfd at gmx dot net
  Target Milestone: ---

Created attachment 49784
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49784&action=edit
Fortran source code

The attached code aborts with
 *** Error in `./alloc_rank.x': munmap_chunk(): invalid pointer
after finishing the function call to "sel_rank". Necessary ingredients are a
derived type with an allocatable component and that the argument tuple of
"sel_rank" has assumed rank.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-01-25 15:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17  9:00 [Bug fortran/98342] New: Allocatable component in call to assumed-rank routine causes invalid pointer mscfd at gmx dot net
2020-12-17  9:21 ` [Bug fortran/98342] " mscfd at gmx dot net
2020-12-17 18:02 ` pault at gcc dot gnu.org
2020-12-18 12:02 ` pault at gcc dot gnu.org
2020-12-18 12:29 ` mscfd at gmx dot net
2021-02-24 16:01 ` cvs-commit at gcc dot gnu.org
2021-05-04 12:31 ` rguenth at gcc dot gnu.org
2021-10-22 20:55 ` sandra at gcc dot gnu.org
2021-10-22 21:23 ` dominiq at lps dot ens.fr
2022-01-25  8:25 ` mscfd at gmx dot net
2022-01-25 15:57 ` sandra at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).