On 01/01/2014 02:01 PM, Felix Yang wrote:
cc1 backtrace:

arraysum.c: In function 'test_entry':
arraysum.c:14:1: internal compiler error: in cfg_layout_initialize, at
cfgrtl.c:4233

Please include steps to reproduce bugs.

Attached please find the patch for this ICE.
Since c6x backend choose doloops whose tail and head are the same
block, code generation will not be affected.
But it may bring some negetive effect on target code efficiency for
bfin backend as less hw-doloops may be generated.
In my point of view, what we need here is a better block reordering
that cares about hw-doloops.
If OK for trunk, can someone please apply it? Thanks.

Is this with -freorder-blocks? Rather than delete the code, just skip it if that flag is enabled. Or forcibly turn it off for these ports in option_override.


Bernd

Reply via email to