On 11/11/19 2:58 PM, Mark Eggleston wrote:
Unfortunately ISO_Fortran_binding_16.f90 contains a typo resulting in: the cause is that it refers to ISO_Fortran_binding_15.c instead of ISO_Fortran_binding_16.c in the dg-additional-sources directive.
I was sure that I tested it and committed the right version after the renaming was needed. (Paul's patch used the same file names).
In any case, it is now corrected in Rev. 278055. Thanks, Tobias
commit ade0939d853f376a0568d29a94fdde2fd14e08d5 Author: burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon Nov 11 15:35:50 2019 +0000 Fix commit for PR fortran/92142 - CFI_setpointer corrupts descriptor 2019-11-11 Tobias Burnus <tob...@codesourcery.com> Mark Eggleston <mark.eggles...@codethink.com> PR fortran/92142 * gcc/testsuite/gfortran.dg/ISO_Fortran_binding_16.f90: Correct dg-additional-sources. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@278055 138bc75d-0d04-0410-961f-82ee72b054a4 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 66de94fc582..ebdf61161ee 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-11-11 Tobias Burnus <tob...@codesourcery.com> + Mark Eggleston <mark.eggles...@codethink.com> + + PR fortran/92142 + * gcc/testsuite/gfortran.dg/ISO_Fortran_binding_16.f90: + Correct dg-additional-sources. + 2019-11-11 Andre Vieira <andre.simoesdiasvie...@arm.com> * gcc.dg/vect/vect-reduc-epilogue-gaps.c: New test. diff --git a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_16.f90 b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_16.f90 index 799f34b1287..9e5f3b1a9bc 100644 --- a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_16.f90 +++ b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_16.f90 @@ -1,6 +1,6 @@ ! { dg-do run } ! { dg-additional-options "-fbounds-check" } -! { dg-additional-sources ISO_Fortran_binding_15.c } +! { dg-additional-sources ISO_Fortran_binding_16.c } ! ! Test the fix for PR92142. !