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
* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr42998.c
blob
7506d15812939c65d71ca1d67ab3bb2fe468df5a
1
void
foo
(
void
*);
2
void
bar
(
void
*);
3
void
ndisc_fill_addr_option
(
unsigned char
*
opt
,
int
data_len
,
4
unsigned short
addr_type
)
5
{
6
int
pad
;
7
if
(
addr_type
==
32
)
8
pad
=
2
;
9
else
10
pad
=
0
;
11
__builtin_memset
(
opt
+
2
,
0
,
pad
);
12
opt
+=
pad
;
13
__builtin_constant_p
(
data_len
) ?
foo
(
opt
+
2
) :
bar
(
opt
+
2
);
14
}
15