[Bug fortran/78492] New: [OOP] Compiler segfault with non_overridable function in generic interface
perini at wisc dot edu
gcc-bugzilla@gcc.gnu.org
Wed Nov 23 10:30:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492
Bug ID: 78492
Summary: [OOP] Compiler segfault with non_overridable function
in generic interface
Product: gcc
Version: 6.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: perini at wisc dot edu
Target Milestone: ---
Created attachment 40128
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40128&action=edit
Minimal program to test non_overridable functions in generic type-bound set
Hi,
As from object, I get internal compiler error (segfault) with both gcc 5.3.0
and gcc 6.1.0 in this case:
In a derived type (either polymorphic or not), there is a generic type-bound
procedure interface where any of the procedures are listed as
"non_overridable".
If the code calls any of the individual specific procedures, no error occurs.
If the code calls the generic interface, I get compiler segmentation fault.
I am attaching a minimal example that reproduces this behavior for both gcc
5.3.0 and 6.1.0.
Thanks,
Federico
More information about the Gcc-bugs
mailing list