[Bug ada/69219] [5/6 regression] error on nested subprograms with Inline_Always and Intrinsic
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 18 10:27:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69219
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Mon Jan 18 10:27:10 2016
New Revision: 232498
URL: https://gcc.gnu.org/viewcvs?rev=232498&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gnat.dg/inline12.adb
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/trans.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list