[Ada] Fix wrong code for initialization of fat pointer with -Og
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 11 Jun 2018 09:19:51 +0000 (09:19 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 11 Jun 2018 09:19:51 +0000 (09:19 +0000)
commit259cc9a7e0b0feae750601ace489f2cb1fbb8f80
tree63a50d00458114bed9db39eaba4d9f2aefc3d9b0
parenta8531f7134a67d2c9dc74af667bcbc4d26de2520
[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.

From-SVN: r261431
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c