Tom de Vries
f45ce17d98
[openacc, parloops] Fix SIGSEGV in oacc_entry_exit_ok_1
...
When compiling the test-case with r268755, we run into a SIGSEGV in
oacc_entry_exit_ok_1 when trying to dereference a NULL red:
...
struct reduction_info *red;
red = reduction_phi (reduction_list, use_stmt);
tree val = PHI_RESULT (red->keep_res);
...
Fix this by handling ref == NULL.
Bootstrapped and reg-tested on x86_64.
Build and reg-tested on x86_64 with nvptx accelerator.
2019-06-16 Tom de Vries <tdevries@suse.de>
PR tree-optimization/89376
* tree-parloops.c (oacc_entry_exit_ok_1): Handle red == NULL.
* testsuite/libgomp.oacc-c-c++-common/pr89376.c: New test.
From-SVN: r272338
2019-06-16 07:47:15 +00:00
..
2019-01-09 06:16:05 +00:00
2019-05-24 10:59:37 +02:00
2019-06-16 07:47:15 +00:00
2019-05-17 21:13:36 +02:00
2017-11-17 22:22:09 +01:00
2019-05-30 09:06:48 +00:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-05-20 23:29:17 +02:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-06-16 07:47:15 +00:00
2019-02-22 11:51:05 +01:00
2019-05-30 09:06:48 +00:00
2019-05-30 09:06:48 +00:00
2018-11-08 18:13:04 +01:00
2019-01-01 13:31:55 +01:00
2019-05-17 21:13:36 +02:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-05-13 13:32:00 +00:00
2019-05-13 13:32:00 +00:00
2019-05-17 21:13:36 +02:00
2019-05-17 21:13:36 +02:00
2019-01-01 13:31:55 +01:00
2019-05-27 23:27:00 +02:00
2019-05-27 23:27:00 +02:00
2019-05-17 21:13:36 +02:00
2019-05-30 09:06:48 +00:00
2019-05-17 21:13:36 +02:00
2019-05-24 10:59:37 +02:00
2019-05-24 10:59:37 +02:00
2019-05-17 21:13:36 +02:00
2019-05-17 21:13:36 +02:00
2019-05-24 10:59:37 +02:00
2019-05-17 21:13:36 +02:00
2019-05-17 21:13:36 +02:00
2019-05-17 21:13:36 +02:00
2019-05-17 21:13:36 +02:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-05-27 23:27:00 +02:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-05-24 10:59:37 +02:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-03-27 18:30:44 +00:00
2019-01-01 13:31:55 +01:00
2019-05-27 23:27:00 +02:00