This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Designs for better debug info in GCC
Alexandre Oliva <aoliva@redhat.com> writes:
> > How do i know i need to change this DEBUG expression.
>
> As reassoc looks for sets of variables it can freely mess with, it
> should take note of variables that are used in debug annotations in
> addition to the kind of single (?) non-debug uses it's interested in,
> such that, when it modifies these variables, the annotations can be
> compensated for.
The question is how it finds them efficiently, without doing a scan of
all instructions.
Ian