Tom de Vries
b0aba46ca6
[offloading] Error on missing symbols
...
When compiling an OpenMP or OpenACC program containing a reference in the
offloaded code to a symbol that has not been included in the offloaded code,
the offloading compiler may ICE in lto1.
Fix this by erroring out instead, mentioning the problematic symbol:
...
error: variable 'var' has been referenced in offloaded code but hasn't
been marked to be included in the offloaded code
lto1: fatal error: errors during merging of translation units
compilation terminated.
...
Build x86_64 with nvptx accelerator and reg-tested libgomp.
Build x86_64 and reg-tested libgomp.
2018-12-14 Tom de Vries <tdevries@suse.de>
* lto-cgraph.c (verify_node_partition): New function.
(input_overwrite_node, input_varpool_node): Use verify_node_partition.
* testsuite/libgomp.c-c++-common/function-not-offloaded-aux.c: New test.
* testsuite/libgomp.c-c++-common/function-not-offloaded.c: New test.
* testsuite/libgomp.c-c++-common/variable-not-offloaded.c: New test.
* testsuite/libgomp.oacc-c-c++-common/function-not-offloaded.c: New test.
* testsuite/libgomp.oacc-c-c++-common/variable-not-offloaded.c: New test.
From-SVN: r267134
2018-12-14 13:48:56 +00:00
..
2015-10-26 17:25:04 +01:00
2015-10-26 17:25:04 +01:00
2015-08-10 18:48:26 +02:00
2016-03-24 22:29:55 +01:00
2016-03-24 22:29:55 +01:00
2017-11-14 09:12:14 +00:00
2018-04-29 10:26:56 +00:00
2015-11-03 12:28:22 +01:00
2015-11-03 12:28:22 +01:00
2015-11-03 12:28:22 +01:00
2018-04-05 08:36:37 +00:00
2016-06-10 11:22:38 +02:00
2016-03-30 17:08:47 +02:00
2015-09-30 10:44:49 +02:00
2016-08-18 14:46:19 +00:00
2016-08-18 14:46:19 +00:00
2015-10-29 10:03:40 +01:00
2016-04-29 10:42:04 -07:00
2016-08-04 15:34:57 +02:00
2017-12-01 06:26:07 -08:00
2018-06-22 12:04:14 +02:00
2016-05-24 15:54:21 -07:00
2018-06-20 09:35:15 -07:00
2018-06-20 09:35:15 -07:00
2018-06-20 09:35:15 -07:00
2018-06-20 09:35:15 -07:00
2018-06-20 09:35:15 -07:00
2018-06-20 09:35:15 -07:00
2018-06-20 09:35:15 -07:00
2018-06-20 09:35:15 -07:00
2016-03-30 17:08:47 +02:00
2016-03-30 17:08:47 +02:00
2016-03-30 17:08:47 +02:00
2016-03-30 17:08:47 +02:00
2016-03-30 17:08:47 +02:00
2017-10-16 08:44:42 +00:00
2017-10-16 08:44:42 +00:00
2018-06-22 12:04:14 +02:00
2017-10-16 08:44:42 +00:00
2017-10-16 08:44:42 +00:00
2017-03-22 06:52:10 -07:00
2015-11-12 13:51:13 +00:00
2016-03-30 17:08:47 +02:00
2016-05-24 15:54:21 -07:00
2018-06-22 12:04:14 +02:00
2017-11-15 13:40:58 +00:00
2017-11-15 13:40:58 +00:00
2017-11-15 13:40:58 +00:00
2016-03-30 17:08:47 +02:00
2018-12-14 13:48:56 +00:00
2016-03-30 17:08:47 +02:00
2018-05-02 17:53:29 +00:00
2017-06-27 15:51:37 +00:00
2018-06-22 12:04:14 +02:00
2015-12-02 16:53:34 +01:00
2015-12-02 16:53:34 +01:00
2015-12-02 16:53:34 +01:00
2016-03-30 17:08:47 +02:00
2016-03-24 22:29:55 +01:00
2016-03-24 22:29:55 +01:00
2016-03-24 22:29:55 +01:00
2017-05-23 17:47:32 +02:00
2016-02-23 16:07:54 +01:00
2016-02-23 16:07:54 +01:00
2016-02-23 16:07:54 +01:00
2016-02-23 16:07:54 +01:00
2016-02-23 16:07:54 +01:00
2016-02-23 16:07:54 +01:00
2016-02-23 16:07:54 +01:00
2016-03-30 17:08:47 +02:00
2016-02-23 16:07:54 +01:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2016-02-23 16:07:54 +01:00
2016-02-23 16:07:54 +01:00
2016-02-23 16:07:54 +01:00
2016-02-23 16:07:54 +01:00
2016-02-23 16:07:54 +01:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2016-02-23 16:07:54 +01:00
2015-10-26 17:24:54 +01:00
2015-10-26 17:24:54 +01:00
2015-10-26 17:24:28 +01:00
2015-09-30 10:44:49 +02:00
2015-10-26 17:24:44 +01:00
2015-10-26 17:24:54 +01:00
2015-10-26 17:24:54 +01:00
2015-09-30 10:44:49 +02:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2018-06-20 09:35:15 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2018-06-20 09:35:15 -07:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2018-06-20 09:35:15 -07:00
2016-05-24 15:54:21 -07:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2016-05-24 15:54:21 -07:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2015-09-30 10:44:49 +02:00
2018-06-20 09:35:15 -07:00
2018-11-06 13:09:52 +00:00
2018-11-06 13:09:52 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:56 +00:00
2018-05-02 17:53:56 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-06-22 12:04:14 +02:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-08-01 07:09:56 -07:00
2018-06-22 12:04:14 +02:00
2017-05-19 15:32:48 +02:00
2016-04-08 14:09:47 -07:00
2016-04-12 12:40:22 +02:00
2017-10-04 08:39:09 +00:00
2017-10-04 08:39:09 +00:00
2016-04-08 14:09:47 -07:00
2017-05-24 15:25:01 +02:00
2018-05-02 17:53:29 +00:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2018-06-22 12:04:14 +02:00
2017-09-27 12:35:54 +00:00
2016-04-08 14:09:47 -07:00
2016-04-08 14:09:47 -07:00
2016-06-01 13:37:44 -07:00
2017-12-30 17:02:00 +00:00
2018-01-24 13:52:12 +00:00
2018-01-19 16:29:41 +00:00
2018-02-07 19:32:21 +00:00
2018-04-16 18:01:09 +00:00
2018-04-26 13:26:25 +00:00
2018-05-18 08:43:09 -07:00
2018-11-30 21:39:49 +01:00
2015-09-30 10:44:49 +02:00
2016-03-30 17:08:47 +02:00
2016-04-13 11:54:41 -07:00
2016-04-13 11:54:41 -07:00
2016-04-08 14:09:47 -07:00
2016-04-08 14:09:47 -07:00
2016-04-08 14:09:47 -07:00
2016-04-08 14:09:47 -07:00
2017-10-04 08:39:09 +00:00
2016-06-03 14:25:12 +00:00
2017-12-05 14:34:41 +01:00
2017-12-05 14:34:41 +01:00
2016-08-18 14:46:19 +00:00
2016-08-18 14:46:19 +00:00
2015-11-04 20:48:05 +00:00
2016-04-08 14:09:47 -07:00
2018-08-02 15:59:01 +00:00
2016-03-30 17:08:47 +02:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-05-02 17:53:29 +00:00
2018-03-26 09:45:49 +00:00
2018-03-26 09:45:49 +00:00
2018-05-02 17:53:29 +00:00
2016-03-23 14:38:55 +00:00
2018-12-14 13:48:56 +00:00
2016-03-30 17:08:47 +02:00
2015-08-10 17:22:30 +02:00
2017-08-07 17:06:11 +00:00
2017-08-07 17:06:11 +00:00
2016-07-15 07:13:48 -07:00