Commit ad497dbb by Jason Merrill Committed by Jason Merrill

re PR lto/66468 (ICE in in check_die, at dwarf2out.c:5719)

	PR debug/66468
	* dwarf2out.c (gen_inlined_subroutine_die): Check
	cgraph_function_possibly_inlined_p.

From-SVN: r226255
parent b5afeda1
2015-07-27 Jason Merrill <jason@redhat.com>
PR debug/66468
* dwarf2out.c (gen_inlined_subroutine_die): Check
cgraph_function_possibly_inlined_p.
2015-07-27 Wilco Dijkstra <wdijkstr@arm.com> 2015-07-27 Wilco Dijkstra <wdijkstr@arm.com>
* gcc/config/aarch64/aarch64.md (aarch64_lshr_sisd_or_int_<mode>3): * gcc/config/aarch64/aarch64.md (aarch64_lshr_sisd_or_int_<mode>3):
......
...@@ -19905,6 +19905,10 @@ gen_inlined_subroutine_die (tree stmt, dw_die_ref context_die) ...@@ -19905,6 +19905,10 @@ gen_inlined_subroutine_die (tree stmt, dw_die_ref context_die)
decl = block_ultimate_origin (stmt); decl = block_ultimate_origin (stmt);
/* Make sure any inlined functions are known to be inlineable. */
gcc_checking_assert (DECL_ABSTRACT_P (decl)
|| cgraph_function_possibly_inlined_p (decl));
/* Emit info for the abstract instance first, if we haven't yet. We /* Emit info for the abstract instance first, if we haven't yet. We
must emit this even if the block is abstract, otherwise when we must emit this even if the block is abstract, otherwise when we
emit the block below (or elsewhere), we may end up trying to emit emit the block below (or elsewhere), we may end up trying to emit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment