Hi! On 2022-12-02T14:35:35+0100, I wrote: > On 2022-12-01T22:13:38+0100, I wrote: >> I'm working on support for global constructors/destructors with >> GCC/nvptx > > See "nvptx: Support global constructors/destructors via 'collect2'" > [posted before]
Building on that, attached is now the additional "for offloading" piece: "nvptx: Support global constructors/destructors via 'collect2' for offloading". OK to push? I did manually test this (by putting a few constructors/destructors into 'libgomp/config/nvptx/oacc-parallel.c', and observing them be executed), and also in my WIP development tree with standard libgfortran constructors (with 'LIBGFOR_MINIMAL' disabled). Grüße Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955