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
testsuite: pru: Fix pr64366.c for new -std=gnu23 default
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr78586.c
blob
6982534e9ee59a4b230ecfc274d2444687e8eb11
1
/* PR tree-optimization/78586 */
2
3
void
4
foo
(
unsigned long
x
)
5
{
6
char
a
[
30
];
7
unsigned long
b
=
__builtin_sprintf
(
a
,
"%lu"
,
x
);
8
if
(
b
!=
4
)
9
__builtin_abort
();
10
}
11
12
int
13
main
()
14
{
15
foo
(
1000
);
16
return
0
;
17
}