Re: Pushed: [PATCH] LoongArch: testsuite: Add -O for jump-table-annotate.c

2024-11-02 Thread Xi Ruoyao
On Sat, 2024-11-02 at 09:52 +0800, Lulu Cheng wrote: > > 在 2024/11/2 上午1:36, Xi Ruoyao 写道: > > Without optimization, GCC does not emit a jump table for the test case. > > > > I'm not sure if the test case has been wrong in the first place or > > something has changed in these months... > > It wa

Re: Pushed: [PATCH] LoongArch: testsuite: Add -O for jump-table-annotate.c

2024-11-01 Thread Lulu Cheng
在 2024/11/2 上午1:36, Xi Ruoyao 写道: Without optimization, GCC does not emit a jump table for the test case. I'm not sure if the test case has been wrong in the first place or something has changed in these months... It was in the r15-4756 that turned -fjump-tables off at O0 optimization. I wa

Pushed: [PATCH] LoongArch: testsuite: Add -O for jump-table-annotate.c

2024-11-01 Thread Xi Ruoyao
Without optimization, GCC does not emit a jump table for the test case. I'm not sure if the test case has been wrong in the first place or something has changed in these months... gcc/testsuite/ChangeLog: * gcc.target/loongarch/jump-table-annotate.c (dg-additional-options): Add -