[Bug c++/106398] ICE in finish_expr_stmt at cp/semantics.c:872 for lambda with conditional noexcept against lambda in unevaluated context

2022-07-21 Thread jbassett271 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106398 --- Comment #1 from Justin Bassett --- Sorry about the repetition of the code example. That was some kind of bug in the website or browser where the pasted text did not show up except for the last copy. Let's give that code snippet one more

[Bug c++/106398] New: ICE in finish_expr_stmt at cp/semantics.c:872 for lambda with conditional noexcept against lambda in unevaluated context

2022-07-21 Thread jbassett271 at gmail dot com via Gcc-bugs
Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jbassett271 at gmail dot com Target Milestone: --- This ICEs: #define FWD(...) static_cast(__VA_ARGS__

[Bug c++/101043] New: ICE in check_noexcept_r for lambda conditional noexcept via requires expression

2021-06-12 Thread jbassett271 at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jbassett271 at gmail dot com Target Milestone: --- GCC has an internal compiler error for requires expressions inside the noexcept clause of a lambda inside a templated

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2021-03-30 Thread jbassett271 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Justin Bassett changed: What|Removed |Added CC||jbassett271 at gmail dot com

[Bug c++/98367] ICE with CTAD non-type template parameter

2020-12-17 Thread jbassett271 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98367 --- Comment #1 from Justin Bassett --- It also ICEs with a segfault even if the `myobject` doesn't do CTAD itself but has its type explicitly specified: https://godbolt.org/z/Mjfe6c . Inlining the non-CTAD version does not ICE, though:

[Bug c++/98367] New: ICE with CTAD non-type template parameter

2020-12-17 Thread jbassett271 at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: jbassett271 at gmail dot com Target Milestone: --- This ICEs the compiler with a segfault (see https://godbolt.org/z/ddceoM ): template struct ctad_t { A a; }; template struct myclass { }; template constexpr auto

[Bug c++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand

2019-08-02 Thread jbassett271 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64372 Justin Bassett changed: What|Removed |Added CC||jbassett271 at gmail dot com

[Bug c++/86368] an unknown [[attribute]] should not trigger a warning in C++17

2019-04-17 Thread jbassett271 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86368 --- Comment #9 from Justin Bassett --- After more reflection, I do believe that ignoring attributes from unknown namespaces is one of the best options. My suggestion of whitelisting attributes falls apart when we consider how many attributes

[Bug c++/86368] an unknown [[attribute]] should not trigger a warning in C++17

2019-04-16 Thread jbassett271 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86368 Justin Bassett changed: What|Removed |Added CC||jbassett271 at gmail dot com

[Bug c++/89074] valid pointer equality constexpr comparison rejected

2019-03-10 Thread jbassett271 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89074 Justin Bassett changed: What|Removed |Added CC||jbassett271 at gmail dot com

[Bug c++/68942] overly strict use of deleted function before argument-dependent lookup (ADL)

2018-10-20 Thread jbassett271 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68942 Justin Bassett changed: What|Removed |Added CC||jbassett271 at gmail dot com

[Bug c++/87327] New: Calling member functions on captured constexpr variables "is not a constant expression"

2018-09-16 Thread jbassett271 at gmail dot com
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jbassett271 at gmail dot com Target Milestone: --- The following code fails to compile on GCC 8.1.0 and above, but compiles fine on GCC 7.3 and Cl

[Bug c++/86970] New: Rejected constexpr expression involving lambdas and inheritance, "use of this in a constant expression"

2018-08-15 Thread jbassett271 at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jbassett271 at gmail dot com Target Milestone: --- Created attachment 44549 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44549