r220842 - in /trunk/gcc/ada: ChangeLog adabkend...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Fri Feb 20 09:48:00 GMT 2015
Author: charlet
Date: Fri Feb 20 09:48:22 2015
New Revision: 220842
URL: https://gcc.gnu.org/viewcvs?rev=220842&root=gcc&view=rev
Log:
2015-02-20 Eric Botcazou <ebotcazou@adacore.com>
* sinfo.ads: Add comment.
2015-02-20 Olivier Hainque <hainque@adacore.com>
* opt.ads: Replace Opt.Suppress_All_Inlining by two separate
flags controlling the actual FE inlining out of pragma Inline
and pragma Inline_Always.
* adabkend.adb (Scan_Compiler_Arguments): Set both flags to True
on -fno-inline, which disables all inlining in compilers with
an Ada back-end and without back-end inlining support.
* back_end.adb (Scan_Back_End_Switches): Set the Inline related
flag to True on -fno-inline and leave Inline_Always alone for
gcc back-ends.
* back_end.ads (Scan_Compiler_Arguments): Adjust spec wrt the
names of the Opt flags it sets.
* gnat1drv.adb (Adjust_Global_Switches): Remove test on
Opt.Suppress_All_Inlining in the Back_End_Inlining computation.
* sem_prag.adb (Make_Inline): Remove early return conditioned
on Opt.Suppress_All_Inlining.
* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Use the flags to
disable the calls to Build_Body_To_Inline otherwise triggered
by pragma Inline or Inline_Always. This will prevent actual
front-end inlining of the subprogram on calls.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/adabkend.adb
trunk/gcc/ada/back_end.adb
trunk/gcc/ada/back_end.ads
trunk/gcc/ada/gnat1drv.adb
trunk/gcc/ada/opt.ads
trunk/gcc/ada/sem_ch6.adb
trunk/gcc/ada/sem_prag.adb
trunk/gcc/ada/sinfo.ads
More information about the Gcc-cvs
mailing list