]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Spurious conformance error on expression function
authorEd Schonberg <schonberg@adacore.com>
Sat, 1 May 2021 23:55:36 +0000 (19:55 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 6 Jul 2021 14:46:51 +0000 (14:46 +0000)
commitdaf9bc6aeab822da203c01beb47d2c9e11ab3635
treec3f9238c8de96a01a254aa4b015056f537375bc3
parent0b2e9514880c304488da80776c77d25e17ef1622
[Ada] Spurious conformance error on expression function

gcc/ada/

* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Do not perform
conformance check when the subprogram body has been created for
an expression function that is not a completion of a previous
specification, because the profile of the constructed body is
copied from the expression function itself.
gcc/ada/sem_ch6.adb