Displaying 2 results from an estimated 2 matches for "fcb995e2".
2013 Jun 05
0
[LLVMdev] bug or expected behaviour?
...Command:
clang -S -o volatile-test.s -O3 test.c
Output attached.
The only line of interest is probably:
jmp external # TAILCALL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130604/fcb995e2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extern-test.s
Type: application/octet-stream
Size: 326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130604/fcb995e2/attachment.obj>
2013 Jun 04
5
[LLVMdev] bug or expected behaviour?
On Jun 4, 2013, at 4:42 PM, Tyler Hardin <tghardin1 at catamount.wcu.edu> wrote:
> I was suggesting to add it to the function, like
> volatile void func(..);
> Theoretically, this would tell the compiler not to omit seemingly superfluous calls to func.
'volatile' can't apply to a function, so I'm not sure what you mean. In your example, 'volatile' modifies