summaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-11 14:19:44 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-11 14:19:44 +0000
commitdb16e52d811403e53a45a73147c192526868cedf (patch)
treeeaa4c4e4f6ea27fc6fee597fa095e7e690f9e904 /gcc/tree-predcom.c
parentaeb271cd26898b29b688e365f181a38f590f5498 (diff)
downloadgcc-db16e52d811403e53a45a73147c192526868cedf.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170050 138bc75d-0d04-0410-961f-82ee72b054a4
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