Discussion:
Change 27568: Fix some test failures in t/op/cmp.t when compiling with the Intel
(too old to reply)
Steve Peters
2006-03-22 16:00:01 UTC
Permalink
Change 27568 by ***@stevep-mccoy on 2006/03/22 15:59:07

Fix some test failures in t/op/cmp.t when compiling with the Intel
C++ Compiler on Linux.

Affected files ...

... //depot/perl/hints/linux.sh#56 edit

Differences ...

==== //depot/perl/hints/linux.sh#56 (text) ====
Index: perl/hints/linux.sh
--- perl/hints/linux.sh#55~27212~ 2006-02-17 13:21:05.000000000 -0800
+++ perl/hints/linux.sh 2006-03-22 07:59:07.000000000 -0800
@@ -77,7 +77,8 @@
case "`${cc:-cc} -V 2>&1`" in
*"Intel(R) C++ Compiler"*|*"Intel(R) C Compiler"*)
# This is needed for Configure's prototype checks to work correctly
- ccflags="-we147 $ccflags"
+ # The -mp1 flag is needed to pass cmp related tests
+ ccflags="-we147 -mp1 $ccflags"
# If we're using ICC, we usually want the best performance
case "$optimize" in
'') optimize='-O3' ;;
End of Patch.
Nicholas Clark
2006-03-22 16:09:32 UTC
Permalink
Post by Steve Peters
Fix some test failures in t/op/cmp.t when compiling with the Intel
C++ Compiler on Linux.
Thanks
Post by Steve Peters
*"Intel(R) C++ Compiler"*|*"Intel(R) C Compiler"*)
# This is needed for Configure's prototype checks to work correctly
- ccflags="-we147 $ccflags"
+ # The -mp1 flag is needed to pass cmp related tests
+ ccflags="-we147 -mp1 $ccflags"
Klortho's advice #11912 seems to apply to a certain vendor's compiler in
default settings mode.

Nicholas Clark

Loading...