https://gcc.gnu.org/g:49ac89e03f2f171b401ac8b9d7c3cef72efbdc63

commit r15-7867-g49ac89e03f2f171b401ac8b9d7c3cef72efbdc63
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Thu Mar 6 17:29:03 2025 +0100

    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  <ja...@redhat.com>
    
            PR fortran/104826
            * gfortran.dg/gomp/pr104826.f90: New test.

Diff:
---
 gcc/testsuite/gfortran.dg/gomp/pr104826.f90 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gcc/testsuite/gfortran.dg/gomp/pr104826.f90 
b/gcc/testsuite/gfortran.dg/gomp/pr104826.f90
new file mode 100644
index 000000000000..9eae257d64dd
--- /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

Reply via email to