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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr104675-1.c
blob
af0b4390c30b5d57a5563a4792478c5fdf08c043
1
/* PR tree-optimization/104675 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
_Complex
int
6
foo
(
_Complex
int
a
)
7
{
8
return
(-
1
+ -
1
i
) -
a
;
9
}
10
11
_Complex
int
12
bar
(
_Complex
int
a
)
13
{
14
return
-
a
- (
1
+
1
i
);
15
}
16
17
_Complex
int
18
baz
(
_Complex
int
a
)
19
{
20
_Complex
int
b
= -
1
+ -
1
i
;
21
return
b
-
a
;
22
}
23
24
_Complex
int
25
qux
(
_Complex
int
a
)
26
{
27
_Complex
int
b
=
1
+
1
i
;
28
return
-
a
-
b
;
29
}