Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
addr-space-4.c
blob: 3e0966db69a33312b28731d9d6279ae053c44302 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O" } */
/* { dg-final { scan-assembler "gs:" } } */
#define
uintptr_t
__SIZE_TYPE__
struct
S
{
int
a
,
b
,
c
;
};
extern
struct
S __seg_gs s
;
int
foo
(
void
)
{
int
r
;
r
=
s
.
c
;
return
r
;
}