repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr20920.C
blob
02edd282773c9ab74737057c5829f5284aaca1f5
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
/* This was causing a failure in the out of SSA pass because VRP was
5
trying to insert assertions for SSA names that flow through
6
abnormal edges. */
7
void f(int) __attribute__((__noreturn__));
8
int d(const char *);
9
char * j ();
10
11
char *
12
foo (int x)
13
{
14
char *path = __null;
15
try
16
{
17
path = j ();
18
if (path != __null)
19
if (d (path) != 0)
20
f (127);
21
f (127);
22
}
23
catch (...) { }
24
25
return path;
26
}