[Ada] ICE on array of task type with -gnatct
commita30ea1d07d223e8851f394616f53e461a68cf133
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Sep 2018 09:17:10 +0000 (26 09:17 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Sep 2018 09:17:10 +0000 (26 09:17 +0000)
treec850eabac3831d3e202d4306c31e234753c2d2d4
parent3558a9f4bd6752833802367cd702d3a21afe9fcf
[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.

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