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
2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr26778.c
blob
8a49db5ccc1f303beff3ac8bf5ab76271f7c8ba8
1
/* { dg-do compile { target ilp32 } } */
2
/* { dg-options "-O2 -march=pentium3" } */
3
4
typedef
union
{
5
long long
l
;
6
double
d
;
7
}
db_number
;
8
9
double
test
(
double
x
[
3
]) {
10
double
th
=
x
[
1
] +
x
[
2
];
11
if
(
x
[
2
] !=
th
-
x
[
1
]) {
12
db_number thdb
;
13
thdb
.
d
=
th
;
14
thdb
.
l
++;
15
th
=
thdb
.
d
;
16
}
17
return
x
[
0
] +
th
;
18
}
19
20
/* { dg-final { scan-assembler-not "mov.ps" } } */