aboutsummaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r--gcc/integrate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index b3e681c..56d09c2 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -2699,7 +2699,8 @@ copy_rtx_and_substitute (orig, map)
switch (*format_ptr++)
{
case '0':
- XEXP (copy, i) = XEXP (orig, i);
+ /* Copy this through the wide int field; that's safest. */
+ X0WINT (copy, i) = X0WINT (orig, i);
break;
case 'e':