Commit e9716dc5 by Jakub Jelinek Committed by Jakub Jelinek

dbxout.c (dbxout_symbol_location): Avoid emitting invalid register numbers.

	* dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
	numbers.

From-SVN: r46943
parent 96a1ceb3
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment