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-101.c
blob
f6ff524e722dedaddd36b411a78404381112afdb
1
/* PR tree-optimization/114329 */
2
/* { dg-do compile { target bitint } } */
3
/* { dg-options "-std=c23" } */
4
5
#if __BITINT_MAXWIDTH__ >= 129
6
#define N 129
7
#else
8
#define N 63
9
#endif
10
11
struct
S
{
_BitInt
(
N
)
b
:
N
; }
s
;
12
13
void
14
foo
(
void
)
15
{
16
s
.
b
^=
42
;
17
}