2018-05-04 Tom de Vries <tom@codesourcery.com>
PR libgomp/85639
* builtins.c (expand_builtin_goacc_parlevel_id_size): Handle null target
if ignore == 0.
From-SVN: r259927
+2018-05-04 Tom de Vries <tom@codesourcery.com>
+
+ PR libgomp/85639
+ * builtins.c (expand_builtin_goacc_parlevel_id_size): Handle null target
+ if ignore == 0.
+
2018-05-04 Richard Biener <rguenther@suse.de>
PR middle-end/85627
if (ignore)
return target;
+ if (target == NULL_RTX)
+ target = gen_reg_rtx (TYPE_MODE (TREE_TYPE (exp)));
+
if (!targetm.have_oacc_dim_size ())
{
emit_move_insn (target, fallback_retval);