]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/gcc-interface/utils.c
utils.c (convert): When converting to the packable version of the type...
authorOlivier Hainque <hainque@adacore.com>
Mon, 1 Jun 2009 15:27:59 +0000 (15:27 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Mon, 1 Jun 2009 15:27:59 +0000 (15:27 +0000)
commitdb868e1edfabd88ca30f61e1b8e11155dc2a7ba5
treeecb474a41df463273bc0efc8acb2f9b87af38038
parent62295314f0a1f3ddea8cf54a888c4b9b3a4bec68
utils.c (convert): When converting to the packable version of the type...

ada/
* gcc-interface/utils.c (convert) <CONSTRUCTOR case>: When converting
to the packable version of the type, clear TREE_STATIC/TREE_CONSTANT
on the result if at least one of the input fields couldn't be output
as a static constant any more.

testsuite/
* gnat.dg/nested_float_packed.ads: New test.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r148049
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/nested_float_packed.ads [new file with mode: 0644]
This page took 0.061144 seconds and 5 git commands to generate.