This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: make dbxout.c use assemble_name consistently
- From: "Ulrich Weigand" <Ulrich dot Weigand at de dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: geoffk at cygnus dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 6 Feb 2002 14:07:15 +0100
- Subject: Re: make dbxout.c use assemble_name consistently
Richard Henderson wrote:
>I'd expect xyzzy to be allocated to the return register.
This apparently depends on a number of factors, including whether the
machine has a shift pattern with source != destination or not.
What happens on s390 is that xyzzy is allocated to a pseudo, which
subsequently gets completely eliminated.
>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.
This is what happens with dwarf-2 debug info. However, with stabs,
the variable is -apparently deliberatly- not mentioned at all in
the debug info; at least this said by the comment at the start of
dbxout_symbol_location (dbxout.c) ...
Mit freundlichen Gruessen / Best Regards
Ulrich Weigand
--
Dr. Ulrich Weigand
Linux for S/390 Design & Development
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
Phone: +49-7031/16-3727 --- Email: Ulrich.Weigand@de.ibm.com