[PATCH] powerpc: Don't use asm goto for put_user() with GCC 4.9

Christophe Leroy christophe.leroy at csgroup.eu
Wed Nov 4 06:22:35 AEDT 2020



Le 03/11/2020 à 19:58, Segher Boessenkool a écrit :
> On Tue, Nov 03, 2020 at 03:43:55PM +0100, Christophe Leroy wrote:
>> Le 03/11/2020 à 14:29, Michael Ellerman a écrit :
>>> For now though let's just not use asm goto with GCC 4.9, to avoid this
>>> bug and any other issues we haven't noticed yet. Possibly in future we
>>> can find a smaller workaround.
>>
>> Is that https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 ?
> 
> That was fixed in 4.8.1 (and all 4.9), so probably not.
> 

Ok.

Regardless, using "asm_volatile_goto()" instead of "asm volatile goto()" fixes the issue it seems.

Christophe


More information about the Linuxppc-dev mailing list