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
/
bitint-6.c
blob
ad32ea4eb8450299283f38ee8a943ec738579e69
1
/* PR c/102989 */
2
/* { dg-do compile { target bitint } } */
3
/* { dg-options "-std=c23 -pedantic-errors" } */
4
5
int
*
q
, *
r
, *
s
;
6
7
void
8
foo
(
int
*
p
)
9
{
10
p
[
4
wb
] =
0
;
11
6
wb
[
p
] =
0
;
12
q
=
p
+
8
wb
;
13
r
=
10u
wb
+
q
;
14
s
=
r
-
2
wb
;
15
}