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
PR rtl-optimization/87918
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
addr-space-4.c
blob
3e0966db69a33312b28731d9d6279ae053c44302
1
/* { dg-do compile } */
2
/* { dg-options "-O" } */
3
/* { dg-final { scan-assembler "gs:" } } */
4
5
#define uintptr_t __SIZE_TYPE__
6
7
struct
S
{
int
a
,
b
,
c
; };
8
9
extern
struct
S __seg_gs s
;
10
11
int
foo
(
void
)
12
{
13
int
r
;
14
r
=
s
.
c
;
15
return
r
;
16
}