2 -- { dg-options "-fstack-check" }
4 -- This test requires architecture- and OS-specific support code for unwinding
5 -- through signal frames (typically located in *-unwind.h) to pass. Feel free
6 -- to disable it if this code hasn't been implemented yet.
8 procedure Stack_Check1 is
10 type A is Array (1..2048) of Integer;
12 procedure Consume_Stack (N : Integer) is
13 My_A : A; -- 8 KB static
27 Consume_Stack (Integer'Last);
30 when Storage_Error => null;