[Bug libstdc++/113283] missing C++26 freestanding headers.

2024-01-09 Thread cjdb.ns at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283 Christopher Di Bella changed: What|Removed |Added CC||cjdb.ns at gmail dot com

[Bug c++/109337] c++2a test concepts4.C passes when it should fail

2023-03-29 Thread cjdb.ns at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109337 --- Comment #3 from Christopher Di Bella --- This is apparently a Clang bug: the RHS of `R42c` isn't evaluated because of short-circuiting. Apologies for the noise and thanks for helping me work through it.

[Bug c++/109338] New: `S auto>` isn't valid C++20

2023-03-29 Thread cjdb.ns at gmail dot com via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Clang and GCC disagree on whether or not this code is valid. This **may** be a relic from the Concepts TS, which Clang doesn't implement. https://godbolt.org/z/c7rGWE9s6

[Bug c++/109337] New: c++2a test concepts4.C passes when it should fail

2023-03-29 Thread cjdb.ns at gmail dot com via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Clang and GCC disagree on the validity of concepts4.C. I think Clang is correct here, because forming a reference to `void` should be ill-formed. https://godbolt.org/z

[Bug c++/92505] Using mutable in constexpr

2021-07-12 Thread cjdb.ns at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92505 Christopher Di Bella changed: What|Removed |Added CC||cjdb.ns at gmail dot com

[Bug c++/99701] New: std::nullptr_t can be compared with relational ops

2021-03-21 Thread cjdb.ns at gmail dot com via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Created attachment 50443 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50443=edit Temp file for provided source The following program is valid in all versi

[Bug c++/99374] New: C++17/20 mode fails to recognise pointer-to-member functions of incomplete types in conditional expression

2021-03-03 Thread cjdb.ns at gmail dot com via Gcc-bugs
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Created attachment 50296 --> https://gcc.gnu.org/bugzilla/attachment.

[Bug libstdc++/96946] New: std::shared_ptr makes an "unrelated cast" that causes Clang's Control Flow Integrity sanitiser to crash

2020-09-05 Thread cjdb.ns at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Created attachment 49186 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=4

[Bug libstdc++/94241] ranges::find_if doesn't like data structures defined in a function

2020-03-20 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94241 --- Comment #1 from Christopher Di Bella --- Created attachment 48074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48074=edit Temp for minimal repro

[Bug libstdc++/94241] New: ranges::find_if doesn't like data structures defined in a function

2020-03-20 Thread cjdb.ns at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- ranges::find_if chucks a wobbly when a struct is defined inside a function. Seems to cooperate if the struct is in global scope

[Bug libstdc++/93884] ranges::copy doesn't like output iterators

2020-02-22 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93884 Christopher Di Bella changed: What|Removed |Added CC||cjdb.ns at gmail dot com

[Bug libstdc++/93884] New: ranges::copy doesn't like output iterators

2020-02-22 Thread cjdb.ns at gmail dot com
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- ranges::copy doesn't currently like non-readable iterators as its second/third argument. * Branch: GCC trunk * Version: gcc (GCC) 10.0.1 20200222 (experimental) * Git Hash

[Bug libstdc++/93793] New: std::ostream_iterator doesn't satisfy std::weakly_incrementable

2020-02-17 Thread cjdb.ns at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Created attachment 47864 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47864=edit Minimal repro It appe

[Bug c++/93761] New: ICE when compiling a standard header as a header unit

2020-02-15 Thread cjdb.ns at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Attempts to compile `` and `` as header units cause GCC to segfault. I'm aware that there are fewer headers that can be successfully compiled as a header unit, but I

[Bug c++/93761] ICE when compiling a standard header as a header unit

2020-02-15 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93761 --- Comment #1 from Christopher Di Bella --- Created attachment 47846 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47846=edit Iterator temp

[Bug c++/82380] [concepts] Error when using requires constraint with attributes

2019-12-02 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380 --- Comment #8 from Christopher Di Bella --- The above (presumably) works in 466691493b9, but not in commits starting from Git hash 6b42dfe4264. Bugzilla autolink: r278774

[Bug c++/82380] [concepts] Error when using requires constraint with attributes

2019-12-02 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380 --- Comment #7 from Christopher Di Bella --- *** Bug 92739 has been marked as a duplicate of this bug. ***

[Bug c++/92739] [10 Regression] Requires clause followed by an attribute no longer compiles

2019-12-02 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92739 Christopher Di Bella changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/92739] [Trunk Regression] Requires clause followed by an attribute no longer compiles

2019-11-30 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92739 --- Comment #1 from Christopher Di Bella --- Created attachment 47402 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47402=edit Preprocessed file for working build

[Bug c++/92739] New: [Trunk Regression] Requires clause followed by an attribute no longer compiles

2019-11-30 Thread cjdb.ns at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Created attachment 47401 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47401=edit Preprocessed file for broken bu

[Bug c++/92040] New: Type requirements don't appear to work when a type doesn't exist.

2019-10-09 Thread cjdb.ns at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Created attachment 47011 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47011=edit Requested file # GCC version g++ (GCC) 10.

[Bug c++/85241] Requires-expressions, fold expressions, and member function templates with dependent parameters don't play nicely

2018-04-05 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85241 --- Comment #2 from Christopher Di Bella --- Created attachment 43862 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43862=edit static_assert equivalent (working)

[Bug c++/85241] Requires-expressions, fold expressions, and member function templates with dependent parameters don't play nicely

2018-04-05 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85241 --- Comment #1 from Christopher Di Bella --- Created attachment 43861 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43861=edit Minimal reproduction

[Bug c++/85241] New: Requires-expressions, fold expressions, and member function templates with dependent parameters don't play nicely

2018-04-05 Thread cjdb.ns at gmail dot com
: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- When declaring a class template with a member function template

[Bug c++/84139] C++17 Filesystem/Filesystem TS + cmcstl2 = GCC ICE

2018-02-17 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84139 --- Comment #5 from Christopher Di Bella --- It appears this is now compiling on trunk: https://godbolt.org/g/L9igrS. Thanks. Is it safe to close this issue yet?

[Bug c++/84191] New: Compiler ICEs when trying to resolve impossible arithmetic operations

2018-02-03 Thread cjdb.ns at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Created attachment 43332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43332=edit Output from -save-temps for GCC 7.2 (Se

[Bug c++/84140] New: Inline friends are not constrained by concepts

2018-01-30 Thread cjdb.ns at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Created attachment 43301 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43301=edit example.ii as produced by -save-temps ## Summary Inline friends do not app

[Bug c++/84139] C++17 Filesystem/Filesystem TS + cmcstl2 = GCC ICE

2018-01-30 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84139 --- Comment #2 from Christopher Di Bella --- An observation by Casey Carter (maintainer for cmcstl2) was made over at cpplang.slack.org#concepts: > Presumably a concepts bug being triggered in the > `std::iterator_traits`-hooking code at >

[Bug c++/84139] C++17 Filesystem/Filesystem TS + cmcstl2 = GCC ICE

2018-01-30 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84139 --- Comment #1 from Christopher Di Bella --- Created attachment 43300 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43300=edit example.ii as produced by -save-temps (compressed)

[Bug c++/84139] New: C++17 Filesystem/Filesystem TS + cmcstl2 = GCC ICE

2018-01-30 Thread cjdb.ns at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- ## Summary It is possible to cause an ICE on GCC 7 and GCC trunk with this simple example. https://godbolt.org/g/RYBwaV. Please let me know if the issue should