diff options
author | Richard Biener <rguenther@suse.de> | 2015-04-23 08:30:04 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-04-23 08:30:04 +0000 |
commit | b0dd8c90ff1a4a50e21b4b2918c7484f36106947 (patch) | |
tree | effc3756d6b4a06c5169abcd4a1c65749373e202 /gcc/cfgexpand.c | |
parent | 905bcb98e7fc013e4061f060106fed01d335ea16 (diff) | |
download | gcc-b0dd8c90ff1a4a50e21b4b2918c7484f36106947.zip gcc-b0dd8c90ff1a4a50e21b4b2918c7484f36106947.tar.gz gcc-b0dd8c90ff1a4a50e21b4b2918c7484f36106947.tar.bz2 |
cfgexpand.c (expand_gimple_stmt_1): Use ops.code.
2015-04-23 Richard Biener <rguenther@suse.de>
* cfgexpand.c (expand_gimple_stmt_1): Use ops.code.
* cfgloop.c (verify_loop_structure): Verify the root loop node.
* except.c (duplicate_eh_regions): Call get_eh_region_from_lp_number_fn
instead of get_eh_region_from_lp_number.
* loop-init.c (fix_loop_structure): If we removed a loop, reset
the SCEV cache.
From-SVN: r222353
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index ca491a0..5905ddb 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -3413,7 +3413,7 @@ expand_gimple_stmt_1 (gimple stmt) ops.code = gimple_assign_rhs_code (assign_stmt); ops.type = TREE_TYPE (lhs); - switch (get_gimple_rhs_class (gimple_expr_code (stmt))) + switch (get_gimple_rhs_class (ops.code)) { case GIMPLE_TERNARY_RHS: ops.op2 = gimple_assign_rhs3 (assign_stmt); |