This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/85786] New: Segfault in associated intrinsic
- From: "angus at agibson dot me" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 May 2018 04:26:20 +0000
- Subject: [Bug fortran/85786] New: Segfault in associated intrinsic
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85786
Bug ID: 85786
Summary: Segfault in associated intrinsic
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: angus at agibson dot me
Target Milestone: ---
Created attachment 44132
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44132&action=edit
Segfaulting example
I've run into a bit of a heisenbug regarding the associated intrinsic (example
attached). On my machine, it'll reliably hit a segmentation fault inside the
gfortran implementation of the intrinsic. I've pared it down a lot from the
original codebase in which it happened, but it's still a bit complex.
Curiously, it seems to require a print statement in query_ptr to trigger (this
actually isn't in the original codebase, but there are a few external calls
there that I didn't replicate).