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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr105080.c
blob
77ee7eeb396e3725a6c3b897f0fcdea88d082177
1
/* { dg-do compile } */
2
/* { dg-options "-O0 -Wall" } */
3
4
int
main
()
5
{
6
char
foo
[
3
];
7
int
i
;
8
9
for
(
i
=
0
;
i
<
16
;
i
++)
10
__builtin_snprintf
(
foo
,
sizeof
(
foo
),
"%d"
,
i
);
/* { dg-bogus "truncated" } */
11
}