aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-03-25 10:16:02 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-03-25 10:16:02 +0000
commitafdac1169969fcdbe4a376244aa2f115485d917c (patch)
tree535bf41ba62cc8355f5cafe01ab84a96c04e8362 /gcc/tree-cfg.c
parentff2e697a03ccf7afba8e863f789c76715e005e4c (diff)
downloadgcc-afdac1169969fcdbe4a376244aa2f115485d917c.zip
gcc-afdac1169969fcdbe4a376244aa2f115485d917c.tar.gz
gcc-afdac1169969fcdbe4a376244aa2f115485d917c.tar.bz2
tree-cfg.c (verify_gimple_assign_unary): Drop special casing of complex types at -O0.
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. From-SVN: r171444
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 6fe6b90..be83dd7 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;