This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR29284 - [4.1/4.2 Regression] ICE for optional subroutine argument


2006-10-03 Paul Thomas <pault@gcc.gnu.org>

    PR fortran/29284
    * trans-expr.c (gfc_conv_function_call): Check the expression
    and the formal symbol are present when testing the actual
    argument.

2006-10-03 Paul Thomas <pault@gcc.gnu.org>

    PR fortran/29284
    * gfortran.dg/optional_assumed_charlen_1.f90: New test.

    PR fortran/29321
    PR fortran/29322
    * gfortran.dg/missing_optional_dummy_2.f90: New test.

OK to commit. I'm not a huge supporter of moving function calls around, but I tried to figure it out and I think in this case, the order is OK.

[Frankly, for the readability & size difference in the final f951
executable vs maintainance potential trouble ratio, I think it's not a
win.]

FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]