diff options
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in index 308e1288ba..12dfb9b19b 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1903,8 +1903,9 @@ fi if test "x$ac_compiler_gnu" = "xyes"; then AC_MSG_CHECKING([if we should add -fno-tree-copyrename to CFLAGS for computed gotos to work properly]) +## tree-copyrename was broken in gcc 4.3 and then removed in gcc 6 AC_TRY_COMPILE([],[ - #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) + #if (__GNUC__ > 4 && __GNUC__ < 6) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) ; #else #error old and ok |