From: Richard Kenner Date: Fri, 7 Apr 1995 16:36:39 +0000 (-0400) Subject: (expand_computed_goto): Convert from ptr_mode to Pmode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed9a9db1b012d4e4ae3ba7aafa8db4b60a0e5031;p=gcc.git (expand_computed_goto): Convert from ptr_mode to Pmode. From-SVN: r9331 --- diff --git a/gcc/stmt.c b/gcc/stmt.c index eb2770603ff..36fe26024cd 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -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); } }