[Bug fortran/126950] [17 Regression] Wrong code issues with libgomp.fortran/use_device_addr-1.f90 since r17-3342-gf3943597388db4

"burnus at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126950

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Jerry DeLisle from comment #3)
> Created attachment 65372 [details]
> Preliminary patch for testing
> This is the tentative patch. I can't test with actual offloading. 

I still have to find the time to actually understand what goes wrong - and what
the patch does exactly. However, I can confirm that your attached patch fixes
the issue with nvptx offloading :-)

* * *

BTW: You can test it if you either have an nvidia GPU (like I have in my
laptop) - or by using https://gcc.gnu.org/wiki/CompileFarm – which has two
systems with Nvidia GPUs (https://portal.cfarm.net/news/56); building as
described at https://gcc.gnu.org/wiki/Offloading

However, asking someone to run the test also works ;-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.