[Patch, fortran] PR34537 - ICE or wrong code for TRANSFER of constant string to character
Paul Richard Thomas
paul.richard.thomas@gmail.com
Fri Jan 11 14:41:00 GMT 2008
:ADDPATCH fortran:
This modest little patch is self-explanatory. If the element size is
not available, leave the evaluation of 'transfer' until run time.
Regetested on Cygwin_NT (will do the lot on x86_ia64 tonight) - OK for trunk?
Paul
2008-01-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34537
* simplify.c (gfc_simplify_transfer): Return NULL if the size
of the element is unavailable and only assign character length
to the result, if 'mold' is constant.
2008-01-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34537
* gfortran.dg/transfer_simplify_8.f90: New test.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr34537.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080111/4a68b109/attachment.ksh>
More information about the Fortran
mailing list