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 inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr59363.c
blob
a4e1240354339b1e75f4db94ececc74f617fea3b
1
/* PR target/59363 */
2
/* { dg-do run } */
3
/* { dg-options "-O2 -mtune=amdfam10" } */
4
5
typedef
struct
{
6
int
ctxlen
;
7
long
interhunkctxlen
;
8
int
flags
;
9
long
find_func
;
10
void
*
find_func_priv
;
11
int
hunk_func
;
12
}
xdemitconf_t
;
13
14
__attribute__
((
noinline
))
15
int
xdi_diff
(
xdemitconf_t
*
xecfg
) {
16
if
(
xecfg
->
hunk_func
==
0
)
17
__builtin_abort
();
18
return
0
;
19
}
20
int
main
() {
21
xdemitconf_t xecfg
= {
0
};
22
xecfg
.
hunk_func
=
1
;
23
return
xdi_diff
(&
xecfg
);
24
}