blob: b71f46969b11d4be9c2ef5ea91bc66a493e2af38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include "repeat.h"
void use(void *, void *, void *, void *);
void *def(void);
#define BLOCK(n) { \
void *label; \
use(&&w##n, &&x##n, &&y##n, &&z##n); \
w##n: label = def(); goto *label; \
x##n: label = def(); goto *label; \
y##n: label = def(); goto *label; \
z##n: label = def(); goto *label; \
}
static void foo(void) {
REPEAT2(5, BLOCK)
}
/*
* check-name: quadratic @ liveness
* check-command: test-linearize -I. $file
* check-timeout:
*
* check-output-ignore
* check-output-excludes: phi\\.
* check-output-excludes: phisrc\\.
*/
|