Re: [Patch] testsuite: Add offloading_enabled check and use it for xfail (PR95622)

2020-06-16 Thread Thomas Schwinge
Hi Tobias! On 2020-06-12T16:12:44+0200, Tobias Burnus wrote: > For real offloading compilers, the configure-time ENABLE_OFFLOAD > macro is set to true. I once toyed with the idea of getting rid of that configure-time 'ENABLE_OFFLOAD' flag, moving it to GCC run time, implicitly set by '-fopenacc'

[Patch] testsuite: Add offloading_enabled check and use it for xfail (PR95622)

2020-06-12 Thread Tobias Burnus
For real offloading compilers, the configure-time ENABLE_OFFLOAD macro is set to true. If it is set, some additional code paths are enabled – which can affect code generation with -fopenmp/-fopenacc. As the PR shows, this can make differences for passing/failing a testcase. – In principle, it is