1 /* { dg-do compile } */ 2 /* { dg-options "-fstack-limit-symbol=__stackend -fno-pic" } */ 3 /* { dg-final { scan-assembler "movhi\\t.*, %hiadj\\(__stackend.*\\)" } } */ 4 /* { dg-final { scan-assembler "addi\\t.*, .*, %lo\\(__stackend.*\\)" } } */ 5 /* { dg-final { scan-assembler "bgeu\\tsp, " } } */ 6 /* { dg-final { scan-assembler "trap\\t3|trap.n\\t3" } } */ 7 8 /* check stack checking */ test()9void test() 10 { 11 int a, b, c; 12 } 13