trans-expr.c (gfc_conv_string_tmp): Check type compatibility instead of equality.
authorMichael Matz <matz@suse.de>
Thu, 20 Aug 2009 14:25:36 +0000 (14:25 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Thu, 20 Aug 2009 14:25:36 +0000 (14:25 +0000)
commit167f281ea66916a195bc4b7072714a305b0a123c
tree98ac8c012c3dae1beaa807205908fad2bfa5f706
parent456976d81d0d5c3d01050d4f6c12b80db61b5d55
trans-expr.c (gfc_conv_string_tmp): Check type compatibility instead of equality.

fortran/
        * trans-expr.c (gfc_conv_string_tmp): Check type compatibility
        instead of equality.

testsuite/
        * gfortran.dg/pr41126.f90: New test.

From-SVN: r150964
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr41126.f90 [new file with mode: 0644]