[Ada] Remove useless type transformation

Eric Botcazou ebotcazou@adacore.com
Mon May 16 11:33:00 GMT 2016


The transformation is either useless or counter-productive or even wrong.

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


2016-05-16  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Do not
	build a specific type for the object if it is deemed a constant.

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


More information about the Gcc-patches mailing list