Re: [PATCH] fix small const data for riscv

2022-11-11 Thread Palmer Dabbelt
On Fri, 11 Nov 2022 11:56:08 PST (-0800), gcc-patches@gcc.gnu.org wrote: On Fri, Nov 11, 2022 at 5:03 AM Oria Chen via Gcc-patches wrote: gcc/testsuite ChangeLog: 2022-11-11 Oria Chen * gcc/testsuite/gcc.dg/pr25521.c: Add compile option "-msmall-data-limit=0" to avoid using .srod

Re: [PATCH] fix small const data for riscv

2022-11-11 Thread Andrew Pinski via Gcc-patches
On Fri, Nov 11, 2022 at 5:03 AM Oria Chen via Gcc-patches wrote: > > gcc/testsuite ChangeLog: > > 2022-11-11 Oria Chen > > * gcc/testsuite/gcc.dg/pr25521.c: Add compile option > "-msmall-data-limit=0" to avoid using .srodata section. I noticed g++.dg/cpp0x/constexpr-rom.C has some sli

[PATCH] fix small const data for riscv

2022-11-11 Thread Oria Chen via Gcc-patches
gcc/testsuite ChangeLog: 2022-11-11 Oria Chen * gcc/testsuite/gcc.dg/pr25521.c: Add compile option "-msmall-data-limit=0" to avoid using .srodata section. --- gcc/testsuite/gcc.dg/pr25521.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/p