sem_ch6.adb (Analyze_Subprogram_Body_Helper): Ensure that the input body is a subprog...
authorHristian Kirtchev <kirtchev@adacore.com>
Fri, 13 Jan 2017 10:57:01 +0000 (10:57 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 13 Jan 2017 10:57:01 +0000 (11:57 +0100)
commit36be008200548cc009cff3f9855ac94708a175dd
treedddc84d08fe3180c135f5b669006363b48661a69
parent804ec349d065e79f5f54d513156a46b3d95b69bf
sem_ch6.adb (Analyze_Subprogram_Body_Helper): Ensure that the input body is a subprogram body before trying to determine...

2017-01-13  Hristian Kirtchev  <kirtchev@adacore.com>

* sem_ch6.adb (Analyze_Subprogram_Body_Helper):
Ensure that the input body is a subprogram body before trying to
determine whether it denoted an expression function.  Note that
subprogram body stubs cannot denote expression functions.

From-SVN: r244421
gcc/ada/ChangeLog
gcc/ada/sem_ch6.adb