Merge #20491: refactor: Drop noop gcc version checks

830ddf413934226d0b6ca99165916790cc52ca18 Drop noop gcc version checks (Hennadii Stepanov)

Pull request description:

  Since #20413 the minimum required GCC version is 7.

ACKs for top commit:
  fanquake:
    ACK 830ddf413934226d0b6ca99165916790cc52ca18

Tree-SHA512: 36264661d6ced1683a0c907efba7c700502acaf8e9fd50d9066bc9c7b877b25165b0684c2d7fe74bd58e500a77d7702bdbdd53691c274f29e4abccd241c10964
This commit is contained in:
fanquake 2020-11-30 15:45:37 +08:00 committed by Konstantin Akimov
parent 455bb2e117
commit d01973cc08
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -15,7 +15,7 @@
#if __has_builtin(__builtin_add_overflow) #if __has_builtin(__builtin_add_overflow)
#define HAVE_BUILTIN_ADD_OVERFLOW #define HAVE_BUILTIN_ADD_OVERFLOW
#endif #endif
#elif defined(__GNUC__) && (__GNUC__ >= 5) #elif defined(__GNUC__)
#define HAVE_BUILTIN_ADD_OVERFLOW #define HAVE_BUILTIN_ADD_OVERFLOW
#endif #endif