re PR tree-optimization/80632 (error: invalid PHI argument with -O2)
authorJakub Jelinek <jakub@redhat.com>
Fri, 5 May 2017 16:02:44 +0000 (18:02 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 5 May 2017 16:02:44 +0000 (18:02 +0200)
commit8dc6a926f2eea6de3f1710a185eee5cfc052d6f8
tree80fe8750598ef749b39239ef296b2a5101858c36
parentac699a047f74de2bb8f1d538b07c89075cd25c84
re PR tree-optimization/80632 (error: invalid PHI argument with -O2)

PR tree-optimization/80632
* tree-switch-conversion.c (struct switch_conv_info): Add target_vop
field.
(build_arrays): Initialize it for virtual phis.
(fix_phi_nodes): Use it for virtual phis.

* gcc.dg/pr80632.c: New test.

From-SVN: r247642
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr80632.c [new file with mode: 0644]
gcc/tree-switch-conversion.c