http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54650



--- Comment #1 from Dehao Chen <dehao at google dot com> 2012-09-21 01:23:36 
UTC ---

This error should be a bug exposed by this patch.



In expand_omp_taskreg, it calls move_sese_region_to_fn with

gimple_block(entry_stmt) as the root of the block tree. However, there is an

edge inside the region that has the root's sibling as its goto_block. As a

result, the block get escaped when numbering the blocks.



This bug does not expose before because he goto_block was set NULL. The

block_location patch reserved the value for the goto_block, thus exposed he

problem.

Reply via email to