search for: r168538

Displaying 2 results from an estimated 2 matches for "r168538".

2012 Nov 24
0
[LLVMdev] Uninitialized variable - question
...ndefined. Objects of automatic storage, which don't have an initializer are of indeterminate value, which either is an unspecified value or a trap representation. > What I found is that with -O2: > LLVM (trunk) prints both "a" and "b" I can't reproduce this with r168538. I only get "a". Regards, Patrik Hägglund -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Jakub Staszak Sent: den 24 november 2012 11:08 To: llvmdev at cs.uiuc.edu Subject: [LLVMdev] Uninitialized variable - question...
2012 Nov 24
6
[LLVMdev] Uninitialized variable - question
Hello, I was wondering about the case below. I tried to find any information in C standard, but I found nothing. In this case, variable "i" is uninitialized, but it is the _same_ value passed as an argument, so only of "a" or "b" should be printed. What I found is that with -O2: LLVM (trunk) prints both "a" and "b" GCC (4.2) prints both