diff options
author | Hristian Kirtchev <kirtchev@adacore.com> | 2019-07-04 08:06:19 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-04 08:06:19 +0000 |
commit | dd4d8a71980487ddb4ac6c1ad0a1b8fb6c143592 (patch) | |
tree | c93ad7b864d97bb11f4e6f99ccf4e04e99766f1e /gcc/tree-vect-loop-manip.c | |
parent | 7cbdab5aa839ffd54dccbde6430905bb9c596201 (diff) | |
download | gcc-dd4d8a71980487ddb4ac6c1ad0a1b8fb6c143592.zip gcc-dd4d8a71980487ddb4ac6c1ad0a1b8fb6c143592.tar.gz gcc-dd4d8a71980487ddb4ac6c1ad0a1b8fb6c143592.tar.bz2 |
[Ada] Assertion failure on Default_Initial_Condition
This patch prevents the association of a Default_Initial_Condition with
an incomplete type whose full view is the private type or private
extension subject to the aspect/pragma.
2019-07-04 Hristian Kirtchev <kirtchev@adacore.com>
gcc/ada/
* sem_util.adb (Propagate_DIC_Attributes): Do not propagate the
Default_Initial_Condition attributes to an incomplete type.
gcc/testsuite/
* gnat.dg/default_initial_condition.adb,
gnat.dg/default_initial_condition_pack.adb,
gnat.dg/default_initial_condition_pack.ads: New testcase.
From-SVN: r273059
Diffstat (limited to 'gcc/tree-vect-loop-manip.c')
0 files changed, 0 insertions, 0 deletions