[LLVMbugs] [Bug 8054] New: clang drops volatile from struct on assignment from call
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 1 13:00:08 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8054
Summary: clang drops volatile from struct on assignment from
call
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: gohman at apple.com
CC: llvmbugs at cs.uiuc.edu
On this C code:
struct T { int i; int j; int k; int l; int m; };
extern volatile struct T t;
struct T foo(void);
void bar(void) {
t = foo();
}
clang emits this:
call void @foo(%struct.T* sret @t)
The volatile qualifier has not been preserved.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list