Subject: [Boost-bugs] [Boost C++ Libraries] #11832: clang-cl + boost intrusive = miscompile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-12-07 08:20:20
#11832: clang-cl + boost intrusive = miscompile
-----------------------------------------+------------------------
Reporter: Yaron Keren <yaron.keren@â¦> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: intrusive
Version: Boost 1.59.0 | Severity: Problem
Keywords: |
-----------------------------------------+------------------------
I'm not sure what the problem source is, but boost intrusive examples fail
when compiled with clang-cl (but pass with clang targetting mingw).
Attached is a reduced example doc_how_to_use.cpp and a batch file running
it under clang(mingw), cl, clang-cl. The two reported address should be
the identical per the original example which compares them. Yet, clang-cl
(last) prints different addresses:
{{{
clang++ (i686,mingw)
values=0x3519d0 memberlist = 0x3519d0
cl
doc_how_to_use.cpp
values=003D96D0 memberlist = 003D96D0
clang-cl
values=005196D0 memberlist = 005196D1
}}}
clang version 3.8.0 (trunk 253440).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11832> 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:19 UTC