Skip to content
Snippets Groups Projects
Commit ce4e59c4 authored by Samuel Tardieu's avatar Samuel Tardieu Committed by Samuel Tardieu
Browse files

re PR ada/28305 (GNAT bug when inlining instance of a generic subprogram)

    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.

From-SVN: r134142
parent 3a3a1fe1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment