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