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
/
pr32041.c
blob
60837b204366910eee91e5d07b3d74e12509e6d8
1
/* PR c/32041 */
2
/* { dg-do compile } */
3
4
struct
S
5
{
6
int
c
;
7
struct
{
float
f
; }
sa
[
2
];
8
};
9
10
char
a
[
__builtin_offsetof
(
struct
S
,
sa
->
f
)
11
==
__builtin_offsetof
(
struct
S
,
sa
[
0
].
f
) ?
1
: -
1
];
12