aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.c
diff options
context:
space:
mode:
authorJavier Miranda <miranda@adacore.com>2018-07-16 14:10:32 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-07-16 14:10:32 +0000
commit3ac5f7de34bdd82f3e4a8b3977749e9e1ce0a269 (patch)
treec2073bacc76e24f2a8e4e10903d3bb746b4df873 /gcc/ada/adaint.c
parenta3b7645bffbaf3dadf1f9cfccd93c6fba3e0834d (diff)
downloadgcc-3ac5f7de34bdd82f3e4a8b3977749e9e1ce0a269.zip
gcc-3ac5f7de34bdd82f3e4a8b3977749e9e1ce0a269.tar.gz
gcc-3ac5f7de34bdd82f3e4a8b3977749e9e1ce0a269.tar.bz2
[Ada] Code cleanup on functions inlining
This patch is preventive: it improves checks on inline functions that return unconstrained type. It does not change the functionality of the compiler. 2018-07-16 Javier Miranda <miranda@adacore.com> gcc/ada/ * inline.adb (Build_Body_To_Inline): Minor code reorganization that ensures that calls to function Has_Single_Return() pass a decorated tree. (Has_Single_Return.Check_Return): Peform checks on entities (instead on relying on their characters). From-SVN: r262708
Diffstat (limited to 'gcc/ada/adaint.c')
0 files changed, 0 insertions, 0 deletions