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
/
torture
/
pr100786.c
blob
7c03b08d8cbe69946211e5a013c27883ba8d74d0
1
/* { dg-do compile } */
2
/* { dg-require-alias "" } */
3
4
const double
a
=
0
;
5
extern
int
b
__attribute__
((
alias
(
"a"
)));
6
void
inc
() {
b
++; }
7
8
const int
a2
=
0
;
9
extern
double
b2
__attribute__
((
alias
(
"a2"
)));
10
void
inc2
() {
b2
+=
1
; }