re PR tree-optimization/62238 (ICE with LTO on valid code on x86_64-linux-gnu in...
authorRichard Biener <rguenther@suse.de>
Wed, 26 Nov 2014 09:43:39 +0000 (09:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 26 Nov 2014 09:43:39 +0000 (09:43 +0000)
commit7ec44c3d10c41dabcb64efc4b3225d5a1bb4d7f9
tree56c00025da81ba40c588fdfff0666786d39f413c
parent8592c207050c21252a030f31908ade306507a231
re PR tree-optimization/62238 (ICE with LTO on valid code on x86_64-linux-gnu in verify_ssa (in 64-bit mode))

2014-11-26  Richard Biener  <rguenther@suse.de>

PR tree-optimization/62238
* tree-predcom.c (ref_at_iteration): Unshare the expression
before gimplifying it.
(prepare_initializers_chain): Discard unused seq.

* gcc.dg/torture/pr62238.c: New testcase.

From-SVN: r218074
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr62238.c [new file with mode: 0644]
gcc/tree-predcom.c