(expand_computed_goto): Convert from ptr_mode to Pmode.

From-SVN: r9331
This commit is contained in:
Richard Kenner 1995-04-07 12:36:39 -04:00
parent 9c5f2956d0
commit ed9a9db1b0
1 changed files with 4 additions and 0 deletions

View File

@ -610,6 +610,10 @@ expand_computed_goto (exp)
{
rtx x = expand_expr (exp, NULL_RTX, VOIDmode, 0);
emit_queue ();
#ifdef POINTERS_EXTEND_UNSIGNED
x = convert_memory_address (Pmode, x);
#endif
emit_indirect_jump (x);
}
}