re PR tree-optimization/37716 (ice for legal C++ code with -O2 on 20080926)
authorJakub Jelinek <jakub@redhat.com>
Wed, 3 Dec 2008 12:27:48 +0000 (13:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 3 Dec 2008 12:27:48 +0000 (13:27 +0100)
commitff1fe457370d6f33071747b0dfd1b76dff7e247a
tree5ba418443623690434ede1e71ba81639b49d733b
parentd5fdc62c3fe523b1104bcccaa3f66f7fa5298d9f
re PR tree-optimization/37716 (ice for legal C++ code with -O2 on 20080926)

PR tree-optimization/37716
* tree-sra.c (sra_build_assignment): For scalar bitfield SRC construct
all the needed operations as trees and gimplify_assign it to dst.

* g++.dg/torture/pr37716.C: New test.

From-SVN: r142392
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr37716.C [new file with mode: 0644]
gcc/tree-sra.c