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:
Jakub Jelinek 2001-11-12 15:42:18 +01:00 committed by Jakub Jelinek
parent 96a1ceb357
commit e9716dc5b3
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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