sem_ch6.adb (Analyze_Subprogram_Body_Helper): Remove redundant test, adjust comments...
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 7 Jul 2016 13:12:55 +0000 (13:12 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 7 Jul 2016 13:12:55 +0000 (15:12 +0200)
commit9cc6b3f86acd4911d6cbd6f57cb3148c52e89d38
treec1e148d15c303c815b28b52d4c2f3706b66bfcf5
parent7119f1b1a43b6721cd95fe381378f92f699e967a
sem_ch6.adb (Analyze_Subprogram_Body_Helper): Remove redundant test, adjust comments and formatting.

2016-07-07  Eric Botcazou  <ebotcazou@adacore.com>

* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Remove redundant test,
adjust comments and formatting.
* sem_prag.adb (Inlining_Not_Possible): Do not test Front_End_Inlining
here but...
(Make_Inline): ...here before calling Inlining_Not_Possible instead.
(Set_Inline_Flags): Remove useless test.
(Analyze_Pragma) <Pragma_Inline>: Add comment about -gnatn switch.

From-SVN: r238113
gcc/ada/ChangeLog
gcc/ada/sem_ch6.adb
gcc/ada/sem_prag.adb