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
Warn pointer to signed integer cast for ilp32
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr20490.c
blob
8edc35e8a45aa167137214739982c980b654d5fe
1
/* { dg-do compile } */
2
/* { dg-options "-O -ftree-pre" } */
3
static int
a
;
4
static int
b
;
5
6
typedef
int
gint
;
7
8
int
blah
()
9
{
10
gint x
=
a
;
11
gint y
=
b
;
12
13
x
*= (
x
<
0
) ? -
1
:
0
;
14
y
*= (
y
<
0
) ? -
1
:
0
;
15
16
return
(
y
*
x
);
17
18
}
19
20