Dead code in move_stmt_r

2015-09-25 Thread Bernd Schmidt
expanded already, and the code appears to be dead. Hence, the following patch. Bootstrapped and tested on x86_64-linux, ok? Bernd * tree-cfg.c (move_stmt_r): Replace dead code with an assert. Remove name from now unused argument. diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 807d96f..5712e8d

Re: Dead code in move_stmt_r

2015-09-25 Thread Jeff Law
On 09/25/2015 09:41 AM, Bernd Schmidt wrote: I noticed this a while ago while trying to defer parts of omp expansion until after LTO. move_tree_r, which is used when moving code into omp child functions, has code not to remap variables inside an OMP directive. However, by the time we get here,