repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr32135.c
blob
4459656441279699451eaff75273da1e5b3d49d9
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
}