[Ada] Fix latent issues with thin pointers

Eric Botcazou ebotcazou@adacore.com
Mon Jan 20 10:59:00 GMT 2014


This fixes latent issues with thin pointers, which get exposed with -gnatd6.

Tested on x86_64-suse-linux, applied on the mainline.


2014-01-20  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Robustify tests
	for aliased objects with an unconstrained nominal subtype.
	* gcc-interface/trans.c (Call_to_gnu): Likewise.
	(gnat_to_gnu) <case N_Op_Not>: Robustify test for private type.
	<case N_Op_Minus>: Remove useless code.
	(Exception_Handler_to_gnu_zcx): Minor tweaks.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 6757 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140120/4b2b29d2/attachment.bin>


More information about the Gcc-patches mailing list