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
This commit is contained in:
parent
643e0a3087
commit
6870611266
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user