diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-29 20:36:36 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-29 20:36:36 +0000 |
commit | 9b63f7c4d36d89732f455cc3c910a1e56f409492 (patch) | |
tree | c16c9b04d0ecc49c673a5c2d32c958d2872017ea /gcc/tree-cfg.c | |
parent | b8cd75b14f74061640685fa3c9dd6ac8bbf0cf14 (diff) | |
download | gcc-9b63f7c4d36d89732f455cc3c910a1e56f409492.tar.gz |
2004-11-29 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/18725
* gcc.dg/pr18725.c: New test.
2004-11-29 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/18725
* tree-cfg.c (tree_node_can_be_shared): Error_mark_node can be
shared always.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91487 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index f20608341d8..692e74653e9 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -3426,7 +3426,8 @@ tree_node_can_be_shared (tree t) gimple invariants if they overflowed. */ || CONSTANT_CLASS_P (t) || is_gimple_min_invariant (t) - || TREE_CODE (t) == SSA_NAME) + || TREE_CODE (t) == SSA_NAME + || t == error_node_mark) return true; if (TREE_CODE (t) == CASE_LABEL_EXPR) |