sem_ch6.adb (Check_Body_To_Inline): In AAMP and VM targets use frontend inlining...
authorJavier Miranda <miranda@adacore.com>
Fri, 9 Mar 2012 14:48:24 +0000 (14:48 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 9 Mar 2012 14:48:24 +0000 (15:48 +0100)
commitea3a4ad0a334535466172e2860f7f5ed7795e331
treef3541728bbceb78cc0bfefa5f0f4aaf895e11126
parent30da483da3ce6ea64ac9b4daea5cd41c59bc4446
sem_ch6.adb (Check_Body_To_Inline): In AAMP and VM targets use frontend inlining at all optimization levels.

2012-03-09  Javier Miranda  <miranda@adacore.com>

* sem_ch6.adb (Check_Body_To_Inline): In AAMP and VM targets
use frontend inlining at all optimization levels.
* sem_util.adb (Must_Inline): In AAMP and VM targets, given that
there is no inlining support in the backend, use also frontend
inlining when compiling with optimizations enabled.
* exp_ch6.adb (Expand_Call): Minor code reorganization.

From-SVN: r185140
gcc/ada/ChangeLog
gcc/ada/exp_ch6.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_util.adb