PR rtl-optimization 25197

PR rtl-optimization 25197
	* dwarf2out.c (dwarf2out_frame_debug_expr <rule 12>): Assert we
	have a reg.

From-SVN: r107992
This commit is contained in:
Alan Modra 2005-12-03 14:56:37 +10:30
parent c19e090aa2
commit 66a5ab4015
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,13 @@
2005-12-03 Alan Modra <amodra@bigpond.net.au>
PR rtl-optimization 25197
* dwarf2out.c (dwarf2out_frame_debug_expr <rule 12>): Assert we
have a reg.
2005-12-02 Stuart Hastings <stuart@apple.com>
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Remove -fpic warning.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Remove -fpic
warning.
2005-12-03 Joseph S. Myers <joseph@codesourcery.com>

View File

@ -1773,7 +1773,8 @@ dwarf2out_frame_debug_expr (rtx expr, const char *label)
{
int regno;
gcc_assert (GET_CODE (XEXP (XEXP (dest, 0), 1)) == CONST_INT);
gcc_assert (GET_CODE (XEXP (XEXP (dest, 0), 1)) == CONST_INT
&& REG_P (XEXP (XEXP (dest, 0), 0)));
offset = INTVAL (XEXP (XEXP (dest, 0), 1));
if (GET_CODE (XEXP (dest, 0)) == MINUS)
offset = -offset;