Re: [PATCH] Fix various issues in check_effective_target_hsa_offloading_selected_nocache

2017-01-26 Thread Martin Jambor
Hi Jakub, On Thu, Jan 26, 2017 at 02:29:51PM +0100, Jakub Jelinek wrote: > Hi! > > I've noticed that the file &1 in libgomp/testsuite/ directory after make > check and left over hsa_offloading_src*.exe files. > After looking more carefully, I found various issues. > 1) the way check_compile is

[PATCH] Fix various issues in check_effective_target_hsa_offloading_selected_nocache

2017-01-26 Thread Jakub Jelinek
Hi! I've noticed that the file &1 in libgomp/testsuite/ directory after make check and left over hsa_offloading_src*.exe files. After looking more carefully, I found various issues. 1) the way check_compile is invoked leaves result with values on which lindex doesn't do what is expected to do 2)