make dbxout.c use assemble_name consistently

Richard Henderson rth@redhat.com
Tue Feb 5 23:38:00 GMT 2002


On Tue, Feb 05, 2002 at 05:57:46PM +0100, Ulrich Weigand wrote:
> >+long foo(long p)
> >+{
> >+  {
> >+    long xyzzy = 0;
> >+    if (p)
> >+      xyzzy = 2;
> >+    return xyzzy;
> >+  }
[...]
> Is this supposed to work with -O3 -gstabs or is the test case broken?

I'd expect xyzzy to be allocated to the return register.

But at minimum the lexical block should not be removed,
and so xyzzy should appear in the debug info even if it
you can't print a useful value for it at runtime.


r~



More information about the Gcc-patches mailing list