[PATCH] Fix out-of-bounds write in RTL function reader (PR bootstrap/79952)

Bernd Schmidt bschmidt@redhat.com
Fri Mar 10 19:08:00 GMT 2017


On 03/10/2017 08:03 PM, David Malcolm wrote:
> print-rtl.c:rtx_writer::print_rtx_operand_code_0 has some special
> -casing for SYMBOL_REF, but if I'm reading things right we don't yet
> dump SYMBOL_REF_BLOCK and SYMBOL_REF_BLOCK_OFFSET, so we'd need to dump
> these somehow.

Yeah. Perhaps as an extra table or so to show the various blocks and the 
symbols in them sorted by offset - could be useful information for RTL 
dumps too.


Bernd



More information about the Gcc-patches mailing list