GCC 5.x and later support built-in functions for overflow checking [1] that are unsupported by Intel C/C++ in versions including the recently released 2017.0.2.174 / 20170213. This creates issues when the system gcc compilers are newer than 4.9.x and users would like to use GCC 5 or later to allow for AVX 512 support in their code.
An example of this issue might include the following error building m4 from source with GCC 5.4.0:
m4-1.4.18/lib/xalloc.h:107: undefined reference to `__builtin_mul_overflow'
Is there a better general workaround than setting -no-gcc or forcing __GNUC__, __GNUC_MINOR__, and __GNUC_PATCHLEVEL__ to an older version of GCC?
[1] https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins.html