]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Unescape chars in pr111566.f90 test
authorPatrick O'Neill <patrick@rivosinc.com>
Tue, 3 Oct 2023 20:13:01 +0000 (13:13 -0700)
committerPatrick O'Neill <patrick@rivosinc.com>
Tue, 3 Oct 2023 22:03:33 +0000 (15:03 -0700)
Some characters are escaped which causes the testcase to fail. This
patch restores the original characters.

Tested for regressions using multilib rv32gcv-ilp32d, rv64gcv-lp64d.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/fortran/pr111566.f90: Restore escaped
characters.

Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
gcc/testsuite/gcc.target/riscv/rvv/fortran/pr111566.f90

index 265e913b299b0a8f4cc8c3cc6585c284691db95d..2e30dc9bfaad91ded7542b71a5bb824ef7aab4fa 100644 (file)
@@ -1,11 +1,11 @@
 ! { dg-do compile }
-! { dg-options &quot;-march=rv64gcv -mabi=lp64d -Ofast -fallow-argument-mismatch -fmax-stack-var-size=65536 -S  -std=legacy -w&quot; }
+! { dg-options "-march=rv64gcv -mabi=lp64d -Ofast -fallow-argument-mismatch -fmax-stack-var-size=65536 -S  -std=legacy -w" }
 
 module a
   integer,parameter :: SHR_KIND_R8 = selected_real_kind(12)
 end module a
 module b
-  use a,  c =&gt; shr_kind_r8
+  use a,  c => shr_kind_r8
 contains
   subroutine d(cg , km, i1, i2)
     real (c) ch(i2,km)
@@ -22,7 +22,7 @@ contains
     enddo
     if ( cq == 0 ) then
        do i=i1,i2
-          if( cr &lt;=  cs ) then
+          if( cr <=  cs ) then
              cg= sign( min(ct,   cg),  cg)
           endif
        enddo