summaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-02-11 15:19:44 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2011-02-11 15:19:44 +0100
commitb63f974ef230d8b6fa8258ca6cd6a5be684e0a8c (patch)
treeeaa4c4e4f6ea27fc6fee597fa095e7e690f9e904 /gcc/tree-predcom.c
parent84b44e0fe402a8cb253695e2d09b6a0051c52f19 (diff)
downloadgcc-b63f974ef230d8b6fa8258ca6cd6a5be684e0a8c.tar.gz
re PR target/47665 (ICE in trunc_int_for_mode)
PR target/47665 * combine.c (make_compound_operation): Only change shifts into multiplication for SCALAR_INT_MODE_P. * gcc.target/i386/pr47665.c: New test. From-SVN: r170050
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r--gcc/tree-predcom.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c
index f744d448780..2dbd07d135a 100644
--- a/gcc/tree-predcom.c
+++ b/gcc/tree-predcom.c
@@ -1,5 +1,5 @@
/* 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.
@@ -1668,6 +1668,8 @@ single_nonlooparound_use (tree name)
return NULL;
}
+ else if (is_gimple_debug (stmt))
+ continue;
else if (ret != NULL)
return NULL;
else