* [PATCH] RISC-V: Unescape chars in pr111566.f90 test
@ 2023-10-03 20:19 Patrick O'Neill
2023-10-03 21:55 ` Jeff Law
0 siblings, 1 reply; 3+ messages in thread
From: Patrick O'Neill @ 2023-10-03 20:19 UTC (permalink / raw)
To: gcc-patches
Cc: juzhe.zhong, kito.cheng, jeffreyalaw, rdapp.gcc, gnu-toolchain,
Patrick O'Neill
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 | 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 "-march=rv64gcv -mabi=lp64d -Ofast -fallow-argument-mismatch -fmax-stack-var-size=65536 -S -std=legacy -w" }
+! { 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 => 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 <= cs ) then
+ if( cr <= cs ) then
cg= sign( min(ct, cg), cg)
endif
enddo
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] RISC-V: Unescape chars in pr111566.f90 test
2023-10-03 20:19 [PATCH] RISC-V: Unescape chars in pr111566.f90 test Patrick O'Neill
@ 2023-10-03 21:55 ` Jeff Law
2023-10-03 22:04 ` [Committed] " Patrick O'Neill
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Law @ 2023-10-03 21:55 UTC (permalink / raw)
To: Patrick O'Neill, gcc-patches
Cc: juzhe.zhong, kito.cheng, rdapp.gcc, gnu-toolchain
On 10/3/23 14:19, Patrick O'Neill wrote:
> 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.
LOL. Yea, this is OK.
jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Committed] RISC-V: Unescape chars in pr111566.f90 test
2023-10-03 21:55 ` Jeff Law
@ 2023-10-03 22:04 ` Patrick O'Neill
0 siblings, 0 replies; 3+ messages in thread
From: Patrick O'Neill @ 2023-10-03 22:04 UTC (permalink / raw)
To: Jeff Law, gcc-patches; +Cc: juzhe.zhong, kito.cheng, rdapp.gcc, gnu-toolchain
On 10/3/23 14:55, Jeff Law wrote:
>
>
> On 10/3/23 14:19, Patrick O'Neill wrote:
>> 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.
> LOL. Yea, this is OK.
>
> jeff
Committed.
Patrick
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-03 22:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03 20:19 [PATCH] RISC-V: Unescape chars in pr111566.f90 test Patrick O'Neill
2023-10-03 21:55 ` Jeff Law
2023-10-03 22:04 ` [Committed] " 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).