gcc/testsuite/c-c++-common/analyzer/pr96841.c
raw| 1 | /* { dg-additional-options "-O1 -Wno-builtin-declaration-mismatch -Wno-analyzer-too-complex" } */ |
| 2 | |
| 3 | int |
| 4 | l8 (void); |
| 5 | |
| 6 | __SIZE_TYPE__ |
| 7 | malloc (__SIZE_TYPE__); |
| 8 | |
| 9 | void |
| 10 | th (int *); |
| 11 | |
| 12 | void |
| 13 | bv (__SIZE_TYPE__ ny, int ***mf) |
| 14 | { |
| 15 | while (l8 ()) |
| 16 | { |
| 17 | *mf = 0; |
| 18 | (*mf)[ny] = (int *) malloc (sizeof (int)); |
| 19 | th ((*mf)[ny]); |
| 20 | } |
| 21 | } |