diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-21 13:50:26 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-21 13:50:26 +0000 |
commit | 4c76cf919a865a4edb949022d55ddfab7d4b69fe (patch) | |
tree | 2d16c39238856901ca231ed6745a5d5a3f019cc1 /gcc/gimple.c | |
parent | f94df44d7d2b7942a1f588191559d694be3514e6 (diff) | |
download | gcc-4c76cf919a865a4edb949022d55ddfab7d4b69fe.tar.gz |
2011-03-21 Richard Guenther <rguenther@suse.de>
PR middle-end/47661
* gimple.c (is_gimple_condexpr): Use tree_could_throw_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171236 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r-- | gcc/gimple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c index e686e63c32a..81607d98b24 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -2581,7 +2581,7 @@ bool is_gimple_condexpr (tree t) { return (is_gimple_val (t) || (COMPARISON_CLASS_P (t) - && !tree_could_trap_p (t) + && !tree_could_throw_p (t) && is_gimple_val (TREE_OPERAND (t, 0)) && is_gimple_val (TREE_OPERAND (t, 1)))); } |