re PR middle-end/65431 (Invalid read of size 8 at 0x105DBBF8: delete_omp_context...
authorJakub Jelinek <jakub@redhat.com>
Mon, 16 Mar 2015 16:10:17 +0000 (17:10 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 16 Mar 2015 16:10:17 +0000 (17:10 +0100)
commit3713412b8a5e374dcb3230828f38339b78846236
treea64a310307574457e8ea86438903565f13be9c0e
parentae8b772f95915483e4da49c0d7d4b07ce367c7ed
re PR middle-end/65431 (Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586))

PR middle-end/65431
* omp-low.c (delete_omp_context): Only splay_tree_delete
reduction_map in GIMPLE_OMP_TARGET is_gimple_omp_offloaded
is_gimple_omp_oacc contexts.  Don't look at ctx->outer.

From-SVN: r221459
gcc/ChangeLog
gcc/omp-low.c