[Ada] Disable assertion in ASIS mode

Eric Botcazou ebotcazou@adacore.com
Sun May 26 10:23:00 GMT 2013


The assertion is too strong in ASIS mode, where all the types aren't laid out.

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


2013-05-26  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.c: (gnat_to_gnu_entity): In ASIS mode, do not
	check that access types have a set size.


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


More information about the Gcc-patches mailing list