This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Reset source location for instructions moved out of its original residing basic block
On Nov 1, 2012, Dehao Chen <dehao@google.com> wrote:
> I see your point. How about we guard these changes with a flag, say
> -gless-jumpy
The right (DWARF-expected) approach to avoid this sortof jumpiness is to
teach GCC to emit .locs with is_stmt=1, along the lines (and
limitations) described in my GCC Summit paper on stmt frontier notes,
that proposes further extensions to deal with the foreseen limitations.
http://people.redhat.com/~aoliva/papers/sfn/gcc2010.pdf
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer