r246044 - in /trunk/gcc: ChangeLog read-rtl-fun...
dmalcolm@gcc.gnu.org
dmalcolm@gcc.gnu.org
Fri Mar 10 18:39:00 GMT 2017
Author: dmalcolm
Date: Fri Mar 10 18:39:52 2017
New Revision: 246044
URL: https://gcc.gnu.org/viewcvs?rev=246044&root=gcc&view=rev
Log:
Fix out-of-bounds write in RTL function reader (PR bootstrap/79952)
gcc/ChangeLog:
PR bootstrap/79952
* read-rtl-function.c (function_reader::read_rtx_operand): Update
x with result of extra_parsing_for_operand_code_0.
(function_reader::extra_parsing_for_operand_code_0): Convert
return type from void to rtx, returning x. When reading
SYMBOL_REF with SYMBOL_FLAG_HAS_BLOCK_INFO, reallocate x to the
larger size containing struct block_symbol.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/read-rtl-function.c
More information about the Gcc-cvs
mailing list