Browse Source

configure: Enable -Qansi-alias for icl 14+

Qansi-alias worked on 12.x, then caused miscompilation on 13.x, but now
works again passing all FATE tests for icl version 14.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
tags/n2.1
Alex Smith Diego Biurrun 12 years ago
parent
commit
d6d27f3e58
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      configure

+ 4
- 2
configure View File

@@ -4021,8 +4021,10 @@ elif enabled_any msvc icl; then
enabled debug && add_ldflags -debug enabled debug && add_ldflags -debug
enable pragma_deprecated enable pragma_deprecated
if enabled icl; then if enabled icl; then
# basically -fstrict-aliasing that does not work (correctly) on icl 13.x
check_cpp_condition "windows.h" "__ICL < 1300" && add_cflags -Qansi-alias
# -Qansi-alias is basically -fstrict-aliasing, but does not work
# (correctly) on icl 13.x.
check_cpp_condition "windows.h" "__ICL < 1300 || __ICL >= 1400" &&
add_cflags -Qansi-alias
# icl will pass the inline asm tests but inline asm is currently # icl will pass the inline asm tests but inline asm is currently
# not supported (build will fail) # not supported (build will fail)
disable inline_asm disable inline_asm


Loading…
Cancel
Save