comparison gcc/testsuite/gcc.dg/pr32135.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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 }