Commit c38d4670 by Pierre-Marie de Rodat Committed by Pierre-Marie de Rodat

[Ada] Remove implicit anonymous access conversion in testcase

2019-12-12  Pierre-Marie de Rodat  <derodat@adacore.com>

gcc/testsuite/

	* gnat.dg/subp_inst_pkg.adb: Remove implicit anonymous access
	conversion.

From-SVN: r279276
parent fbf8314b
2019-12-12 Pierre-Marie de Rodat <derodat@adacore.com>
* gnat.dg/subp_inst_pkg.adb: Remove implicit anonymous access
conversion.
2019-12-11 Jakub Jelinek <jakub@redhat.com>
PR target/92723
......
......@@ -14,7 +14,7 @@ package body Subp_Inst_Pkg is
function Convert is new Ada.Unchecked_Conversion
(T_Access, System.Address);
begin
return System.Address_Image (Convert (Val));
return System.Address_Image (Convert (T_Access (Val)));
end T_Image;
end Subp_Inst_Pkg;
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