From ed9a9db1b012d4e4ae3ba7aafa8db4b60a0e5031 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 7 Apr 1995 12:36:39 -0400 Subject: [PATCH] (expand_computed_goto): Convert from ptr_mode to Pmode. From-SVN: r9331 --- gcc/stmt.c | 4 ++++ 1 file changed, 4 insertions(+) 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); } } -- 2.30.2