From afdac1169969fcdbe4a376244aa2f115485d917c Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 25 Mar 2011 10:16:02 +0000 Subject: [PATCH] tree-cfg.c (verify_gimple_assign_unary): Drop special casing of complex types at -O0. 2011-03-25 Richard Guenther * 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 --- gcc/ChangeLog | 7 +++++++ gcc/tree-cfg.c | 12 +++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 228f3e2b3db..5fdfec9e362 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-03-25 Richard Guenther + + * 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. + 2011-03-24 Mark Wielaard * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8. 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; -- 2.30.2