Expand gcc version check to include early 7.x

This commit is contained in:
Martin Kroeker 2019-09-14 16:45:52 +02:00 committed by GitHub
parent e607c67e5f
commit a8bfe4f709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#if ( defined(__GNUC__) && __GNUC__ < 6 )
#if ( defined(__GNUC__) && (__GNUC__ < 5 || (__GNUC__ == 7 && __GNUC_MINOR__ < 3)) )
#pragma GCC optimize "O0"
#endif
/***************************************************************************