[Ada] Fix oversight in latest create_var_decl change

Eric Botcazou ebotcazou@adacore.com
Mon Feb 8 09:41:00 GMT 2016


It causes the global uninitialized variables to be put in DATA instead of (the 
equivalent of) BSS on some platforms like AIX.

Fixed thusly, tested on x86_64-suse-linux, applied on the mainline.


2016-02-08  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/utils.c (create_var_decl): Set again DECL_COMMON and
	DECL_IGNORED_P last.

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


More information about the Gcc-patches mailing list