]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/41587 ([OOP] ICE with ALLOCATABLE CLASS components)
authorMikael Morin <mikael@gcc.gnu.org>
Thu, 2 Feb 2012 23:10:55 +0000 (23:10 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Thu, 2 Feb 2012 23:10:55 +0000 (23:10 +0000)
commit37da591f6ad57e549e0f010836b5d26d673a2860
treef25ee1669f956ef1cf3aa31c4b85c34886f33c7b
parent1c69e5e28ad0829ba71198317bd4771f643e337d
re PR fortran/41587 ([OOP] ICE with ALLOCATABLE CLASS components)

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.

From-SVN: r183853
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]