diff options
author | Ed Schonberg <schonberg@adacore.com> | 2018-06-11 09:17:04 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-06-11 09:17:04 +0000 |
commit | d1ec7de559b75ece7e49da5415426f755916d34f (patch) | |
tree | 118d9803120c5a83c6952beb75b033a4e976d226 /gcc/tree-ssa-strlen.c | |
parent | 75441c4a37291d5be6fb098d161a2c4a22f3741a (diff) | |
download | gcc-d1ec7de559b75ece7e49da5415426f755916d34f.zip gcc-d1ec7de559b75ece7e49da5415426f755916d34f.tar.gz gcc-d1ec7de559b75ece7e49da5415426f755916d34f.tar.bz2 |
[Ada] Crash with Inline_Always on a function with an extended return
This patch fixes a crash on a unit with a function with the GNAT-specific
Inline_Always pragma whose body is an extended return statement, when compiling
with no optimization level specified.
2018-06-11 Ed Schonberg <schonberg@adacore.com>
gcc/ada/
* inline.adb (Expand_Inlined_Call): If no optimization level is
specified, the expansion of a call to an Inline_Always function is
fully performed in the front-end even on a target that support back-end
inlining.
gcc/testsuite/
* gnat.dg/inline_always1.adb: New testcase.
From-SVN: r261402
Diffstat (limited to 'gcc/tree-ssa-strlen.c')
0 files changed, 0 insertions, 0 deletions