This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]