[Bug tree-optimization/65637] expand_omp_for_static_chunk ssa-handling code is untested

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 3 11:01:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65637

--- Comment #12 from vries at gcc dot gnu.org ---
Author: vries
Date: Thu Sep  3 11:01:05 2015
New Revision: 227436

URL: https://gcc.gnu.org/viewcvs?rev=227436&root=gcc&view=rev
Log:
Fix gcc_assert in expand_omp_for_static_chunk

2015-09-03  Tom de Vries  <tom@codesourcery.com>

        PR tree-optimization/65637
        * omp-low.c (expand_omp_for_static_chunk): Fix gcc_assert for the case
        that head is NULL.

        * gcc.dg/autopar/pr46099-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/autopar/pr46099-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list