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).