summaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-25 10:16:02 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-25 10:16:02 +0000
commit5717187b489919d51b7f02d2433c51c6875c4bd5 (patch)
tree535bf41ba62cc8355f5cafe01ab84a96c04e8362 /gcc/tree-cfg.c
parentb74d57a52001bad39e29f0a4efc41150d53e0bbd (diff)
downloadgcc-5717187b489919d51b7f02d2433c51c6875c4bd5.tar.gz
2011-03-25 Richard Guenther <rguenther@suse.de>
* tree-cfg.c (verify_gimple_assign_unary): Drop special casing of complex types at -O0. (verify_gimple_assign_binary): Likewise. (verify_gimple_assign_ternary): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171444 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 6fe6b90e524..be83dd75eb4 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -3193,9 +3193,7 @@ verify_gimple_assign_unary (gimple stmt)
tree rhs1 = gimple_assign_rhs1 (stmt);
tree rhs1_type = TREE_TYPE (rhs1);
- if (!is_gimple_reg (lhs)
- && !(optimize == 0
- && TREE_CODE (lhs_type) == COMPLEX_TYPE))
+ if (!is_gimple_reg (lhs))
{
error ("non-register as LHS of unary operation");
return true;
@@ -3351,9 +3349,7 @@ verify_gimple_assign_binary (gimple stmt)
tree rhs2 = gimple_assign_rhs2 (stmt);
tree rhs2_type = TREE_TYPE (rhs2);
- if (!is_gimple_reg (lhs)
- && !(optimize == 0
- && TREE_CODE (lhs_type) == COMPLEX_TYPE))
+ if (!is_gimple_reg (lhs))
{
error ("non-register as LHS of binary operation");
return true;
@@ -3618,9 +3614,7 @@ verify_gimple_assign_ternary (gimple stmt)
tree rhs3 = gimple_assign_rhs3 (stmt);
tree rhs3_type = TREE_TYPE (rhs3);
- if (!is_gimple_reg (lhs)
- && !(optimize == 0
- && TREE_CODE (lhs_type) == COMPLEX_TYPE))
+ if (!is_gimple_reg (lhs))
{
error ("non-register as LHS of ternary operation");
return true;