Re: [PATCH] selftests/powerpc: Fix build failures with GCC 9

2019-08-01 Thread Segher Boessenkool
On Thu, Aug 01, 2019 at 10:26:28PM +1000, Michael Ellerman wrote: > GCC 9 fails to build some of the ptrace TM tests, with errors such as: > > ptrace-tm-spd-vsx.c: In function 'tm_spd_vsx': > ptrace-tm-spd-vsx.c:51:2: error: listing the stack pointer register 'r1' in > a clobber list is

[PATCH] selftests/powerpc: Fix build failures with GCC 9

2019-08-01 Thread Michael Ellerman
GCC 9 fails to build some of the ptrace TM tests, with errors such as: ptrace-tm-spd-vsx.c: In function 'tm_spd_vsx': ptrace-tm-spd-vsx.c:51:2: error: listing the stack pointer register 'r1' in a clobber list is deprecated [-Werror=deprecated] 51 | asm __volatile__( | ^~~