OSDN Git Service

2012-02-02 Mikael Morin <mikael@gcc.gnu.org>
authormikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Feb 2012 23:10:55 +0000 (23:10 +0000)
committermikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Feb 2012 23:10:55 +0000 (23:10 +0000)
commitf3cd3c38365888042f2e00de3356f0f72ce33336
treef25ee1669f956ef1cf3aa31c4b85c34886f33c7b
parent4ae9c72e2360e9d1360ca16cf5bb64c0013191c1
2012-02-02  Mikael Morin  <mikael@gcc.gnu.org>

PR fortran/41587
PR fortran/46356
PR fortran/51754
PR fortran/50981
* class.c (insert_component_ref, class_data_ref_missing,
gfc_fix_class_refs): New functions.
* gfortran.h (gfc_fix_class_refs): New prototype.
* trans-expr.c (gfc_conv_expr): Remove special case handling and call
gfc_fix_class_refs instead.

2012-02-02  Mikael Morin  <mikael@gcc.gnu.org>

PR fortran/41587
* gfortran.dg/class_array_10.f03: New test.

PR fortran/46356
* gfortran.dg/class_array_11.f03: New test.

PR fortran/51754
* gfortran.dg/class_array_12.f03: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183853 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/fortran/gfortran.h
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_array_10.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/class_array_11.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/class_array_12.f03 [new file with mode: 0644]