re PR tree-optimization/86159 (g++ ICE at -O1 and above on valid code: incorrect...
authorRichard Biener <rguenther@suse.de>
Fri, 15 Jun 2018 11:08:30 +0000 (11:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 15 Jun 2018 11:08:30 +0000 (11:08 +0000)
commitfa6852317327d978d4069175952109505204f6ae
tree6c97bc6f77ae853b122847e76206cd80db421f8e
parent5b32ec103973c3b8f537c6e50fc8d954f27286de
re PR tree-optimization/86159 (g++ ICE at -O1 and above on valid code: incorrect type of vector CONSTRUCTOR elements)

2018-06-15  Richard Biener  <rguenther@suse.de>

PR middle-end/86159
* tree-cfg.c (gimplify_build3): Do not strip sign conversions,
leave useless conversion stripping to force_gimple_operand_gsi.
(gimplify_build2): Likewise.
(gimplify_build1): Likewise.

* g++.dg/pr86159.C: New testcase.

From-SVN: r261622
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr86159.C [new file with mode: 0644]
gcc/tree-cfg.c