[Bug bootstrap/79952] [7 Regression] ICE in test_loading_cfg in read-rtl-function.c:2016 targeting hppa2.0w-hp-hpux11.11
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 10 18:40:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79952
--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
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-bugs
mailing list