public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4387] RISC-V: Unescape chars in pr111566.f90 test
@ 2023-10-03 22:03 Patrick O'Neill
  0 siblings, 0 replies; only message in thread
From: Patrick O'Neill @ 2023-10-03 22:03 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:645f2a7dd47aa84d94df594bbd736085e51fc637

commit r14-4387-g645f2a7dd47aa84d94df594bbd736085e51fc637
Author: Patrick O'Neill <patrick@rivosinc.com>
Date:   Tue Oct 3 13:13:01 2023 -0700

    RISC-V: Unescape chars in pr111566.f90 test
    
    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>

Diff:
---
 gcc/testsuite/gcc.target/riscv/rvv/fortran/pr111566.f90 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.target/riscv/rvv/fortran/pr111566.f90 b/gcc/testsuite/gcc.target/riscv/rvv/fortran/pr111566.f90
index 265e913b299..2e30dc9bfaa 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/fortran/pr111566.f90
+++ b/gcc/testsuite/gcc.target/riscv/rvv/fortran/pr111566.f90
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-03 22:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03 22:03 [gcc r14-4387] RISC-V: Unescape chars in pr111566.f90 test Patrick O'Neill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).