[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code
sjames at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 1 23:36:41 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjames at gcc dot gnu.org
--- Comment #7 from Sam James <sjames at gcc dot gnu.org> ---
> 1) I did not enable -D_GLIBCXX_ASSERTIONS - I don't want see calls to __glibcxx_assert_fail (device code can't comprehend this)
Note that for hardened in Gentoo, we enable it by default - see
https://gitweb.gentoo.org/proj/gcc-patches.git/tree/14.1.0/gentoo/15_all_DEF_GENTOO_GLIBCXX_ASSERTIONS.patch.
More information about the Gcc-bugs
mailing list