[Bug c++/118513] ICE with modules and structured binding using std::tuple*

2025-03-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118513 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/118513] ICE with modules and structured binding using std::tuple*

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118513 --- Comment #8 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:2fcb0c079530b019586e5693f057d2eb72855e70 commit r15-7085-g2fcb0c079530b019586e5693f057d2eb72855e70 Author: Nathaniel Shead Date:

[Bug c++/118513] ICE with modules and structured binding using std::tuple*

2025-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118513 --- Comment #7 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:20a4306793e4978dfff13ca669739eb46915d4e4 commit r15-7026-g20a4306793e4978dfff13ca669739eb46915d4e4 Author: Jakub Jelinek Date: S

[Bug c++/118513] ICE with modules and structured binding using std::tuple*

2025-01-18 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118513 --- Comment #6 from Nathaniel Shead --- (In reply to Jason Merrill from comment #5) > (In reply to Nathaniel Shead from comment #4) > > Confirmed. Without having looked into it too much I think maybe doing > > `varpool_node::finalize_decl` migh

[Bug c++/118513] ICE with modules and structured binding using std::tuple*

2025-01-17 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118513 --- Comment #5 from Jason Merrill --- (In reply to Nathaniel Shead from comment #4) > Confirmed. Without having looked into it too much I think maybe doing > `varpool_node::finalize_decl` might be the way to go to cover this and any > other rel

[Bug c++/118513] ICE with modules and structured binding using std::tuple*

2025-01-16 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118513 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/118513] ICE with modules and structured binding using std::tuple*

2025-01-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118513 --- Comment #3 from Jakub Jelinek --- Or of course if something like that isn't appropriate for all copy_linkage uses (other than structured bindings it is used for guard variables I think), then cp_finish_decomp could do that.

[Bug c++/118513] ICE with modules and structured binding using std::tuple*

2025-01-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118513 --- Comment #2 from Jakub Jelinek --- --- gcc/cp/decl2.cc.jj 2025-01-16 13:34:29.719360710 +0100 +++ gcc/cp/decl2.cc 2025-01-16 14:27:54.095464791 +0100 @@ -3656,6 +3656,8 @@ copy_linkage (tree guard, tree decl) comdat_linkage (guar

[Bug c++/118513] ICE with modules and structured binding using std::tuple*

2025-01-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118513 --- Comment #1 from Jakub Jelinek --- Note, on the structured binding base VAR_DECL, DECL_INTERFACE_KNOWN has been set in #0 constrain_visibility (decl=, visibility=4, tmpl=false) at ../../gcc/cp/decl2.cc:2815 #1 0x005962ad in determin