[COMMITTED] testsuite: XFAIL gfortran.dg/initialization_25.f90 properly (again)

Message ID f4d0c6acc0ef43d7971f2d53afaa64ca05fb4718.1727631953.git.sam@gentoo.org
State Committed
Commit f4d0c6acc0ef43d7971f2d53afaa64ca05fb4718
Headers
Series [COMMITTED] testsuite: XFAIL gfortran.dg/initialization_25.f90 properly (again) |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 warning Patch is already merged

Commit Message

Sam James Sept. 29, 2024, 5:45 p.m. UTC
  dg-error needs an argument for "why" / a comment.

gcc/testsuite/ChangeLog:
	PR fortran/116858

	* gfortran.dg/initialization_25.f90: Fix dg-error arguments.
---
 gcc/testsuite/gfortran.dg/initialization_25.f90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/testsuite/gfortran.dg/initialization_25.f90 b/gcc/testsuite/gfortran.dg/initialization_25.f90
index cae3bbd27d53..805814aaaaa6 100644
--- a/gcc/testsuite/gfortran.dg/initialization_25.f90
+++ b/gcc/testsuite/gfortran.dg/initialization_25.f90
@@ -8,5 +8,5 @@ 
 ! XFAIL is for PR35779
 
 !   INTEGER :: J1
-!   INTEGER,PARAMETER :: I2(10) = (/(J1,J1=its_bad,1,-1)/) ! { dg-error "does not reduce" { xfail *-*-* } }
+!   INTEGER,PARAMETER :: I2(10) = (/(J1,J1=its_bad,1,-1)/) ! { dg-error "does not reduce" "PR35779" { xfail *-*-* } }
 END