https://bugs.llvm.org/show_bug.cgi?id=36223
Bug ID: 36223
Summary: class member address inconsistency @
-fvisibility-ms-compat.
Product: clang
Version: 5.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: pawel_sik...@zoho.com
CC: llvm-bugs@lists.llvm.org
as you can see the &u@bar differs between ctor/test for clang. looks like a
bug.
% ./build-gcc && ./m
&foo
ST::ctor(this = 0x1a0a280, &u = 0x7ffb6911c038)
ST::test(this = 0x1a0a280, &u = 0x7ffb6911c038)
&bar
ST::ctor(this = 0x1a0a2a0, &u = 0x7ffb69119038)
ST::test(this = 0x1a0a2a0, &u = 0x7ffb69119038)
% ./build-clang && ./m
&foo
ST::ctor(this = 0x11bd280, &u = 0x7f6d980f0020)
ST::test(this = 0x11bd280, &u = 0x7f6d980f0020)
&bar
ST::ctor(this = 0x11bd2a0, &u = 0x7f6d980ed020)
ST::test(this = 0x11bd2a0, &u = 0x7f6d980f0020)
tested @ fedora-27 with system-wide compilers:
% rpm -q gcc clang
gcc-7.2.1-2.fc27.x86_64
clang-5.0.1-1.fc27.x86_64
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs