blob: 27530435d5a229fa28b43f1cb5cca275ee4f499a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* { dg-do compile } */
/* { dg-options "-fdump-tree-original" } */
/* The base address of the UPC shared section */
extern char __upc_shared_start[1];
typedef struct { unsigned char c[16]; } blk_t;
/* UPC runtime remote access prototype */
typedef __SIZE_TYPE__ size_t;
extern void __putblk3 (upc_shared_ptr_t, void *, size_t);
relaxed shared blk_t x;
blk_t local_x;
void p () {
x = local_x;
}
/* { dg-final { scan-tree-dump-times "putblk3" 1 "original" } } */
/* { dg-final { scan-tree-dump-times "get|put" 1 "original" } } */
|