exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): Use Insert_Actions...
authorEd Schonberg <schonberg@adacore.com>
Thu, 31 Jul 2008 10:27:42 +0000 (12:27 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 31 Jul 2008 10:27:42 +0000 (12:27 +0200)
commit4f6e2c24220fdf6db9992288f40d22bd21ffa2f6
tree71983e3368d1cc55eeaaf2b235a0676d575e9c68
parent23ed6584d682ee5036850fdeb52cb7c22b8e3a0b
exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): Use Insert_Actions to place the pointer declaration in the code...

2008-07-31  Ed Schonberg  <schonberg@adacore.com>

* exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): Use
Insert_Actions to place the pointer declaration in the code, rather
than Insert_Before_And_Analyze, so that insertions of temporaries are
kept in the proper order when transient scopes are present.

From-SVN: r138386
gcc/ada/exp_ch6.adb