]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tree-ssa-address.c
PR middle-end/PR28690
[thirdparty/gcc.git] / gcc / tree-ssa-address.c
index 7904b1af333f8e5247815610c1394f2c053036b8..b81135b636a0c92c2152513a7e307d8462279445 100644 (file)
@@ -125,7 +125,7 @@ gen_addr_rtx (rtx symbol, rtx base, rtx index, rtx step, rtx offset,
   if (base)
     {
       if (*addr)
-       *addr = gen_rtx_PLUS (Pmode, *addr, base);
+       *addr = simplify_gen_binary (PLUS, Pmode, base, *addr);
       else
        *addr = base;
     }