This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/83590] [nvptx] openacc reduction C regressions
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Jan 2018 15:18:56 +0000
- Subject: [Bug libgomp/83590] [nvptx] openacc reduction C regressions
- Auto-submitted: auto-generated
- References: <bug-83590-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83590
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 16 15:18:24 2018
New Revision: 256748
URL: https://gcc.gnu.org/viewcvs?rev=256748&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/gimplify.h
trunk/gcc/tree.c