Subject: [Boost-bugs] [Boost C++ Libraries] #7372: test_complex.cpp fails with intel compiler v12 and -ansi-alias
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-13 17:56:38
#7372: test_complex.cpp fails with intel compiler v12 and -ansi-alias
--------------------------------------------+-------------------------------
Reporter: russelljbrennan@⦠| Owner: ramey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost 1.51.0 | Severity: Problem
Keywords: serialization, intel, aliasing |
--------------------------------------------+-------------------------------
My compile line is the following, from within
...boost_1_51_0/libs/serialization/test:
icpc -ansi-alias -ansi-alias-check -I ../../../ test_complex.cpp
../../../bin.v2/libs/serialization/build/gcc-4.1.2/release/link-static
/threading-multi/libboost_serialization.a
../../../bin.v2/libs/filesystem/build/gcc-4.1.2/release/link-static
/threading-multi/libboost_filesystem.a
../../../bin.v2/libs/system/build/gcc-4.1.2/release/link-static/threading-
multi/libboost_system.a -o test; ./test
I get the following errors:
test_complex.cpp(69): test '(std::abs(a-a1) <=
2.*std::numeric_limits<float>::round_error())' failed in function 'int
test_main(int, char **)'
test_complex.cpp(70): test '(std::abs(b-b1) <=
2.*std::numeric_limits<double>::round_error())' failed in function 'int
test_main(int, char **)'
From other testing I have done, I believe this error happens on the
reading end of things as oppose to writing: the written archive looks
legit.
I am running on an x86_64 RHELv5u8 system with intel compiler v12.1, in
gcc 4.1.2 mode.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7372> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC