[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 21 16:51:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-11-21
CC| |janus at gcc dot gnu.org
Summary|Incorrect behavior with |[OOP] Incorrect behavior
|non_overridable keyword |with non_overridable
| |keyword
Ever confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org ---
I tried the test case with all gfortran versions from 4.7 to current trunk
(pre-7). All of them exhibit the same behavior, compiling the code without any
problems and giving the following runtime output:
square( 2.00000000 ) = -100.000000
square( 2.00000000 ) = -100.000000
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
More information about the Gcc-bugs
mailing list