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/llvm-dev/attachments/20160927/1abcc873/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/llvm-dev/attachments/20160927/1abcc873/attachment.c>
On 9/27/2016 7:24 AM, Christophe Duvernois via llvm-dev wrote:> 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?This is an intentional change; see https://llvm.org/bugs/show_bug.cgi?id=28510 . -Eli -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Ok thank you for the information! 2016-09-27 19:11 GMT+02:00 Friedman, Eli <efriedma at codeaurora.org>:> On 9/27/2016 7:24 AM, Christophe Duvernois via llvm-dev wrote: > >> 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? >> > > This is an intentional change; see https://llvm.org/bugs/show_bug > .cgi?id=28510 . > > -Eli > > -- > Employee of Qualcomm Innovation Center, Inc. > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux > Foundation Collaborative Project > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160927/811a427f/attachment.html>
Seemingly Similar Threads
- [LLVMdev] Emit only one function of the module to native code
- [LLVMdev] Emit only one function of the module to native code
- [LLVMdev] Emit only one function of the module to native code
- [LLVMdev] proposal to avoid zlib dependency.
- [LLVMdev] proposal to avoid zlib dependency.