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
Revise -mdisable-fpregs option and add new -msoft-mult option
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr50017.c
blob
66bef007da15ab565868c9222bf096c78e263ab3
1
/* PR debug/50017 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -fcompare-debug" } */
4
5
struct
S
{
int
r
,
i
; };
6
7
void
8
foo
(
struct
S
*
x
,
int
y
)
9
{
10
int
i
;
11
for
(
i
=
1
;
i
<
y
;
i
++)
12
{
13
struct
S a
,
b
,
c
;
14
a
=
x
[
0
];
15
b
=
x
[
i
];
16
c
.
r
=
a
.
r
*
b
.
r
-
a
.
i
*
b
.
i
;
17
c
.
i
=
a
.
r
*
b
.
i
+
a
.
i
*
b
.
r
;
18
x
[
i
] =
c
;
19
}
20
}