]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/19269 (transpose(reshape(...)) of character array segfaults.)
authorRichard Sandiford <richard@codesourcery.com>
Wed, 7 Sep 2005 07:36:12 +0000 (07:36 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 7 Sep 2005 07:36:12 +0000 (07:36 +0000)
commitd1d26ecf9fa4f22c71353c650d85bf3b0fd3b1b5
tree3efd4b1c20d17a4e48dadd4a1b14d374f84c487b
parentf7683d376f94305135d7bbc371463e62149a0ec2
re PR fortran/19269 (transpose(reshape(...)) of character array segfaults.)

PR fortran/19269
* simplify.c (gfc_simplify_transpose): Set the result's typespec from
the source, not the first element of the return value.

From-SVN: r103982
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/execute/pr19269-1.f90 [new file with mode: 0644]