OpenMP: GIMPLE_OMP_STRUCTURED_BLOCK bug fix
This is a bug fix for commit a62c8324e7
,
which added GIMPLE_OMP_STRUCTURED_BLOCK. I found a big switch statement
over gimple codes that needs to know about this new node, but didn't.
gcc/ChangeLog
* gimple.cc (gimple_copy): Add case GIMPLE_OMP_STRUCTURED_BLOCK.
This commit is contained in:
parent
2ecab2f32b
commit
0f205d089c
1 changed files with 1 additions and 0 deletions
|
@ -2163,6 +2163,7 @@ gimple_copy (gimple *stmt)
|
|||
|
||||
case GIMPLE_OMP_SECTION:
|
||||
case GIMPLE_OMP_MASTER:
|
||||
case GIMPLE_OMP_STRUCTURED_BLOCK:
|
||||
copy_omp_body:
|
||||
new_seq = gimple_seq_copy (gimple_omp_body (stmt));
|
||||
gimple_omp_set_body (copy, new_seq);
|
||||
|
|
Loading…
Add table
Reference in a new issue