Re: [PATCH] arm: Fix up arm installed unwind.h for use in pedantic modes [PR93615]

2020-02-10 Thread Christophe Lyon
On Mon, 10 Feb 2020 at 14:26, Jakub Jelinek wrote: > > On Mon, Feb 10, 2020 at 02:03:47PM +0100, Christophe Lyon wrote: > > > 2020-02-07 Jakub Jelinek > > > > > > PR target/93615 > > > * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ... > > > (_Unwind_gnu_Find

Re: [PATCH] arm: Fix up arm installed unwind.h for use in pedantic modes [PR93615]

2020-02-10 Thread Jakub Jelinek
On Mon, Feb 10, 2020 at 02:03:47PM +0100, Christophe Lyon wrote: > > 2020-02-07 Jakub Jelinek > > > > PR target/93615 > > * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ... > > (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove > > tr

Re: [PATCH] arm: Fix up arm installed unwind.h for use in pedantic modes [PR93615]

2020-02-10 Thread Christophe Lyon
Hi, On Fri, 7 Feb 2020 at 09:19, Jakub Jelinek wrote: > > Hi! > > As the following testcase shows, unwind.h on ARM can't be (starting with GCC > 10) compiled with -std=c* modes, only -std=gnu* modes. > The problem is it uses asm keyword, which isn't a keyword in those modes > (system headers vs.

Re: [PATCH] arm: Fix up arm installed unwind.h for use in pedantic modes [PR93615]

2020-02-07 Thread Ramana Radhakrishnan
On Fri, Feb 7, 2020 at 8:19 AM Jakub Jelinek wrote: > > Hi! > > As the following testcase shows, unwind.h on ARM can't be (starting with GCC > 10) compiled with -std=c* modes, only -std=gnu* modes. > The problem is it uses asm keyword, which isn't a keyword in those modes > (system headers vs. non

[PATCH] arm: Fix up arm installed unwind.h for use in pedantic modes [PR93615]

2020-02-07 Thread Jakub Jelinek
Hi! As the following testcase shows, unwind.h on ARM can't be (starting with GCC 10) compiled with -std=c* modes, only -std=gnu* modes. The problem is it uses asm keyword, which isn't a keyword in those modes (system headers vs. non-system ones don't make a difference here). glibc and other instal