From: Maxim Kuvyrkov Date: Wed, 28 Jul 2010 10:09:53 +0000 (+0000) Subject: re PR rtl-optimization/45101 (ICE: in insert_expr_in_table, at gcse.c:1213 with ... X-Git-Tag: releases/gcc-4.6.0~5366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bcaf35411aec495d3f866ae3d04138887ffb416;p=thirdparty%2Fgcc.git re PR rtl-optimization/45101 (ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las) PR rtl-optimization/45101 * gcse.c (hash_scan_set): Fix argument ordering of insert_expr_in_table for gcse-las. From-SVN: r162622 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f13b647bdd50..d31aec79a0ad 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-07-28 Maxim Kuvyrkov + + 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 PR tree-optimization/44885 diff --git a/gcc/gcse.c b/gcc/gcse.c index a60310f67e87..112413112f1c 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -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); } } }