aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-04-12 07:59:58 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-04-12 07:59:58 +0000
commit953094d2f8d7963f52c26d177c62db7220efb1b3 (patch)
tree512c934a164e306ffe47a87a5f0a587e9341ee47 /gcc/gimple.c
parentf118468ab665a749c16e65f53057ca1278b3ceec (diff)
downloadgcc-953094d2f8d7963f52c26d177c62db7220efb1b3.zip
gcc-953094d2f8d7963f52c26d177c62db7220efb1b3.tar.gz
gcc-953094d2f8d7963f52c26d177c62db7220efb1b3.tar.bz2
gimple.c (is_gimple_constant): Vector CONSTRUCTORs should not be considered a gimple constant.
2013-04-12 Richard Biener <rguenther@suse.de> * gimple.c (is_gimple_constant): Vector CONSTRUCTORs should not be considered a gimple constant. From-SVN: r197845
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r--gcc/gimple.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index cdb6f24..8bd80c8 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -2592,13 +2592,6 @@ is_gimple_constant (const_tree t)
case VECTOR_CST:
return true;
- /* Vector constant constructors are gimple invariant. */
- case CONSTRUCTOR:
- if (TREE_TYPE (t) && TREE_CODE (TREE_TYPE (t)) == VECTOR_TYPE)
- return TREE_CONSTANT (t);
- else
- return false;
-
default:
return false;
}