projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove unused files
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr46878-1.c
1
/* PR rtl-optimization/46878 */
2
/* Make sure this doesn't ICE. */
3
/* { dg-do compile } */
4
/* { dg-options "-O2" } */
5
6
struct baz
7
{
8
int *newp;
9
};
10
11
int
12
get_ice (int *op, struct baz *ret)
13
{
14
int *tmpp;
15
int c;
16
c = (__foo () != 1);
17
if (__bar ())
18
{
19
return (1);
20
}
21
if (c)
22
tmpp = op;
23
if (tmpp)
24
{
25
}
26
else if (c)
27
{
28
ret->newp = tmpp;
29
}
30
}