[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
Wed Nov 23 16:50:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66227
--- Comment #10 from janus at gcc dot gnu.org ---
Author: janus
Date: Wed Nov 23 16:46:31 2016
New Revision: 242770
URL: https://gcc.gnu.org/viewcvs?rev=242770&root=gcc&view=rev
Log:
2016-11-23 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
PR fortran/66227
* simplify.c (gfc_simplify_extends_type_of): Fix missed optimization.
Prevent over-simplification. Fix a comment. Add a comment.
2016-11-23 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
PR fortran/66227
* gfortran.dg/extends_type_of_3.f90: Fix and extend the test case.
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/simplify.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/extends_type_of_3.f90
More information about the Gcc-bugs
mailing list