re PR libgomp/83590 ([nvptx] openacc reduction C regressions)
authorJakub Jelinek <jakub@redhat.com>
Tue, 16 Jan 2018 15:18:24 +0000 (16:18 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 16 Jan 2018 15:18:24 +0000 (16:18 +0100)
commit47c268c4b27782717fbccec5019e0cd97d005afb
tree5c745cb7d58bf3c4f7d5f54233cd961caf3125d2
parentfb2f98bb6c5e016514bc3b93f8f1550e39e7d28f
re PR libgomp/83590 ([nvptx] openacc reduction C regressions)

PR libgomp/83590
* gimplify.c (gimplify_one_sizepos): For is_gimple_constant (expr)
return early, inline manually is_gimple_sizepos.  Make sure if we
call gimplify_expr we don't end up with a gimple constant.
* tree.c (variably_modified_type_p): Don't return true for
is_gimple_constant (_t).  Inline manually is_gimple_sizepos.
* gimplify.h (is_gimple_sizepos): Remove.

Co-Authored-By: Richard Biener <rguenther@suse.de>
From-SVN: r256748
gcc/ChangeLog
gcc/gimplify.c
gcc/gimplify.h
gcc/tree.c