projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c5f295
)
(expand_computed_goto): Convert from ptr_mode to Pmode.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 7 Apr 1995 16:36:39 +0000
(12:36 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 7 Apr 1995 16:36:39 +0000
(12:36 -0400)
From-SVN: r9331
gcc/stmt.c
patch
|
blob
|
history
diff --git
a/gcc/stmt.c
b/gcc/stmt.c
index eb2770603ff76c2cccd3af200e5ccab54d2689f5..36fe26024cd15a450cf1a489db73776dd1f03f71 100644
(file)
--- 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);
}
}