[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-16 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 --- Comment #10 from CVS Commits --- The releases/gcc-13 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:7fb7d49b3c7129fa8a6b500f260abc642929361b commit r13-7335-g7fb7d49b3c7129fa8a6b500f260abc642929361b Author: Tobias Burnus

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 --- Comment #9 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:a835f046cdf017b9e8ad5576df4f10daaf8420d0 commit r14-793-ga835f046cdf017b9e8ad5576df4f10daaf8420d0 Author: Tobias Burnus Date:

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.2 Priority|P3

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 --- Comment #8 from Tobias Burnus --- First, I want to remark that inside lto_output_toplevel_asms, lto_stream_offload_p is true even with -flto. However, the following is for output_symtab: (In reply to Jakub Jelinek from comment #7) > Not

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 --- Comment #7 from Jakub Jelinek --- Not --- gcc/lto-cgraph.cc 2023-01-09 13:30:47.105343886 +0100 +++ gcc/lto-cgraph.cc 2023-05-11 23:05:54.266991677 +0200 @@ -1023,7 +1023,8 @@ output_symtab (void) if (!asm_nodes_output) {

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 --- Comment #6 from Tobias Burnus --- (In reply to Jakub Jelinek from comment #5) > The above can work only if toplevel asms are in separate section and so > inputting it or not doesn't affect input of other data. > I think it would be better

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 --- Comment #5 from Jakub Jelinek --- (In reply to Tobias Burnus from comment #4) > (In reply to Jakub Jelinek from comment #3) > > And we emit all toplevel asms into the offloading target code? > > Or how does it make into PTX? > > It seems

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 --- Comment #4 from Tobias Burnus --- (In reply to Jakub Jelinek from comment #3) > And we emit all toplevel asms into the offloading target code? > Or how does it make into PTX? It seems as if this is always written (once). Thus, the minimal

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 --- Comment #3 from Jakub Jelinek --- And we emit all toplevel asms into the offloading target code? Or how does it make into PTX?

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 --- Comment #2 from Tobias Burnus --- (In reply to Andrew Pinski from comment #1) > Then _GLIBCXX_SYMVER_GNU should not be defined for NVPTX It isn't – but with offloading, we only parse the file once — and then only later generate for

[Bug libstdc++/109816] [13/14 Regression] r14-321 fix for PR108969 breaks NVPTX offloading due to __asm (".globl _ZSt21ios_base_library_initv")

2023-05-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109816 --- Comment #1 from Andrew Pinski --- Then _GLIBCXX_SYMVER_GNU should not be defined for NVPTX