Re: [PATCH] arm: Fix up gcc.target/arm/lto/pr96939_* FAIL

2020-09-16 Thread Jakub Jelinek via Gcc-patches
On Tue, Sep 15, 2020 at 03:32:40PM +, Vaseeharan Vinayagamoorthy wrote: > I am seeing this unused parameter 'opts' error when building for this > configuration: > Build: arm-none-linux-gnueabihf > Host: arm-none-linux-gnueabihf > Target: arm-none-linux-gnueabihf > > In function 'void arm_opti

Re: [PATCH] arm: Fix up gcc.target/arm/lto/pr96939_* FAIL

2020-09-15 Thread Vaseeharan Vinayagamoorthy
I am seeing this unused parameter 'opts' error when building for this configuration: Build: arm-none-linux-gnueabihf Host: arm-none-linux-gnueabihf Target: arm-none-linux-gnueabihf In function 'void arm_option_restore(gcc_options*, gcc_options*, cl_target_option*)': /src/gcc/gcc/config/arm/arm.c

RE: [PATCH] arm: Fix up gcc.target/arm/lto/pr96939_* FAIL

2020-09-14 Thread Kyrylo Tkachov
Hi Jakub, > -Original Message- > From: Jakub Jelinek > Sent: 13 September 2020 09:39 > To: Richard Earnshaw ; Kyrylo Tkachov > > Cc: gcc-patches@gcc.gnu.org > Subject: [PATCH] arm: Fix up gcc.target/arm/lto/pr96939_* FAIL > > Hi! > > The foll

[PATCH] arm: Fix up gcc.target/arm/lto/pr96939_* FAIL - alternate version

2020-09-13 Thread Jakub Jelinek via Gcc-patches
Hi! The large patch for opts_set saving/restoring doesn't seem to be desirable for backporting (it can be backported and I've even tested it in gcc 10, but it is too large), so this patch instead provides a target only fix. As opts_set can't be trusted, it uses TargetVariables to record whether -m

[PATCH] arm: Fix up gcc.target/arm/lto/pr96939_* FAIL

2020-09-13 Thread Jakub Jelinek via Gcc-patches
Hi! The following patch on top of the https://gcc.gnu.org/pipermail/gcc-patches/2020-September/553801.html patch fixes the gcc.target/arm/lto/pr96939_* test in certain ARM configurations. As said in the above mentioned patch, the generic code takes care of saving/restoring TargetVariables or Targe