]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Fix wrong code for initialization of fat pointer with -Og
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2018 09:19:51 +0000 (09:19 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2018 09:19:51 +0000 (09:19 +0000)
commitbe1f8bce9d53748fddc5a86fbeded33700bd7eac
tree63a50d00458114bed9db39eaba4d9f2aefc3d9b0
parent62bc388f3007f75819e3a52e23fdb3716e1a2a20
[Ada] Fix wrong code for initialization of fat pointer with -Og

2018-06-11  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Reuse the
existing fields of a dummy fat pointer type, if any.  Clear the
TYPE_DECL_SUPPRESS_DEBUG on the fat pointer type after completing it.

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