diff options
| author | Damien Doligez <damien.doligez@gmail.com> | 2017-07-12 11:39:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-12 11:39:26 +0200 |
| commit | 2d03974c1223bbd3f1535fde1be2f03148bbed82 (patch) | |
| tree | 802f2943cbae93a77f8f698eaa1966283caa4148 /configure | |
| parent | 76ced0106243cd0b7ed7e4da7fe3eaeee1d900b0 (diff) | |
| download | ocaml-2d03974c1223bbd3f1535fde1be2f03148bbed82.tar.gz | |
PR#7452: tweak GCC options to try to work around the Skylake/Kaby lake bug (#1228)
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -864,6 +864,16 @@ else fi +# Try to work around the Skylake/Kaby Lake processor bug. +case "$bytecc,$target" in + *gcc*,x86_64-*|*gcc*,i686-*) + if sh ./hasgot -Werror -fno-tree-vrp; then + byteccprivatecompopts="$byteccprivatecompopts -fno-tree-vrp" + inf "Adding -fno-tree-vrp option to work around PR#7452" + fi;; +esac + + # Configure the native-code compiler # The NATIVECC make variable defines which compiler and options to use |
