[Ada] Do not override inlining heuristics for expression functions at -Os
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 27 Jan 2022 16:18:28 +0000 (17:18 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 19 May 2022 14:05:28 +0000 (14:05 +0000)
commit3b0cd3f02ed6c151aacb50364222566bef29e72f
tree5368af556bb6ab421e8cc79bb77ec30a69b54316
parent20c932f30b5fb6110686378ad412bda2a5c6537e
[Ada] Do not override inlining heuristics for expression functions at -Os

gcc/ada/

* gcc-interface/trans.cc (Subprogram_Body_to_gnu): Do not deal with
inlining heuristics for expression functions here but...
* gcc-interface/decl.cc (inline_status_for_subprog): ...here instead
and do not override them at -Os.
gcc/ada/gcc-interface/decl.cc
gcc/ada/gcc-interface/trans.cc