[Bug c++/113498] ICE in GCC trunk: tree check: have using_decl in get_template_info, at cp/pt.cc:357

2024-01-18 Thread bobmiller at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113498 --- Comment #2 from Bob Miller --- Apologies, I should have reduced this test case further before submission, but I was under the mistaken impression that the template weirdness was the cause. I believe this is a minimized example: https://godbo

[Bug c++/113498] ICE in GCC trunk: tree check: have using_decl in get_template_info, at cp/pt.cc:357

2024-01-18 Thread bobmiller at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113498 --- Comment #1 from Bob Miller --- Bug also occurs on GCC Trunk in Compiler Explorer. Small test case to reproduce bug: https://godbolt.org/z/TorE88bMT #include template class ThisTT, typename T, size_t...Dims> struct

[Bug c++/113498] New: ICE in GCC trunk: tree check: have using_decl in get_template_info, at cp/pt.cc:357

2024-01-18 Thread bobmiller at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113498 Bug ID: 113498 Summary: ICE in GCC trunk: tree check: have using_decl in get_template_info, at cp/pt.cc:357 Product: gcc Version: 14.0 Status: UNCONFIRMED Seve

[Bug c++/100279] [ICE in trunk] ICE caused by negative double NTTP. Error: Two symbols with same comdat_group are not linked by the same_comdat_group list.

2021-04-26 Thread bobmiller at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100279 --- Comment #3 from Bob Miller --- Further minimized example. Same ICE. ICE is visible here: https://godbolt.org/z/o7M9nYYYE template struct T {}; template void f(T) {} int main(int, char**) { f(T<-1.0>{}); f(T<-2.0>{}); return

[Bug c++/100279] Invalid generated assembly for NTTP lambda with negative double value

2021-04-26 Thread bobmiller at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100279 --- Comment #2 from Bob Miller --- In further minifying this example, I've discovered a related ICE. The ICE can be seen on godbolt here: https://godbolt.org/z/vxzG1zMjo I've attached a new preprocessed file that triggers the ICE. Code is as fo

[Bug c++/100279] Invalid generated assembly for NTTP lambda with negative double value

2021-04-26 Thread bobmiller at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100279 --- Comment #1 from Bob Miller --- Created attachment 50684 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50684&action=edit New preprocessed source for more minimal example. This one leads to an ICE on godbolt's GCC version.

[Bug c++/100279] New: Invalid generated assembly for NTTP lambda with negative double value

2021-04-26 Thread bobmiller at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100279 Bug ID: 100279 Summary: Invalid generated assembly for NTTP lambda with negative double value Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/99132] ICE in C++20 mode for constexpr not_null evaluation -- in cxx_eval_indirect_ref, at cp/constexpr.c:4905

2021-02-17 Thread bobmiller at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99132 --- Comment #2 from Bob Miller --- I have reported this bug to the gsl-lite maintainer as well here: https://github.com/gsl-lite/gsl-lite/issues/281

[Bug c++/99132] ICE in C++20 mode for constexpr not_null evaluation -- in cxx_eval_indirect_ref, at cp/constexpr.c:4905

2021-02-17 Thread bobmiller at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99132 --- Comment #1 from Bob Miller --- Created attachment 50211 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50211&action=edit preprocessed file that triggers the bug

[Bug c++/99132] New: ICE in C++20 mode for constexpr not_null evaluation -- in cxx_eval_indirect_ref, at cp/constexpr.c:4905

2021-02-17 Thread bobmiller at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99132 Bug ID: 99132 Summary: ICE in C++20 mode for constexpr not_null evaluation -- in cxx_eval_indirect_ref, at cp/constexpr.c:4905 Product: gcc Version: 11.0 Status: UNCONFI