RE: [PATCH v2 00/10] Rework READ_ONCE() to improve codegen

From: David Laight
Date: Thu Jan 23 2020 - 12:07:46 EST


From: Will Deacon
> Sent: 23 January 2020 15:34
...
> * Only warn once at build-time if GCC prior to 4.8 is detected...
>
> * ... and then raise the minimum GCC version to 4.8, with an error for
> older versions of the compiler

If the kernel compiled with gcc 4.7 is likely to be buggy, don't these
need to be in the other order?

Otherwise you need to keep the old versions for use with the old
compilers.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)