exp_ch6.adb (Expand_Call): Remove ugly special-case code that resets Orig_Prev to...
authorGary Dismukes <dismukes@adacore.com>
Fri, 1 Aug 2008 09:03:35 +0000 (11:03 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 1 Aug 2008 09:03:35 +0000 (11:03 +0200)
commitd54c4e31c27f21d3555ed2f093f82736f82772b7
tree485f304386b6a695b179ea33d2dddfea09ef7e6c
parent14037bbc9c7d2229754399f96ad6fa2cb6ee6161
exp_ch6.adb (Expand_Call): Remove ugly special-case code that resets Orig_Prev to Prev in the case where...

2008-08-01  Gary Dismukes  <dismukes@adacore.com>

* exp_ch6.adb (Expand_Call): Remove ugly special-case code that resets
Orig_Prev to Prev in the case where the actual is N_Function_Call or
N_Identifier. This was interfering with other cases that are rewritten
as N_Identifier, such as allocators, resulting in passing of the wrong
accessibility level, and based on testing this code is apparently no
longer needed at all.

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