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] PR47592 - Multiple function invocation with ALLOCATE (SOURCE=REPEAT('x',bar()))


Dear All,

Sending        gcc/fortran/ChangeLog
Sending        gcc/fortran/trans-stmt.c
Sending        gcc/testsuite/ChangeLog
Adding         gcc/testsuite/gfortran.dg/allocate_with_source_1.f90
Transmitting file data ....
Committed revision 169862.

>> That's mostly unchanged from previous version, but couldn't one replace it
>> by a simple "if (gfc_expr_attr (expr).allocatable)"? I think gfc_expr_attr
>> does not always do the right thing (regarding when to ignore and not ignore
>> array/substring refs), but I think here it does.
>

With this suggestion - thanks.

Cheers

Paul


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