aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.c
diff options
context:
space:
mode:
authorAndre Vehreschild <vehre@gcc.gnu.org>2015-07-17 12:16:21 +0200
committerAndre Vehreschild <vehre@gcc.gnu.org>2015-07-17 12:16:21 +0200
commit255388b8123b714d4bd91c6745dd811f9b4290fb (patch)
tree49a9263a209920a6310307f5dd0042055857250c /gcc/graphite-poly.c
parent0e1f8c6a90834987f63f911a86d78e40d5577e80 (diff)
downloadgcc-255388b8123b714d4bd91c6745dd811f9b4290fb.zip
gcc-255388b8123b714d4bd91c6745dd811f9b4290fb.tar.gz
gcc-255388b8123b714d4bd91c6745dd811f9b4290fb.tar.bz2
re PR fortran/66035 (gfortran ICE segfault)
gcc/fortran/ChangeLog: 2015-07-17 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/66035 * trans-expr.c (alloc_scalar_allocatable_for_subcomponent_assignment): Compute the size to allocate for class and derived type objects correclty. (gfc_trans_subcomponent_assign): Only allocate memory for a component when the object to assign is not an allocatable class object (the memory is already present for allocatable class objects). Furthermore use copy_class_to_class for assigning the rhs to the component (may happen for dummy class objects on the rhs). gcc/testsuite/ChangeLog: 2015-07-17 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/66035 * gfortran.dg/structure_constructor_13.f03: New test. From-SVN: r225928
Diffstat (limited to 'gcc/graphite-poly.c')
0 files changed, 0 insertions, 0 deletions