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
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fold-minus-7.c
blob
7a49faa9ff6809ba8b5a7c90619e2050c6967d2a
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-cddce1" } */
3
4
int
5
f1
(
int
a
,
int
b
)
6
{
7
int
tem
=
a
&
b
;
8
return
a
-
tem
;
9
}
10
11
int
12
f2
(
int
a
,
int
b
)
13
{
14
int
tem
=
b
&
a
;
15
return
a
-
tem
;
16
}
17
18
int
19
f3
(
unsigned int
a
,
int
b
)
20
{
21
return
a
- (
a
&
b
);
22
}
23
24
int
25
f4
(
int
a
,
unsigned int
b
)
26
{
27
return
a
- (
a
&
b
);
28
}
29
30
int
31
f5
(
int
a
,
int
b
)
32
{
33
return
a
- (
unsigned
) (
b
&
a
);
34
}
35
36
/* { dg-final { scan-tree-dump-not " - " "cddce1" } } */