[cfe-users] Fwd: clang/llvm 3.9 bug

Christophe Duvernois via cfe-users cfe-users at lists.llvm.org
Tue Sep 27 07:26:06 PDT 2016


Hi,

Please find attached a short c test program which does not behave correctly
with clang 3.9.
I'm running ubuntu 16.04 64bit

clang bug.c
./a.out for gcc 5.4.0 / clang3.8 output:
1 1 0 1
1 1 0 1
./a.out for clang3.9 output:
0 0 0 0
0 0 0 0

Is that a regression?

Regards,
Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20160927/4b22f941/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.c
Type: text/x-csrc
Size: 1268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20160927/4b22f941/attachment.c>


More information about the cfe-users mailing list