From: Jakub Jelinek Date: Thu, 6 Mar 2025 16:29:03 +0000 (+0100) Subject: testsuite: Add test for already fixed PR [PR104826] X-Git-Tag: basepoints/gcc-16~1686 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49ac89e03f2f171b401ac8b9d7c3cef72efbdc63;p=thirdparty%2Fgcc.git testsuite: Add test for already fixed PR [PR104826] ICE on this test was fixed by r15-2131. This just adds test for it. 2025-03-06 Jakub Jelinek PR fortran/104826 * gfortran.dg/gomp/pr104826.f90: New test. --- diff --git a/gcc/testsuite/gfortran.dg/gomp/pr104826.f90 b/gcc/testsuite/gfortran.dg/gomp/pr104826.f90 new file mode 100644 index 00000000000..9eae257d64d --- /dev/null +++ b/gcc/testsuite/gfortran.dg/gomp/pr104826.f90 @@ -0,0 +1,8 @@ +! PR fortran/104826 +program pr104826 + character(:), allocatable :: x + save + !$omp target + x = 'abc' + !$omp end target +end