]> gcc.gnu.org Git - gcc.git/commitdiff
* expr.c (write_complex_part): Return after handling MEM.
authorBob Wilson <bob.wilson@acm.org>
Mon, 8 Aug 2005 19:47:59 +0000 (19:47 +0000)
committerBob Wilson <bwilson@gcc.gnu.org>
Mon, 8 Aug 2005 19:47:59 +0000 (19:47 +0000)
From-SVN: r102878

gcc/ChangeLog
gcc/expr.c

index 31f287388a2b2f0434b8467557bc4c582d48a046..492631db73a892a47d34ef7a4bd4fe1756c8add4 100644 (file)
@@ -1,3 +1,7 @@
+2005-08-08  Bob Wilson  <bob.wilson@acm.org>
+
+       * expr.c (write_complex_part): Return after handling MEM.
+
 2005-08-08  Josh Conner  <jconner@apple.com>
 
        PR rtl-optimization/23241
index 472e10a157957967512d7b734ed6e3a945c484f1..5961e27c6c43eb0b448bb72311ac4b11cd4258d4 100644 (file)
@@ -2669,9 +2669,12 @@ write_complex_part (rtx cplx, rtx val, bool imag_p)
      adjust_address_nv.  Instead of preparing fallback support for an
      invalid address, we call adjust_address_nv directly.  */
   if (MEM_P (cplx))
-    emit_move_insn (adjust_address_nv (cplx, imode,
-                                      imag_p ? GET_MODE_SIZE (imode) : 0),
-                   val);
+    {
+      emit_move_insn (adjust_address_nv (cplx, imode,
+                                        imag_p ? GET_MODE_SIZE (imode) : 0),
+                     val);
+      return;
+    }
 
   /* If the sub-object is at least word sized, then we know that subregging
      will work.  This special case is important, since store_bit_field
This page took 0.083208 seconds and 5 git commands to generate.