| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-Warray-bounds -O2" } */ |
| 3 |
struct PhaseEntryType |
| 4 |
{ |
| 5 |
char raw_field[50 + 1]; |
| 6 |
}; |
| 7 |
int |
| 8 |
ParsePhase (char in_cols[15][250], struct PhaseEntryType *P) |
| 9 |
{ |
| 10 |
__builtin_strncpy (P->raw_field, in_cols[2], 50); |
| 11 |
} |