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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
config | Loading commit data... | |
lib | Loading commit data... | |
libgomp.c | Loading commit data... | |
libgomp.c++ | Loading commit data... | |
libgomp.c-c++-common | Loading commit data... | |
libgomp.fortran | Loading commit data... | |
libgomp.graphite | Loading commit data... | |
libgomp.hsa.c | Loading commit data... | |
libgomp.oacc-c | Loading commit data... | |
libgomp.oacc-c++ | Loading commit data... | |
libgomp.oacc-c-c++-common | Loading commit data... | |
libgomp.oacc-fortran | Loading commit data... | |
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
libgomp-test-support.exp.in | Loading commit data... |