Basic block infrastructure after dbr pass

Boris Boesler baembel@gmx.de
Wed Mar 19 14:39:00 GMT 2008


Am 18.03.2008 um 18:47 schrieb Richard Guenther:
> On Tue, Mar 18, 2008 at 6:40 PM, Boris Boesler <baembel@gmx.de> wrote:
>> Am 18.03.2008 um 16:21 schrieb Jim Wilson:
>>
>>> Boris Boesler wrote:
>>>>  The following code generators use FOR_EACH_BB[_REVERSE] in the
>>>> target machine dependent reorg pass:
>>>>     - bfin
>>>>     - frv
>>>>     - ia64
>>>>     - mt
>>>>     - s390
>>>
>>> The very first thing that ia64_reorg does is
>>>   compute_bb_for_insn ();
>>
>>   For a few seconds I thought you saved my day.
>>
>>   I'm not talking about BLOCK_FOR_INSN (insn)
>>
>>   I haven't specified my problem properly? If I traverse basic blocks
>>  via FOR_EACH_BB (used in compute_bb_for_insn, too) I get insns which
>>  are not in the insn-stream for(insn = get_insns(), insn; insn =
>>  NEXT_INSN(insn)) ..
>>
...
>
> You are probably mix-matching functions for use in cfg_layout mode
> vs. non-cfg_layout mode.

  Probably not, because all functions I use are used by other  
backends in the reorg phase, too.
So, it's a bug?

Boris



More information about the Gcc mailing list