segfault in compute_transp()

Steven Bosscher stevenb@suse.de
Wed Sep 22 22:54:00 GMT 2004


On Wednesday 22 September 2004 22:40, Daniel Bayer wrote:
> But my question still remains. Are INSNs without a blocknumber legal
> output of a pass or not?

That depends on whether the CFG is available.  When it is, the
RTL emit machinery should set the BLOCK_FOR_INSN automatically.  
No pass can legally insert new insns in the stream and not set
BLOCK_FOR_INSN.  When it happens for you, you've found a bug.

When the CFG is not available, BLOCK_FOR_INSN should be NULL
for each insn.

Gr.
Steven




More information about the Gcc mailing list