[Bug target/120530] nvptx offloading: FAIL: libgomp.c/target-map-zero-sized-3.c execution test

2025-06-05 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120530 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Target Milestone|---

[Bug libgomp/93226] OpenACC 2.6: acc_memcpy_device runtime function missing

2025-06-05 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93226 Thomas Schwinge changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug target/120533] New: GCN: FAIL: gcc.dg/tree-ssa/phiprop-2.c scan-tree-dump-times phiopt2 "MIN_EXPR " 1

2025-06-04 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120533 Bug ID: 120533 Summary: GCN: FAIL: gcc.dg/tree-ssa/phiprop-2.c scan-tree-dump-times phiopt2 "MIN_EXPR " 1 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywor

[Bug target/120530] New: nvptx offloading: FAIL: libgomp.c/target-map-zero-sized-3.c execution test

2025-06-04 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120530 Bug ID: 120530 Summary: nvptx offloading: FAIL: libgomp.c/target-map-zero-sized-3.c execution test Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: ope

[Bug c++/120518] New: nvptx offloading: "OpenMP: Handle more cases in user/condition selector" regresses C++ 'c-c++-common/gomp/metadirective-target-device-2.c'

2025-06-03 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120518 Bug ID: 120518 Summary: nvptx offloading: "OpenMP: Handle more cases in user/condition selector" regresses C++ 'c-c++-common/gomp/metadirective-target-device-2.c' Product:

[Bug target/120517] New: [16 Regression] "For datarefs with big gap, split them into different groups" vs. nvptx SLP vectorizer

2025-06-03 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120517 Bug ID: 120517 Summary: [16 Regression] "For datarefs with big gap, split them into different groups" vs. nvptx SLP vectorizer Product: gcc Version: 16.0 Status: UNCONFI

[Bug analyzer/120467] New: Analyzer: Diagnose cases where C++ 'std::basic_string_view::data()' is used as NUL-terminated string, but isn't

2025-05-28 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120467 Bug ID: 120467 Summary: Analyzer: Diagnose cases where C++ 'std::basic_string_view::data()' is used as NUL-terminated string, but isn't Product: gcc Version: 16.

[Bug analyzer/120466] New: Analyzer report for C++ 'std::stringbuf' instantiation

2025-05-28 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120466 Bug ID: 120466 Summary: Analyzer report for C++ 'std::stringbuf' instantiation Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/120454] New: C++ constexpr vs. OpenMP implicit mapping

2025-05-28 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120454 Bug ID: 120454 Summary: C++ constexpr vs. OpenMP implicit mapping Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3

[Bug target/120450] New: GCN offloading: ICE 'during RTL pass: expand', 'in assign_temp, at function.cc:990' for C++ 'std::flat_map', 'std::flat_multimap'

2025-05-28 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120450 Bug ID: 120450 Summary: GCN offloading: ICE 'during RTL pass: expand', 'in assign_temp, at function.cc:990' for C++ 'std::flat_map', 'std::flat_multimap' Product: gcc

[Bug c++/120413] New: C++ OpenMP 'target' SIGSEGV in 'gcc/cp/semantics.cc:finish_omp_target_clauses_r'

2025-05-23 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120413 Bug ID: 120413 Summary: C++ OpenMP 'target' SIGSEGV in 'gcc/cp/semantics.cc:finish_omp_target_clauses_r' Product: gcc Version: 15.0 Status: UNCONFIRMED Keyword

[Bug tree-optimization/119835] GCN, nvptx offloading: ICE 'during GIMPLE pass: nrv' in "return value optimizations for functions which return aggregate types"

2025-05-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119835 Thomas Schwinge changed: What|Removed |Added Last reconfirmed|2025-05-20 00:00:00 |2025-5-21 Keywords|

[Bug testsuite/120365] New: Flag/skip torture testing in presence of explicit '-O'

2025-05-20 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120365 Bug ID: 120365 Summary: Flag/skip torture testing in presence of explicit '-O' Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: en

[Bug tree-optimization/119835] GCN, nvptx offloading: 'libgomp.c++/pr106445-1.C' with '-fno-inline': ICE 'during GIMPLE pass: nrv'

2025-05-20 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119835 Thomas Schwinge changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gc

[Bug target/120308] 'TYPE_EMPTY_P' vs. code offloading

2025-05-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120308 Thomas Schwinge changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc dot gnu.org

[Bug target/120308] New: 'TYPE_EMPTY_P' vs. code offloading

2025-05-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120308 Bug ID: 120308 Summary: 'TYPE_EMPTY_P' vs. code offloading Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ABI, openacc, openmp, wrong-code Severity: normal

[Bug libstdc++/120170] [meta-bug] C++ std::locale

2025-05-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120170 Bug 120170 depends on bug 65909, which changed state. Bug 65909 Summary: check_v3_target_namedlocale blows up on targets that don't support command-line arguments https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65909 What|Removed

[Bug libstdc++/65909] check_v3_target_namedlocale blows up on targets that don't support command-line arguments

2025-05-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65909 Thomas Schwinge changed: What|Removed |Added Resolution|FIXED |--- CC|

[Bug libstdc++/119645] GCN, nvptx: libstdc++ 'checking for atomic builtins [...]... no'

2025-05-12 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119645 Thomas Schwinge changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #

[Bug fortran/120179] [15 Regression] Failure with do concurrent and semicolon

2025-05-12 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120179 Thomas Schwinge changed: What|Removed |Added CC||burnus at gcc dot gnu.org,

[Bug libgomp/120194] USM offloading vs. 'libgomp.c++/declare_target-1.C'

2025-05-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120194 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libgomp/120194] New: USM offloading vs. 'libgomp.c++/declare_target-1.C'

2025-05-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120194 Bug ID: 120194 Summary: USM offloading vs. 'libgomp.c++/declare_target-1.C' Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: testsuite-fail, wrong-code Severity:

[Bug c++/119692] C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading

2025-05-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119692 --- Comment #6 from Thomas Schwinge --- (I've not yet been able to work on this.) I've observed (but not any further analyzed) that, if running for GCN '-march=gfx90a' with 'HSA_XNACK=1', the applicable execution test cases, instead of running

[Bug rust/119641] narrowing Warning during bootstrap in Rust::BIR::PlaceDB::lookup_or_add_variable

2025-05-05 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119641 --- Comment #5 from Thomas Schwinge --- I'm confirming that all but one '-Wnarrowing' are resolved. Only this one remains: [...]/gcc/rust/checks/errors/borrowck/rust-borrow-checker-diagnostics.cc: In member function 'const Rust::BIR::Loan&

[Bug testsuite/116163] RFE: add a linting tool for DejaGnu tests

2025-05-05 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116163 --- Comment #20 from Thomas Schwinge --- Another one: verify target selector syntax (as used with 'target', 'xfail' keywords). For example: "vect-simd-clone-1[6-8][cd].c: Exp

[Bug rust/119641] narrowing Warning during bootstrap in Rust::BIR::PlaceDB::lookup_or_add_variable

2025-05-03 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119641 --- Comment #3 from Thomas Schwinge --- (I haven't checked, but) supposedly fixed in trunk via commit r16-237-gbeced835afa3908aa94550d2ca5ee3879a620adb "gccrs: Fix narrowing conversion warnings". Owen, for next time, to auto-annotate GCC Bugzil

[Bug c++/120021] New: Offloading vs. C++ 'std::valarray'

2025-04-30 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120021 Bug ID: 120021 Summary: Offloading vs. C++ 'std::valarray' Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openacc, openmp Severity: normal Priority:

[Bug c++/119806] OpenACC, OpenMP 'target' offloading vs. C++ 'typeinfo' parts

2025-04-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119806 --- Comment #2 from Thomas Schwinge --- Similarly (I suppose, but have not checked the details), OpenMP_VV 'tests/5.0/application_kernels/declare_target_base_and_derived_class.cpp': GCN: ld: error: undefined symbol: vtable for S1 >>> r

[Bug target/118794] The attached c++ openmp offload code fails, because the c sqrt function makes nonlocal gotos..

2025-04-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118794 Thomas Schwinge changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug target/110800] [gcn] ICE (segfault) 'during RTL pass: jump' in delete_trivially_dead_insns -> count_reg_usage when C++ exceptions are enabled + used

2025-04-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110800 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/112475] [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand

2025-04-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475 --- Comment #5 from Thomas Schwinge --- *** Bug 107020 has been marked as a duplicate of this bug. ***

[Bug c++/107020] [OpenMP][UBSAN] ICE during GIMPLE pass: sanopt via ubsan_expand_vptr_ifn: "output_operand: invalid expression as operand"

2025-04-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107020 Thomas Schwinge changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/119806] OpenACC, OpenMP 'target' offloading vs. C++ 'typeinfo' parts

2025-04-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119806 Thomas Schwinge changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/119892] GCN: ROCm 6.4.0 compatibility

2025-04-28 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119892 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/119737] GCN/C++ vs. 'as': 'LLVM ERROR: Size expression must be absolute.'

2025-04-22 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119737 Thomas Schwinge changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Commen

[Bug target/119892] New: GCN: ROCm 6.4.0 compatibility

2025-04-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119892 Bug ID: 119892 Summary: GCN: ROCm 6.4.0 compatibility Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal Priority: P3

[Bug rust/119508] Hundreds of rust tests XPASS

2025-04-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119508 --- Comment #24 from Thomas Schwinge --- (In reply to Owen A. from comment #23) > (In reply to Thomas Schwinge from comment #22) > > (In reply to Owen A. from comment #12) > > > I can't replicate this on my end anymore -- is it still present on

[Bug rust/119641] narrowing Warning during bootstrap in Rust::BIR::PlaceDB::lookup_or_add_variable

2025-04-19 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119641 Thomas Schwinge changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug rust/119508] Hundreds of rust tests XPASS

2025-04-19 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119508 Thomas Schwinge changed: What|Removed |Added See Also||https://github.com/Rust-GCC

[Bug testsuite/119286] [15 Regression] GCN vs. "middle-end: delay checking for alignment to load [PR118464]"

2025-04-18 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119286 --- Comment #8 from Thomas Schwinge --- Tamar, thanks! I confirm all fixed -- but one: (In reply to myself from comment #1) > ..., and similarly -- but not identical! -- for '-march=gfx1100': > PASS: gcc.dg/vect/vect-early-break_38.c (tes

[Bug testsuite/119818] FAIL: cobol.dg/group2/FUNCTION_DATE___TIME_OMNIBUS.cob -O0 execution test

2025-04-18 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119818 Thomas Schwinge changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc dot gnu.org

[Bug libgomp/119857] New: GCN offloading: occasional 'libgomp.c-c++-common/declare-target-indirect-2.c' execution test FAIL

2025-04-18 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119857 Bug ID: 119857 Summary: GCN offloading: occasional 'libgomp.c-c++-common/declare-target-indirect-2.c' execution test FAIL Product: gcc Version: 15.0

[Bug tree-optimization/119858] New: [15/16 Regression] GCN vs. "middle-end: Fix incorrect codegen with PFA and VLS [PR119351]"

2025-04-18 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119858 Bug ID: 119858 Summary: [15/16 Regression] GCN vs. "middle-end: Fix incorrect codegen with PFA and VLS [PR119351]" Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/119854] New: nvptx offloading: omptests' 'xt-declare-target-ctors': 'unresolved symbol __dso_handle'

2025-04-17 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119854 Bug ID: 119854 Summary: nvptx offloading: omptests' 'xt-declare-target-ctors': 'unresolved symbol __dso_handle' Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/119853] New: GCN, nvptx: Review 'DEFAULT_USE_CXA_ATEXIT'

2025-04-17 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119853 Bug ID: 119853 Summary: GCN, nvptx: Review 'DEFAULT_USE_CXA_ATEXIT' Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openacc, openmp Severity: normal P

[Bug middle-end/119485] OpenACC offloading compilation failure/ICE for C++ templated library functions

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119485 --- Comment #2 from Thomas Schwinge --- I suspect that we'll need for OpenACC something like 'gcc/omp-offload.cc:omp_discover_implicit_declare_target', and commit r11-3505-g2a10a2c0689db280ee3a94164504b7196b8370f4 "OpenMP: Handle cpp_implicit_al

[Bug middle-end/119833] Clarify which semantics offloading compilation does (not) inherit from using the LTO infrastructure

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119833 Thomas Schwinge changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/119835] New: GCN, nvptx offloading: '

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119835 Bug ID: 119835 Summary: GCN, nvptx offloading: ' Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, openmp Severity: normal Priority:

[Bug target/97106] [nvptx] Issues with weak aliases introduced by C++

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97106 --- Comment #10 from Thomas Schwinge --- *** Bug 106445 has been marked as a duplicate of this bug. ***

[Bug target/118518] gcc 14.2.1 nvptx cross compiler complains about alias definitions in a struct with two constructors that are not aliases

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118518 Bug 118518 depends on bug 106445, which changed state. Bug 106445 Summary: nvptx offloading: C++ constructor symbol alias getting lost https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106445 What|Removed |Added ---

[Bug target/106445] nvptx offloading: C++ constructor symbol alias getting lost

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106445 Thomas Schwinge changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc dot gnu.org

[Bug target/106447] nvptx offloading: C++ '__iterator_category' 'return' ICE

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106447 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/97106] [nvptx] Issues with weak aliases introduced by C++

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97106 Thomas Schwinge changed: What|Removed |Added CC||prathamesh3492 at gcc dot gnu.org ---

[Bug target/118518] gcc 14.2.1 nvptx cross compiler complains about alias definitions in a struct with two constructors that are not aliases

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118518 Bug 118518 depends on bug 117010, which changed state. Bug 117010 Summary: [nvptx] Incorrect ptx code-gen for C++ code with templates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010 What|Removed |Added

[Bug target/117010] [nvptx] Incorrect ptx code-gen for C++ code with templates

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010 Thomas Schwinge changed: What|Removed |Added Last reconfirmed|2025-03-25 00:00:00 |2025-4-16 Resolution|---

[Bug target/97106] [nvptx] Issues with weak aliases introduced by C++

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97106 Thomas Schwinge changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/119833] New: Clarify which semantics offloading compilation does (not) inherit from using the LTO infrastructure

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119833 Bug ID: 119833 Summary: Clarify which semantics offloading compilation does (not) inherit from using the LTO infrastructure Product: gcc Version: 15.0 Status: UNCONFIRME

[Bug target/117010] [nvptx] Incorrect ptx code-gen for C++ code with templates

2025-04-16 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010 --- Comment #9 from Thomas Schwinge --- For posterity: (In reply to myself from comment #4) > For the small test case posted here, > for 'V<0>::V()' I see in the '-O0' x86_64 host code: > > .section > .text._ZN1VILi0EEC2Ev,"

[Bug target/118794] The attached c++ openmp offload code fails, because the c sqrt function makes nonlocal gotos..

2025-04-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118794 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug c++/119806] New: OpenACC, OpenMP 'target' offloading vs. C++ 'typeinfo' parts

2025-04-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119806 Bug ID: 119806 Summary: OpenACC, OpenMP 'target' offloading vs. C++ 'typeinfo' parts Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openacc, openmp,

[Bug cobol/119777] [15 Regression] COBOL '-fsyntax-only', 'RejectNegative'

2025-04-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119777 --- Comment #7 from Thomas Schwinge --- In case that was unclear: (In reply to Simon Sobisch from comment #1) > Do you say there should be a -fno-syntax-only?` I'm saying that there *used to be* a "Common" '-fno-syntax-only', which got invalid

[Bug middle-end/119737] GCN/C++ vs. 'as': 'LLVM ERROR: Size expression must be absolute.'

2025-04-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119737 --- Comment #4 from Thomas Schwinge --- Andrew P., thanks for your analysis -- that indeed looks like a plausible explanation. (In reply to myself from comment #0) > I've not yet looked into creating a non-offloading, GCN target test case. No

[Bug cobol/119777] New: [15 Regression] COBOL '-fsyntax-only', 'RejectNegative'

2025-04-13 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119777 Bug ID: 119777 Summary: [15 Regression] COBOL '-fsyntax-only', 'RejectNegative' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prior

[Bug cobol/119776] New: COBOL '-fmax-errors', 'Separate'

2025-04-13 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119776 Bug ID: 119776 Summary: COBOL '-fmax-errors', 'Separate' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug rust/119508] Hundreds of rust tests XPASS

2025-04-13 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119508 Thomas Schwinge changed: What|Removed |Added Last reconfirmed|2025-04-06 00:00:00 |2025-4-13 Status|RESOLVED

[Bug target/119737] New: GCN/C++ vs. 'as': 'LLVM ERROR: Size expression must be absolute.'

2025-04-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119737 Bug ID: 119737 Summary: GCN/C++ vs. 'as': 'LLVM ERROR: Size expression must be absolute.' Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug target/119734] New: nvptx/C++ vs. '_ZTISt8bad_cast' ('typeinfo for std::bad_cast')

2025-04-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119734 Bug ID: 119734 Summary: nvptx/C++ vs. '_ZTISt8bad_cast' ('typeinfo for std::bad_cast') Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119692] C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading

2025-04-10 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119692 --- Comment #3 from Thomas Schwinge --- Jakub, could you please quickly describe the approach you'd take to get the relevant 'DECL_TINFO_P' and 'DECL_VTABLE_OR_VTT_P' (correct, and complete list of predicates?) into 'offload_vars' (via the usual

[Bug c++/119692] C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading

2025-04-10 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119692 --- Comment #2 from Thomas Schwinge --- When still 'map'ping C++ 'typeinfo', 'vtable' at the OpenACC compute, OpenMP 'target' construct (as 'firstprivate', or 'map(to)'), there's an additional issue. With attachment 61052 altered as follows:

[Bug target/115259] [15 Regressions] GCN vs. "tree-optimization/115144 - improve sinking destination choice"

2025-04-10 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115259 --- Comment #12 from Thomas Schwinge --- Andrew P., thanks for having a look! I tested attachment 61055; terminates normally. :-|

[Bug middle-end/94876] [OpenACC] Unhelpful mapping for 'DECL_ARTIFICIAL' inside OpenACC 'kernels' regions

2025-04-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94876 Thomas Schwinge changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/119692] C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading

2025-04-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119692 Thomas Schwinge changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/119692] New: C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading

2025-04-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119692 Bug ID: 119692 Summary: C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openacc, open

[Bug rust/119508] Hundreds of rust tests XPASS

2025-04-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119508 --- Comment #8 from Thomas Schwinge --- GCC/Rust master branch commit b9aaa6192f3310a0cb26f7773b31703a8c9c544c "nr2.0: Improve test script" you mean? Yes, likely -- but that's not yet in upstream GCC.

[Bug target/119675] New: nvptx 'error: PTX does not support weak declarations (only weak definitions)'

2025-04-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119675 Bug ID: 119675 Summary: nvptx 'error: PTX does not support weak declarations (only weak definitions)' Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/119667] libstdc++ configure checks for libbacktrace need atomics for void* and size_t

2025-04-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119667 Thomas Schwinge changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/115648] [15 Regression] GCN: [-PASS:-]{+FAIL:+} gcc.dg/hoist-register-pressure-{2, 3}.c scan-rtl-dump hoist "PRE/HOIST: end of bb .* copying expression"

2025-04-07 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115648 Thomas Schwinge changed: What|Removed |Added Resolution|--- |WORKSFORME Status|WAITING

[Bug libstdc++/119645] GCN, nvptx: libstdc++ 'checking for atomic builtins [...]... no'

2025-04-06 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119645 Thomas Schwinge changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/119645] New: GCN, nvptx: libstdc++ 'checking for atomic builtins [...]... no'

2025-04-05 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119645 Bug ID: 119645 Summary: GCN, nvptx: libstdc++ 'checking for atomic builtins [...]... no' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/119573] nvptx: PTX '.const', constant state space

2025-04-02 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119573 --- Comment #3 from Thomas Schwinge --- Yes, things like that is what I meant with "introducing any special machinery". But before that, we'll want to clarify if this is desirable at all; what actually is the intended use of PTX '.const' memory

[Bug target/119573] nvptx: PTX '.const', constant state space

2025-04-02 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119573 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/119573] New: nvptx: PTX '.const', constant state space

2025-04-01 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119573 Bug ID: 119573 Summary: nvptx: PTX '.const', constant state space Product: gcc Version: 15.0 URL: https://inbox.sourceware.org/87a590lv1b.fsf@dem-tschwi ng-1.schwinge

[Bug target/119369] GCN: weak undefined symbols -> execution test FAIL, 'HSA_STATUS_ERROR_VARIABLE_UNDEFINED'

2025-03-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119369 --- Comment #6 from Thomas Schwinge --- (In reply to Andrew Stubbs from comment #5) > However, given that weak symbols are known to be half-broken then maybe > -fno-weak is the correct solution in that configuration? I'd prefer to not do that,

[Bug target/119369] GCN: weak undefined symbols -> execution test FAIL, 'HSA_STATUS_ERROR_VARIABLE_UNDEFINED'

2025-03-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119369 --- Comment #4 from Thomas Schwinge --- For the record, the (only?) issue here specifically is '__cxa_pure_virtual', an 'abort'-like function. This is defined as follows: 'libstdc++-v3/libsupc++/cxxabi.h': // Pure virtual functions. v

[Bug target/119369] GCN: weak undefined symbols -> execution test FAIL, 'HSA_STATUS_ERROR_VARIABLE_UNDEFINED'

2025-03-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119369 --- Comment #3 from Thomas Schwinge --- I see. Yes -- assuming that I'm understanding the situation correctly -- we'll need a (post-)static-link or pre-load ('gcc/config/gcn/gcn-run.cc' as well as 'libgomp/plugin/plugin-gcn.c') step to resolve

[Bug target/119369] GCN: weak undefined symbols -> execution test FAIL, 'HSA_STATUS_ERROR_VARIABLE_UNDEFINED'

2025-03-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119369 Thomas Schwinge changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc dot gnu.org

[Bug testsuite/119511] New: Harden 'dg-regexp', fix misuses

2025-03-28 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119511 Bug ID: 119511 Summary: Harden 'dg-regexp', fix misuses Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: normal Priority

[Bug target/118794] The attached c++ openmp offload code fails, because the c sqrt function makes nonlocal gotos..

2025-03-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118794 Thomas Schwinge changed: What|Removed |Added Last reconfirmed||2025-03-27 Keywords|

[Bug target/118520] compiles with clang on openmp target, but gcc fails to compile with unresolved symbol __cxa_throw_bad_array_new_length

2025-03-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118520 Thomas Schwinge changed: What|Removed |Added Target Milestone|--- |15.0 CC|

[Bug middle-end/119485] OpenACC offloading compilation failure/ICE for C++ templated library functions

2025-03-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119485 --- Comment #1 from Thomas Schwinge --- Created attachment 60897 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60897&action=edit pre-processed, reduced

[Bug target/118518] gcc 14.2.1 nvptx cross compiler complains about alias definitions in a struct with two constructors that are not aliases

2025-03-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118518 Thomas Schwinge changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id

[Bug middle-end/119485] New: OpenACC offloading compilation failure/ICE for C++ templated library functions

2025-03-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119485 Bug ID: 119485 Summary: OpenACC offloading compilation failure/ICE for C++ templated library functions Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[Bug target/119474] GCN 'libgomp.oacc-c++/pr96835-1.C' ICE 'during GIMPLE pass: ivopts'

2025-03-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119474 Bug 119474 depends on bug 96835, which changed state. Bug 96835 Summary: Constructor in offload template class https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96835 What|Removed |Added

[Bug target/96835] Constructor in offload template class

2025-03-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96835 Thomas Schwinge changed: What|Removed |Added Target Milestone|--- |15.0 Target|

[Bug target/119474] New: GCN 'libgomp.oacc-c++/pr96835-1.C' ICE 'during GIMPLE pass: ivopts'

2025-03-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119474 Bug ID: 119474 Summary: GCN 'libgomp.oacc-c++/pr96835-1.C' ICE 'during GIMPLE pass: ivopts' Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openacc

[Bug target/117010] [nvptx] Incorrect ptx code-gen for C++ code with templates

2025-03-25 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010 --- Comment #8 from Thomas Schwinge --- Well, indeed. Offloading code generation uses the LTO machinery, including the 'lto1' front end, and thus has 'gcc/common.opt:in_lto_p' set to 'true': ; True if this is the lto front end. This is us

[Bug target/117010] [nvptx] Incorrect ptx code-gen for C++ code with templates

2025-03-25 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010 --- Comment #7 from Thomas Schwinge --- First observation: the same (per my understanding) happens with LTO: compile this code, still at '-O0' with '-foffload=disable' but with '-flto', and see the x86_64 '[...].ltrans0.ltrans.s' file:

[Bug target/117010] [nvptx] Incorrect ptx code-gen for C++ code with templates

2025-03-25 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010 --- Comment #6 from Thomas Schwinge --- Thanks for having a look. In other words, you don't have an explanation off hand, why "weak" and "comdat" get lost in the GCN offloading path? GCN (ELF) does support all these things (to the best of my k

[Bug target/117010] [nvptx] Incorrect ptx code-gen for C++ code with templates

2025-03-25 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010 Thomas Schwinge changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc dot gnu.org

[Bug target/96835] Constructor in offload template class

2025-03-24 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96835 Thomas Schwinge changed: What|Removed |Added CC||ams at gcc dot gnu.org,

  1   2   3   4   5   6   7   >