RE: [PATCH] aarch64: Fix PR97638

2020-11-02 Thread Sudakshina Das via Gcc-patches
Hi Richard > -Original Message- > From: Richard Sandiford > Sent: 02 November 2020 10:31 > To: Sudakshina Das > Cc: gcc-patches@gcc.gnu.org; Kyrylo Tkachov ; > Richard Earnshaw > Subject: Re: [PATCH] aarch64: Fix PR97638 > > Sudakshina Das writes: &

Re: [PATCH] aarch64: Fix PR97638

2020-11-02 Thread Richard Sandiford via Gcc-patches
Sudakshina Das writes: > Hi > > Currently the testcase in the patch was failing to produce > a 'bti c' at the beginning of the function. This was because > in aarch64_pac_insn_p, we were wrongly returning at the first > check. This patch fixes the return value. > > Bootstrap and regression tested

[PATCH] aarch64: Fix PR97638

2020-11-02 Thread Sudakshina Das via Gcc-patches
Hi Currently the testcase in the patch was failing to produce a 'bti c' at the beginning of the function. This was because in aarch64_pac_insn_p, we were wrongly returning at the first check. This patch fixes the return value. Bootstrap and regression tested on aarch64-none-linux-gnu. Is this ok