]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/omp-expand.c
re PR tree-optimization/83957 (ICE: Segmentation fault (in gimple_phi_arg))
authorJakub Jelinek <jakub@redhat.com>
Mon, 22 Jan 2018 23:00:50 +0000 (00:00 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 22 Jan 2018 23:00:50 +0000 (00:00 +0100)
commit164485b5c4f4fb74def017cf7e811c90435cc245
tree683e8f190df39ed03429642b043ec45729ce6891
parentf5c517f03c53189f5a3381cda85219303480e090
re PR tree-optimization/83957 (ICE: Segmentation fault (in gimple_phi_arg))

PR tree-optimization/83957
* omp-expand.c (expand_omp_for_generic): Ignore virtual PHIs.  Remove
semicolon after for body surrounded by braces.

* gcc.dg/autopar/pr83957.c: New test.

From-SVN: r256967
gcc/ChangeLog
gcc/omp-expand.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/autopar/pr83957.c [new file with mode: 0644]