|
test_3
|
‘test_3’: event 1
| 43 | if (sz <= LIMIT) |
| ^ |
| | |
| (1) following ‘true’ branch (when ‘sz <= 1024’)... |
|
|
‘test_3’: event 2
| 44 | ptr = alloca (sz); /* { dg-message "memory is allocated on the stack here" } */ |
| ^~~~~~ |
| | |
| (2) ...to here |
|
|
‘test_3’: event 3
| 44 | ptr = alloca (sz); /* { dg-message "memory is allocated on the stack here" } */ |
| ^~~~~~ |
| | |
| (3) memory is allocated on the stack here |
|
|
‘test_3’: events 4-6
| 52 | if (sz >= LIMIT) |
| ^ |
| | |
| (4) following ‘true’ branch (when ‘sz > 1023’)... |
| 53 | free (ptr); /* { dg-warning "'free' of memory allocated on the stack by 'alloca'" } */ |
| ~~~~~~~~~~ |
| | |
| (5) ...to here |
| (6) call to ‘free’ here |
|
|