diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2018-12-11 11:08:45 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-12-11 11:08:45 +0000 |
commit | 13a6dfe3a1268265006628e58ec94d7d4222328d (patch) | |
tree | e7a7cc44e293595fed209fd469dc146c46db4b6b /gcc/ada/vx_crtend.c | |
parent | d6a73cc353b90dbb253985aa6aba95c0d98680e6 (diff) | |
download | gcc-13a6dfe3a1268265006628e58ec94d7d4222328d.zip gcc-13a6dfe3a1268265006628e58ec94d7d4222328d.tar.gz gcc-13a6dfe3a1268265006628e58ec94d7d4222328d.tar.bz2 |
[Ada] Almost always inline init. procedure of small and simple records
2018-12-11 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* fe.h (Debug_Generated_Code): Declare.
* gcc-interface/gigi.h (enum inline_status_t): Rename
is_disabled to is_default, is_enabled to is_requested and add
is_prescribed.
* gcc-interface/decl.c (inline_status_for_subprog): New function.
(gnat_to_gnu_entity) <E_Subprogram_Type>: Use it to get the
inlining status of the subprogram.
* gcc-interface/trans.c (gigi): Adjust to above renaming.
(build_raise_check): Likewise.
(Compilation_Unit_to_gnu): Likewise.
(gnat_to_gnu): Likewise.
* gcc-interface/utils.c (create_subprog_decl): Likewise. Deal
with is_prescribed status by setting
DECL_DISREGARD_INLINE_LIMITS. Do not set the
DECL_NO_INLINE_WARNING_P flag if Debug_Generated_Code is true.
From-SVN: r266976
Diffstat (limited to 'gcc/ada/vx_crtend.c')
0 files changed, 0 insertions, 0 deletions