[patch fortran] PR119836 [15/16 Regression] Elemental intrinsic treated as IMPURE within BLOCK within DO CONCURRENT
Jerry D
jvdelisle2@gmail.com
Tue Apr 22 16:54:55 GMT 2025
Ping! Can we backport this to 15 please?
Regards,
Jerry
On 4/18/25 6:35 PM, Jerry D wrote:
> On 4/18/25 5:48 PM, Jerry D wrote:
>> I will be committing a fix for this to the 16 mainline tonight.
>>
>> I am requesting Release Manager approval to push to 15 release branch
>> after full testing here.
>>
>> Regards,
>>
>> Jerry
>>
>> See attached diff.
>>
>> 2025-04-18 Steven G. Kargl <kargl@gcc.gnu.org>
>>
>> PR fortran/119836
>> * resolve.cc(check_pure_function, pure_subroutine): Fix checking for
>> an impure subprogram within a DO CONCURRENT construct.
>>
>>
>> 2025-04-18 Steven G. Kargl <kargl@gcc.gnu.org>
>>
>> PR fortran/119836
>> * gfortran.dg/do_concurrent_all_clauses.f90: Remove invalid
>> dg-error test.
>> * gfortran.dg/pr119836_1.f90: New test.
>> * gfortran.dg/pr119836_2.f90: Ditto.
>> * gfortran.dg/pr119836_3.f90: Ditto.
>> * gfortran.dg/pr119836_4.f90: Ditto.
>
> I have committed to 16 and the backport to 15 is ready to go pending RM
> approval.
>
> Best Regards,
>
> Jerry
>
> commit 5927077029d61fdd32531530b9568cf6949fe0dd (HEAD -> gcc15)
> Author: Steven G. Kargl <kargl@gcc.gnu.org>
> Date: Fri Apr 18 18:05:10 2025 -0700
>
> Fortran: Fix checking for IMPURE in DO CONCURRENT.
>
> PR fortran/119836
>
> gcc/fortran/ChangeLog:
>
> * resolve.cc (check_pure_function): Fix checking for
> an impure subprogram within a DO CONCURRENT construct.
> (pure_subroutine): Ditto.
>
> gcc/testsuite/ChangeLog:
>
> * gfortran.dg/do_concurrent_all_clauses.f90: Remove invalid
> dg-error test.
> * gfortran.dg/pr119836_1.f90: New test.
> * gfortran.dg/pr119836_2.f90: New test.
> * gfortran.dg/pr119836_3.f90: New test.
> * gfortran.dg/pr119836_4.f90: New test.
>
> (cherry picked from commit f9ea46d946887a05d7ecbca5aeeb99fd868f6e70)
>
More information about the Gcc-patches
mailing list