[llvm-dev] clang/llvm 3.9 bug

Friedman, Eli via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 27 10:11:45 PDT 2016


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



More information about the llvm-dev mailing list