Commit e7414688 by Richard Biener Committed by Richard Biener

re PR middle-end/90501 (ICE: address taken, but ADDRESSABLE bit not set)

2019-09-05  Richard Biener  <rguenther@suse.de>

	PR middle-end/90501
	* tree-inline.c (declare_return_variable): Mark the return
	slot as addressable after building an address of it.

From-SVN: r275401
parent 0fd3ee92
2019-09-05 Richard Biener <rguenther@suse.de>
PR middle-end/90501
* tree-inline.c (declare_return_variable): Mark the return
slot as addressable after building an address of it.
2019-09-05 Arnaud Charlet <charlet@adacore.com>
* doc/install.texi: Update and clarify requirements to build GNAT.
......
......@@ -3569,6 +3569,7 @@ declare_return_variable (copy_body_data *id, tree return_slot, tree modify_dest,
taken by alias analysis. */
gcc_assert (TREE_CODE (return_slot) != SSA_NAME);
var = return_slot_addr;
mark_addressable (return_slot);
}
else
{
......
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