diff options
author | Tobias Burnus <tburnus@baylibre.com> | 2024-07-30 10:18:06 +0200 |
---|---|---|
committer | Tobias Burnus <tburnus@baylibre.com> | 2024-07-30 10:18:06 +0200 |
commit | 15158a8853a69f27a3c14644f35a93029dea6a84 (patch) | |
tree | f80c64f7210ebd0c988dd1b0842c29570b4b72c9 /gcc | |
parent | 922083693136be9516b9f916fd00005139f419f8 (diff) | |
download | gcc-15158a8853a69f27a3c14644f35a93029dea6a84.zip gcc-15158a8853a69f27a3c14644f35a93029dea6a84.tar.gz gcc-15158a8853a69f27a3c14644f35a93029dea6a84.tar.bz2 |
gfortran.dg/compiler-directive_2.f: Update dg-error
This is a fallout of commit r15-2378-g29b1587e7d3466
OpenMP/Fortran: Fix handling of 'declare target' with 'link' clause [PR115559]
where the '!GCC$' attributes were added in reverse order.
Result: The error diagnostic for the stdcall/fastcall was reversed.
Solution: Swap the order in dg-error.
gcc/testsuite/ChangeLog:
* gfortran.dg/compiler-directive_2.f: Update dg-error.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gfortran.dg/compiler-directive_2.f | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/compiler-directive_2.f b/gcc/testsuite/gfortran.dg/compiler-directive_2.f index 79169a8..c31349f 100644 --- a/gcc/testsuite/gfortran.dg/compiler-directive_2.f +++ b/gcc/testsuite/gfortran.dg/compiler-directive_2.f @@ -5,6 +5,6 @@ ! Check for calling convention consitency ! in procedure-pointer assignments. ! - subroutine test() ! { dg-error "fastcall and stdcall attributes are not compatible" } + subroutine test() ! { dg-error "stdcall and fastcall attributes are not compatible" } cGCC$ attributes stdcall, fastcall::test end subroutine test |