re PR c++/63419 (verify_gimple failed: "vector CONSTRUCTOR element is not a GIMPLE...
authorRichard Biener <rguenther@suse.de>
Mon, 13 Oct 2014 07:58:05 +0000 (07:58 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 13 Oct 2014 07:58:05 +0000 (07:58 +0000)
commitd4f5cd5e82aca858b37d6cb927874e018bacce6a
treef3f3e955cc37835a4a5c65ea164c26f86aee90a4
parent641123eb5e66fc3794eaa102def2da24a36b7da9
re PR c++/63419 (verify_gimple failed: "vector CONSTRUCTOR element is not a GIMPLE value")

2014-10-13  Richard Biener  <rguenther@suse.de>

PR tree-optimization/63419
* gimple-fold.h (gimple_convert): New function.
* gimple-fold.c (gimple_convert): Likewise.
* tree-ssa-pre.c (create_expression_by_pieces): Use gimple_convert
to split out required conversions early.

* g++.dg/torture/pr63419.C: New testcase.

From-SVN: r216138
gcc/ChangeLog
gcc/gimple-fold.c
gcc/gimple-fold.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr63419.C [new file with mode: 0644]
gcc/tree-ssa-pre.c