It will make the location info for the newly synthesized stmt more deterministic, I think.
David On Tue, Oct 30, 2012 at 4:38 PM, Steven Bosscher <stevenb....@gmail.com> wrote: > On Wed, Oct 31, 2012 at 12:00 AM, Dehao Chen wrote: >> This patch aims to improve debugging of optimized code. It ensures >> that PRE inserted statements have the same source location as the >> statement at the insertion point, instead of UNKNOWN_LOCATION. > > Wrong patch attached. > > However, is it really better to have the location of the insertion > point than to have UNKNOWN_LOCATION? It's not where the value is > computed in the source program... > > Ciao! > Steven