This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/80411] DCE vs. offloading


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-04-12
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
They are probably referenced in the global tables we build for offloading?  The
symtab code isn't made aware of those references though.

.offload_var_table:
        .section        .gnu.offload_funcs,"aw",@progbits
        .align 8
        .type   .offload_func_table, @object
        .size   .offload_func_table, 16
.offload_func_table:
        .quad   main._omp_fn.0
        .quad   main._omp_fn.1
        .comm   __gnu_lto_v1,1,1

not sure where we emit the above.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]