Commit 68706112 by Tom de Vries Committed by Tom de Vries

Fix build for ENABLE_OFFLOADING in expand_omp_target

2015-06-10  Tom de Vries  <tom@codesourcery.com>

	* omp-low.c (expand_omp_target): Remove duplicate declaration of node.

From-SVN: r224316
parent 643e0a30
2015-06-10 Tom de Vries <tom@codesourcery.com>
* omp-low.c (expand_omp_target): Remove duplicate declaration of node.
2015-06-10 Martin Liska <mliska@suse.cz>
PR bootstrap/66471
......
......@@ -8976,8 +8976,7 @@ expand_omp_target (struct omp_region *region)
#ifdef ENABLE_OFFLOADING
/* Prevent IPA from removing child_fn as unreachable, since there are no
refs from the parent function to child_fn in offload LTO mode. */
struct cgraph_node *node = cgraph_node::get (child_fn);
node->mark_force_output ();
cgraph_node::get (child_fn)->mark_force_output ();
#endif
/* Some EH regions might become dead, see PR34608. If
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment