aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-sra.c
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2012-02-05 19:56:09 +0000
committerPaul Thomas <pault@gcc.gnu.org>2012-02-05 19:56:09 +0000
commit83f42cad22eb85b74dff0592029b39870795c381 (patch)
treed24f95d7b226dd88ab5c551a6d9d2108472b18c7 /gcc/tree-sra.c
parenta1527f2f5ba5fd27ce9c3461f174aab952bdcaed (diff)
downloadgcc-83f42cad22eb85b74dff0592029b39870795c381.zip
gcc-83f42cad22eb85b74dff0592029b39870795c381.tar.gz
gcc-83f42cad22eb85b74dff0592029b39870795c381.tar.bz2
re PR fortran/52102 ([OOP] Wrong result with ALLOCATE of CLASS components with array constructor SOURCE-expr)
2012-02-05 Paul Thomas <pault@gcc.gnu.org> * trans-array.c (gfc_array_allocate): Zero memory for all class array allocations. * trans-stmt.c (gfc_trans_allocate): Ditto for class scalars. PR fortran/52102 * trans-stmt.c (gfc_trans_allocate): Before correcting a class array reference, ensure that 'dataref' points to the _data component that is followed by the array reference.. 2012-02-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/52102 * gfortran.dg/class_48.f90 : Add test of allocate class array component with source in subroutine test3. Remove commenting out in subroutine test4, since branching on unitialized variable is now fixed (no PR for this last.). From-SVN: r183915
Diffstat (limited to 'gcc/tree-sra.c')
0 files changed, 0 insertions, 0 deletions