[Ada] ICE on array of task type with -gnatct
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 26 Sep 2018 09:17:10 +0000 (09:17 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 26 Sep 2018 09:17:10 +0000 (09:17 +0000)
commit4453a8221c65f386ae361670fa932643521374d7
treec850eabac3831d3e202d4306c31e234753c2d2d4
parent81d85d4baeb6ada71652a556cec1663511c3933c
[Ada] ICE on array of task type with -gnatct

2018-09-26  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Task_Type>: In
-gnatct mode, process the discriminants only for a definition.

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