re PR fortran/50004 (ICE in c_ptr_tests_16.f90)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 6 Aug 2011 15:19:45 +0000 (15:19 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 6 Aug 2011 15:19:45 +0000 (15:19 +0000)
commit48b155b991003487a50ac171ba5ca7c3409ad417
tree6da2f43976711f93fd4853c2e6a054b5b832db02
parentcc3801b0e64026be57b2987d23d3f7c0c97bff2d
re PR fortran/50004 (ICE in c_ptr_tests_16.f90)

2011-08-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/50004
* target-memory.c (gfc_target_expr-size): Don't clobber typespec
for derived types.
* simplify.c (gfc_simplify_transfer): Don't calculate source_size
twice.

From-SVN: r177527
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/fortran/target-memory.c