blob: 981c763a06c51f013879d80ce959a72adda36357 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* { dg-do compile } */
/* { dg-options "-fdump-tree-original" } */
/* The base address of the UPC shared section */
extern char __upc_shared_start[1];
typedef unsigned int uint_qi_t __attribute__ ((__mode__(__QI__)));
/* UPC runtime remote access prototype */
extern void __putqi2 (upc_shared_ptr_t, uint_qi_t);
relaxed shared uint_qi_t x;
void p () {
x = 1;
}
/* { dg-final { scan-tree-dump-times "putqi2" 1 "original" } } */
/* { dg-final { scan-tree-dump-times "get|put" 1 "original" } } */
|