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

Attachment: address_space.patch
Description: Binary data



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to