]> gcc.gnu.org Git - gcc.git/commit
[Ada] Incorrect error with Default_Value on private/modular type
authorBob Duff <duff@adacore.com>
Mon, 7 Dec 2020 13:16:34 +0000 (08:16 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 28 Apr 2021 09:37:56 +0000 (05:37 -0400)
commitcbd743fe0942e91eaa5e788ad21ac660f686a0de
treef2798f10f10afdd1baab9c8a36d210bc44f32f7e
parent3cb4256addca89ff6d6c47ed3ea53499d5b97a52
[Ada] Incorrect error with Default_Value on private/modular type

gcc/ada/

* exp_ch3.adb (Simple_Init_Defaulted_Type): Simplify the code,
and always use OK_Convert_To, rather than Unchecked_Convert_To
and Convert_To.
gcc/ada/exp_ch3.adb
This page took 0.05811 seconds and 5 git commands to generate.