* combine.c (make_compound_operation): Only change shifts into
multiplication for SCALAR_INT_MODE_P.
* gcc.target/i386/pr47665.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170050
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-02-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/47665
+ * combine.c (make_compound_operation): Only change shifts into
+ multiplication for SCALAR_INT_MODE_P.
+
2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR testsuite/47400
+2011-02-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/47665
+ * gcc.target/i386/pr47665.c: New test.
+
2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/47629
--- /dev/null
+/* PR debug/47684 */
+/* { dg-do compile } */
+/* { dg-options "-O3 -fcompare-debug" } */
+
+int in[8][4];
+int out[4];
+
+void
+foo (void)
+{
+ int sum = 1;
+ int i, j, k;
+ for (k = 0; k < 4; k++)
+ {
+ for (j = 0; j < 4; j++)
+ for (i = 0; i < 4; i++)
+ sum *= in[i + k][j];
+ out[k] = sum;
+ }
+}
/* Predictive commoning.
- Copyright (C) 2005, 2007, 2008, 2009, 2010
+ Copyright (C) 2005, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
This file is part of GCC.
return NULL;
}
+ else if (is_gimple_debug (stmt))
+ continue;
else if (ret != NULL)
return NULL;
else