[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-05-31 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 Nathaniel Shead changed: What|Removed |Added CC||paalon1936 at gmail dot com ---

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:fd6fd88b1a93f4fb38f095688255ab5c00122810 commit r14-10240-gfd6fd88b1a93f4fb38f095688255ab5c00122810 Author: Nathaniel

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-05-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 --- Comment #10 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:ec2365e07537e8b17745d75c28a2b45bf33be119 commit r15-220-gec2365e07537e8b17745d75c28a2b45bf33be119 Author: Nathaniel Shead

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-05-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 --- Comment #9 from Andrew Pinski --- (In reply to Adhemerval Zanella from comment #8) > This has triggered some regression on aarch64 [1]: > > Running g++:g++.dg/modules/modules.exp ... > FAIL: g++.dg/modules/tpl-friend-4_b.C -std=c++17

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-05-06 Thread adhemerval.zanella at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 Adhemerval Zanella changed: What|Removed |Added CC||adhemerval.zanella at linaro dot

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 Nathaniel Shead changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot gnu.org

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 --- Comment #6 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:b5f6a56940e70838a07e885de03a92e2bd64674a commit r15-59-gb5f6a56940e70838a07e885de03a92e2bd64674a Author: Nathaniel Shead Date:

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-03-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 --- Comment #5 from Patrick Palka --- (In reply to Nathaniel Shead from comment #4) > I suspect there are a number of issues tied together here. Some of the > things I've discovered so far: > > - 'tsubst_friend_class' calls 'lookup_name',

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-03-17 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 --- Comment #4 from Nathaniel Shead --- I suspect there are a number of issues tied together here. Some of the things I've discovered so far: - 'tsubst_friend_class' calls 'lookup_name', which when called from a module that doesn't export the

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-03-08 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-03-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 --- Comment #3 from Patrick Palka --- PR105320 seems similar. Another maybe related testcase: $ cat testcase.C export module M; template struct A { template friend struct B; }; A a; template struct B { }; $ cat testcase.C | g++

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-03-07 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 Nathaniel Shead changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from