[Bug middle-end/95551] [OpenMP, OpenACC] -fopenmp/-fopenacc also with -foffload=disable fails with: (.gnu.offload_vars+0x0): undefined reference to `A.10.2'

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 5 13:50:38 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95551

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #0)
>     if (any (array /= [(-2*i, i = 1, 10)])) error stop 2

The A.10.2 is the array {-2,-4,...,-20} in static memory, which has been
removed with -O3 but there is still:

.offload_var_table:
        .quad   A.10.2


More information about the Gcc-bugs mailing list