]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR ada/69219 (error on nested subprograms with Inline_Always and Intrinsic)
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 18 Jan 2016 10:27:10 +0000 (10:27 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 18 Jan 2016 10:27:10 +0000 (10:27 +0000)
commitae5a77fa960564c8a5b2a00c22b38d954aecddb8
tree5486d174dcc6cd9fdc4fe4ff7c111e83870f9c3f
parent11e57fc6e53d1072c1da6e3e661716f47fa5d859
re PR ada/69219 (error on nested subprograms with Inline_Always and Intrinsic)

PR ada/69219
* gcc-interface/trans.c (check_inlining_for_nested_subprog): Consider
the parent function instead of the current function in order to issue
the warning or the error.  Add guard for ignored functions.

From-SVN: r232498
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/inline12.adb [new file with mode: 0644]