Tom de Vries
60bf575ccb
Prune removed funcs from offload table
...
2017-12-30 Tom de Vries <tom@codesourcery.com>
PR libgomp/83046
* omp-expand.c (expand_omp_target): If in_lto_p, mark offload_funcs with
DECL_PRESERVE_P.
* lto-streamer-out.c (prune_offload_funcs): New function. Remove
offload_funcs entries that no longer have a corresponding cgraph_node.
Mark the remaining ones as DECL_PRESERVE_P.
(output_lto): Call prune_offload_funcs.
* testsuite/libgomp.oacc-c-c++-common/pr83046.c: New test.
* testsuite/libgomp.c-c++-common/pr83046.c: New test.
From-SVN: r256045
2017-12-30 17:02:00 +00:00
..
2017-05-30 14:05:30 +02:00
2017-10-31 12:56:41 +00:00
2017-12-30 17:02:00 +00:00
2017-11-17 22:22:09 +01:00
2016-11-30 21:05:33 +03:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-12-30 17:02:00 +00:00
2010-03-08 17:49:42 +00:00
2017-01-17 10:44:17 +01:00
2017-11-17 22:22:09 +01:00
2017-11-17 22:22:09 +01:00
2017-04-27 22:03:01 +02:00
2017-01-01 13:07:43 +01:00
2017-06-27 15:51:37 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-02-02 15:13:57 +01:00
2017-05-24 15:23:34 +02:00
2017-05-24 15:25:01 +02:00
2013-11-07 16:07:34 +01:00
2017-09-08 12:27:14 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-17 10:38:48 +01:00
2017-11-17 22:22:09 +01:00
2017-05-24 15:25:01 +02:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-05-24 15:23:34 +02:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-05-24 15:25:01 +02:00
2017-05-24 15:25:01 +02:00
2017-05-24 15:25:01 +02:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-06-27 15:51:37 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-11-22 21:49:56 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00