[cfe-commits] patch: preserve address space
Mon Ping Wang
wangmp at apple.com
Wed Jan 21 20:14:59 PST 2009
Hi,
This patch fixes a case where we lose the address space when accessing
a member of a structure. For example,
consider
typedef struct S {
int arr[ 3 ];
} S;
__attribute__((address_space(1))) S* p1;
p1->arr[2] = 4;
The address space associated with p1->arr should be address space 1.
Please let me know if you have any comments,
-- Mon Ping
-------------- next part --------------
A non-text attachment was scrubbed...
Name: address_space.patch
Type: application/octet-stream
Size: 2305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090121/f5f17c88/attachment.obj>
-------------- next part --------------
More information about the cfe-commits
mailing list