gcc/testsuite/g++.target/loongarch/got-load.C
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-mabi=lp64d -O2 -mexplicit-relocs -mcmodel=normal -fdump-rtl-expand -fno-stack-protector" } */ |
| 3 | /* { dg-final { scan-rtl-dump-times "mem/u" 2 "expand" } } */ |
| 4 | |
| 5 | #include <bits/stdc++.h> |
| 6 | |
| 7 | using namespace std; |
| 8 | |
| 9 | int lr[100005][2]; |
| 10 | |
| 11 | void |
| 12 | test(void) |
| 13 | { |
| 14 | int n; |
| 15 | |
| 16 | cin >> n; |
| 17 | for (int i = 0; i < n; ++i) |
| 18 | cin >> lr[i][0] >> lr[i][1]; |
| 19 | } |