Missing piece in earlier change

gcc/ada/
	* gcc-interface/utils.c (finish_subprog_decl): Remove obsolete line.
This commit is contained in:
Eric Botcazou 2021-07-09 18:30:54 +02:00
parent 37e65643d3
commit 511cec029c

View file

@ -3543,9 +3543,6 @@ finish_subprog_decl (tree decl, tree asm_name, tree type)
DECL_BY_REFERENCE (result_decl) = TREE_ADDRESSABLE (type);
DECL_RESULT (decl) = result_decl;
/* Propagate the "const" property. */
TREE_READONLY (decl) = TYPE_READONLY (type);
/* Propagate the "pure" property. */
DECL_PURE_P (decl) = TYPE_RESTRICT (type);