[Patch, Fortran] PR 41800: [OOP] ICE in fold_convert_loc, at fold-const.c:2789

Janus Weil janus@gcc.gnu.org
Fri Oct 23 14:28:00 GMT 2009


Hi all,

here is a one-line fix for another OOP problem, connected to
CLASS-valued functions.

Regtested on x86_64-unknown-linux-gnu. Ok for trunk?

Cheers,
Janus


2009-10-23  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/41800
	* trans-expr.c (gfc_trans_scalar_assign): Handle CLASS variables.


2009-10-23  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/41800
	* gfortran.dg/class_10.f03: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr41800.diff
Type: text/x-diff
Size: 518 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20091023/23bc9742/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class_10.f03
Type: application/octet-stream
Size: 628 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20091023/23bc9742/attachment.obj>


More information about the Fortran mailing list