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
Implement C _FloatN, _FloatNx types.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr44485.c
blob
82f05f8ce6ae38a1cf568d8851770c643db2f934
1
/* PR tree-optimization/44485 */
2
/* { dg-do compile } */
3
/* { dg-options "-O1 -funsafe-math-optimizations" } */
4
5
unsigned short
b
;
6
int
bar
(
unsigned
);
7
8
void
9
baz
(
void
)
10
{
11
if
(
bar
(
0
))
12
for
(
b
=
0
;
b
<
30
;
b
++)
13
;
14
}
15
16
int
17
bar
(
unsigned
z
)
18
{
19
unsigned short
c
;
20
for
(; ;
z
+=
1
)
21
l1
:
22
if
(
z
)
23
goto
l2
;
24
l2
:
25
for
(
z
=
0
;
z
<
9
;
z
++)
26
if
(
z
)
27
goto
l1
;
28
for
(
c
=
0
;
c
;
c
= (
__UINTPTR_TYPE__
)
baz
)
29
;
30
return
0
;
31
}