summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/explow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index 08fe69ccdae..a68e2834121 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -732,6 +732,7 @@ promote_mode (type, mode, punsignedp, for_call)
#endif
#ifdef POINTERS_EXTEND_UNSIGNED
+ case REFERENCE_TYPE:
case POINTER_TYPE:
mode = Pmode;
unsignedp = POINTERS_EXTEND_UNSIGNED;
OpenPOWER on IntegriCloud