re PR rtl-optimization/45101 (ICE: in insert_expr_in_table, at gcse.c:1213 with ...
authorMaxim Kuvyrkov <maxim@codesourcery.com>
Wed, 28 Jul 2010 10:09:53 +0000 (10:09 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Wed, 28 Jul 2010 10:09:53 +0000 (10:09 +0000)
PR rtl-optimization/45101
* gcse.c (hash_scan_set): Fix argument ordering of insert_expr_in_table
for gcse-las.

From-SVN: r162622

gcc/ChangeLog
gcc/gcse.c

index f13b647bdd50c051eb34681e6d2eb25376eba006..d31aec79a0ad8fd45f33e05977912f264e2e3af3 100644 (file)
@@ -1,3 +1,9 @@
+2010-07-28  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       PR rtl-optimization/45101
+       * gcse.c (hash_scan_set): Fix argument ordering of insert_expr_in_table
+       for gcse-las.
+
 2010-07-28  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR tree-optimization/44885
index a60310f67e87cb3fc5104c14672b14fe902dcf3e..112413112f1cb97abd5227b2f0ca767599748e7b 100644 (file)
@@ -1503,8 +1503,8 @@ hash_scan_set (rtx pat, rtx insn, struct hash_table_d *table)
                             && ! JUMP_P (insn);
 
               /* Record the memory expression (DEST) in the hash table.  */
-              insert_expr_in_table (dest, GET_MODE (dest), insn, 0,
-                                    antic_p, avail_p, table);
+              insert_expr_in_table (dest, GET_MODE (dest), insn,
+                                    antic_p, avail_p, 0, table);
              }
       }
 }