trans.c (assoc_to_constructor): Minor tweaks.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 26 Sep 2011 08:45:36 +0000 (08:45 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 26 Sep 2011 08:45:36 +0000 (08:45 +0000)
commit42acad07c083eb1a0de24a8050febac46e3ae0fa
treeb4120916df165fb7f745fbf1b345a23d67443257
parenta1d7228158d344b16ef9baf8c8ed7a27649fc410
trans.c (assoc_to_constructor): Minor tweaks.

* gcc-interface/trans.c (assoc_to_constructor): Minor tweaks.
* gcc-interface/utils2.c (build_simple_component_ref): Fix formatting
issues.  Use COMPLETE_TYPE_P in assertion.  Also set TREE_READONLY if
the type of the record is TYPE_READONLY.

From-SVN: r179184
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils2.c