[Bug fortran/66227] [5/6/7 Regression] [OOP] EXTENDS_TYPE_OF n returns wrong result for polymorphic variable allocated to extended type
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 17 08:07:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66227
--- Comment #7 from janus at gcc dot gnu.org ---
Author: janus
Date: Thu Nov 17 07:52:24 2016
New Revision: 242535
URL: https://gcc.gnu.org/viewcvs?rev=242535&root=gcc&view=rev
Log:
2016-11-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/66227
* simplify.c (gfc_simplify_extends_type_of): Fix missed optimization.
Prevent over-simplification. Fix a comment. Add a comment.
2016-11-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/66227
* gfortran.dg/extends_type_of_3.f90: Fix and extend the test case.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/simplify.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/extends_type_of_3.f90
More information about the Gcc-bugs
mailing list