[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

2024-07-01 Thread lockalsash at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740 --- Comment #9 from Lockal --- Sam James, that's a separate issue - https://bugs.gentoo.org/935314 I modified my /etc/clang/gentoo-hardened.cfg to contain: -Xarch_host -D_GLIBCXX_ASSERTIONS and it works fine, except it does not work and fails

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

2024-07-01 Thread lockalsash at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740 --- Comment #6 from Lockal --- Oops, did not expect that someone already reported this to llvm/llvm-project. This was noticed as an issue of ROCm, not CUDA. Did not try CUDA, probably won't work with gcc-14 due to multiple reasons (starting wit

[Bug libstdc++/115740] New: gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

2024-07-01 Thread lockalsash at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740 Bug ID: 115740 Summary: gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severi