dbxout.c (dbxout_symbol_location): Avoid emitting invalid register numbers.
* dbxout.c (dbxout_symbol_location): Avoid emitting invalid register numbers. From-SVN: r46943
This commit is contained in:
parent
96a1ceb357
commit
e9716dc5b3
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-11-12 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
|
||||
numbers.
|
||||
|
||||
Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* emit-rtl.c (set_mem_attributes): If making object, can set alignment
|
||||
|
|
|
@ -2192,6 +2192,8 @@ dbxout_symbol_location (decl, type, suffix, home)
|
|||
{
|
||||
letter = 'r';
|
||||
current_sym_code = N_RSYM;
|
||||
if (REGNO (XEXP (home, 0)) >= FIRST_PSEUDO_REGISTER)
|
||||
return 0;
|
||||
current_sym_value = DBX_REGISTER_NUMBER (REGNO (XEXP (home, 0)));
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue