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
* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr63995-2.c
blob
89b429e7f5555ce418a902101431beec46d5243a
1
/* { dg-do compile { target { ! x32 } } } */
2
/* { dg-options "-O2 -g -fcheck-pointer-bounds -mmpx -fcompare-debug" } */
3
4
struct
ts
5
{
6
int
field
;
7
};
8
9
extern
void
test1
();
10
extern
void
test2
(
struct
ts
*);
11
12
static void
13
init
(
struct
ts
*
c
)
14
{
15
c
->
field
= -
1
;
16
}
17
18
struct
ts
19
test3
(
const struct
ts
*
other
)
20
{
21
struct
ts r
;
22
if
(
other
->
field
!=
0
)
23
test1
();
24
init
(&
r
);
25
test2
(&
r
);
26
return
r
;
27
}