[Bug libstdc++/101318] New: Comparison operator

2021-07-04 Thread tobias.bruell at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: tobias.bruell at gmail dot com Target Milestone: --- The comparison operators for std::array seem a bit broken in gcc 10. Seems to work in gcc 11 and 12. The following program should probably print the same value twice. I assume it's

[Bug c++/96853] New: Explicit template instantiation & thread_local interaction

2020-08-30 Thread tobias.bruell at gmail dot com
rmal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tobias.bruell at gmail dot com Target Milestone: --- Compiling the below with > g++-10 main.cpp library.cpp -o main in gcc 10.1 leads to an executable "main" that segfa

[Bug c++/81880] thread_local static member template initialisation fails

2020-08-30 Thread tobias.bruell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81880 Toby Brull changed: What|Removed |Added CC||tobias.bruell at gmail dot com --- Comment

[Bug c++/88292] Static initialization problem with thread_local and templates

2020-08-29 Thread tobias.bruell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88292 --- Comment #2 from Toby Brull --- Probably (at least partly) a duplicate of PR 81880. Seems to be working now on more recent versions (7.5, 8.4, 10.1), even though PR 81880 still persists. Close?

[Bug c++/58366] invocation of thread_local class containing bound function leads to : "Illegal instruction: 4"

2020-08-29 Thread tobias.bruell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58366 Toby Brull changed: What|Removed |Added CC||tobias.bruell at gmail dot com --- Comment

[Bug c++/59994] [meta-bug] thread_local

2020-08-29 Thread tobias.bruell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59994 Toby Brull changed: What|Removed |Added CC||tobias.bruell at gmail dot com --- Comment

[Bug c++/69775] thread_local extern variable causes linkage error

2020-08-29 Thread tobias.bruell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69775 Toby Brull changed: What|Removed |Added CC||tobias.bruell at gmail dot com --- Comment

[Bug c++/67135] [thread_local] heap-use-after-free (OS X 10.10.4)

2020-08-29 Thread tobias.bruell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67135 Toby Brull changed: What|Removed |Added CC||tobias.bruell at gmail dot com --- Comment

[Bug c++/95629] New: consteval operator== crashes compiler

2020-06-10 Thread tobias.bruell at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: tobias.bruell at gmail dot com Target Milestone: --- This also crashed in g++10 v10.1.0 for me. #include template struct hana { template consteval bool operator==(hana) { return std::is_same_v; } }; int main

[Bug c++/90652] New: Recursive concept leads to segfault

2019-05-27 Thread tobias.bruell at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: tobias.bruell at gmail dot com Target Milestone: --- The following program leads to a seg-fault in gcc. Compile with -Wall -Wextra -std=gnu++2a "-fconcepts" It works when using "operator << (os, x)" inst

[Bug c++/88292] New: Static initialization problem with thread_local and templates

2018-12-01 Thread tobias.bruell at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tobias.bruell at gmail dot com Target Milestone: --- I believe the following code should never print a null-pointer. Works as I expect with clang. Also, there are various ways in which

[Bug c++/87389] New: if constexpr not working properly with static_assert

2018-09-21 Thread tobias.bruell at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tobias.bruell at gmail dot com Target Milestone: --- Shouldn't the following compile? Also, if one replaces the hash_value_t by the 32-bit variant? This is also rejected by Clang

[Bug c++/85555] New: Use of concepts gives access to private members.

2018-04-28 Thread tobias.bruell at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tobias.bruell at gmail dot com Target Milestone: --- Created attachment 44033 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44033=edit Reproducer In the following condensed example the unrelated use of conce