Re: [PATCH resend] testsuite: avoid no-stack-protector-attr-3 fail on mips*-*-*

2021-06-24 Thread Xi Ruoyao via Gcc-patches
On Thu, 2021-06-24 at 00:05 -0600, Jeff Law wrote: > > > On 6/22/2021 3:44 AM, Xi Ruoyao via Gcc-patches wrote: > > [Resend because the original subject missed "[PATCH]" and the path > > in > > ChangeLog is wrong.] > > > > On MIPS a call to __stack_chk_fail needs an additional .reloc > > pseudo-

Re: [PATCH resend] testsuite: avoid no-stack-protector-attr-3 fail on mips*-*-*

2021-06-23 Thread Jeff Law via Gcc-patches
On 6/22/2021 3:44 AM, Xi Ruoyao via Gcc-patches wrote: [Resend because the original subject missed "[PATCH]" and the path in ChangeLog is wrong.] On MIPS a call to __stack_chk_fail needs an additional .reloc pseudo-op, so "stack_chk_fail" will appear two times. gcc/testsuite/ * g++.

[PATCH resend] testsuite: avoid no-stack-protector-attr-3 fail on mips*-*-*

2021-06-22 Thread Xi Ruoyao via Gcc-patches
[Resend because the original subject missed "[PATCH]" and the path in ChangeLog is wrong.] On MIPS a call to __stack_chk_fail needs an additional .reloc pseudo-op, so "stack_chk_fail" will appear two times. gcc/testsuite/ * g++.dg/no-stack-protector-attr-3.C (dg-final): Adjust for

testsuite: avoid no-stack-protector-attr-3 fail on mips*-*-*

2021-06-22 Thread Xi Ruoyao via Gcc-patches
On MIPS a call to __stack_chk_fail needs an additional .reloc pseudo-op, so "stack_chk_fail" will appear two times. gcc/testsuite/ * no-stack-protector-attr-3.C (dg-final): Adjust for MIPS. --- gcc/testsuite/g++.dg/no-stack-protector-attr-3.C | 3 ++- 1 file changed, 2 insertions(+), 1 d