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
/
pr82123.c
blob
34109f1aec4f745d58e19523478cfe855110a416
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -Wformat-overflow=1" } */
3
4
void
acpi_gpiochip_request_interrupt
(
unsigned short
s
)
5
{
6
char
name
[
3
];
7
unsigned int
pin
=
s
;
8
9
if
(
pin
<=
255
)
10
__builtin_sprintf
(
name
,
"%02X"
,
pin
);
11
}
12