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
/
pr100509.c
blob
38e7002ae026d469c1e62f2afa10746c7e66ecc1
1
/* { dg-do compile } */
2
/* { dg-options "-O" } */
3
/* { dg-require-alias "" } */
4
5
struct
X
{
6
int
a
;
7
};
8
const int
a
=
0
;
9
static struct
X A
__attribute__
((
alias
(
"a"
)));
10
void
foo
() {
struct
X b
=
A
; }