OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2013-04-03 Richard Biener <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
tree-switch-conversion.c
diff --git
a/gcc/tree-switch-conversion.c
b/gcc/tree-switch-conversion.c
index
4fb3e8a
..
20888d2
100644
(file)
--- a/
gcc/tree-switch-conversion.c
+++ b/
gcc/tree-switch-conversion.c
@@
-283,7
+283,12
@@
check_process_case (tree cs)
return false;
}
- e = single_succ_edge (label_bb);
+ if (!single_succ_p (label_bb))
+ {
+ info.reason
+ = " Bad case - a non-final BB without a single successor\n";
+ return false;
+ }
following_bb = single_succ (label_bb);
}