OSDN Git Service

gcc/ada/
authorsam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Apr 2008 14:21:18 +0000 (14:21 +0000)
committersam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Apr 2008 14:21:18 +0000 (14:21 +0000)
commitbb66f6b859a369e128c5df4a8e1a02476d4678ee
tree1df1a59c24593585213fab7e8e0190a93d6bb053
parenteeadedeb0347a87a8c61d4eca4a42123f0db09cd
gcc/ada/
PR ada/28305
* sem_ch6.adb (Build_Body_To_Inline): Do not save and restore
environment if generic instance is a top-level one.

    gcc/testsuite/
PR ada/28305
* gnat.dg/specs/fe_inlining.ads, gnat.dg/specs/fe_inlining_helper.ads,
gnat.dg/specs/fe_inlining_helper.adb: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134142 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/sem_ch6.adb
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/fe_inlining.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/fe_inlining_helper.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/fe_inlining_helper.ads [new file with mode: 0644]