[Bug fortran/30865] optional argument passed on to size(...,dim=)
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 20 14:39:00 GMT 2007
------- Comment #5 from pault at gcc dot gnu dot org 2007-02-20 14:39 -------
(In reply to comment #4)
> Created an attachment (id=13073)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13073&action=view) [edit]
> Fix for the problem
I should have remarked that the patch produces the following code:
D.1015 = &parm.6;
D.1016 = (void *) opt1 != 0B;
*ires = D.1016 ? _gfortran_size1 (D.1015, *opt1) : _gfortran_size0
(D.1015);
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30865
More information about the Gcc-bugs
mailing list