Hi! On 2022-12-23T14:35:16+0100, I wrote: > 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? For now pushed to devel/omp/gcc-12 branch in commit 689a5340c7e4286b451f1bc600342550c7c94da2 "nvptx: Support global constructors/destructors via 'collect2' for offloading", see attached. > 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