]> git.ipfire.org Git - thirdparty/gcc.git/commit
* gcc-interface/trans.c (gnat_to_gnu) <N_Aggregate>: Minor tweak.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Feb 2019 11:37:40 +0000 (11:37 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Feb 2019 11:37:40 +0000 (11:37 +0000)
commitc1ad667218b3247441e003968bd91374a74e1314
treed0eab903042d61eeb3fc2bfedd12d5463929e88e
parenta10a673ad1db72ecf626c12bc95de97369b590d0
* gcc-interface/trans.c (gnat_to_gnu) <N_Aggregate>: Minor tweak.
* gcc-interface/utils.c (convert): Do not pad when doing an unchecked
conversion here.  Use TREE_CONSTANT throughout the function.
(unchecked_convert): Also pad if the source is a CONSTRUCTOR and the
destination is a more aligned array type or a larger aggregate type,
but not between original and packable versions of a type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268679 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c