diff options
author | Richard Biener <rguenther@suse.de> | 2014-09-22 12:49:16 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-09-22 12:49:16 +0000 |
commit | 931002b26597b93aff99d78043b1e838a59861ce (patch) | |
tree | acdd7e883c4ced4c323d5ab78864125f759c3e79 /gcc/gimplify.c | |
parent | 1a849e50d72a16045c089dae9773abb972faed12 (diff) | |
download | gcc-931002b26597b93aff99d78043b1e838a59861ce.zip gcc-931002b26597b93aff99d78043b1e838a59861ce.tar.gz gcc-931002b26597b93aff99d78043b1e838a59861ce.tar.bz2 |
gimplify.c (gimplify_init_constructor): Do not leave non-GIMPLE vector constructors around.
2014-09-22 Richard Biener <rguenther@suse.de>
* gimplify.c (gimplify_init_constructor): Do not leave
non-GIMPLE vector constructors around.
* tree-cfg.c (verify_gimple_assign_single): Verify that
CONSTRUCTORs have gimple elements.
From-SVN: r215461
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 0ebc24c..5933dd2 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -4021,12 +4021,6 @@ gimplify_init_constructor (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p, break; } - /* Don't reduce an initializer constant even if we can't - make a VECTOR_CST. It won't do anything for us, and it'll - prevent us from representing it as a single constant. */ - if (initializer_constant_valid_p (ctor, type)) - break; - TREE_CONSTANT (ctor) = 0; } |