[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2025-01-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-08-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 --- Comment #10 from Marek Polacek --- Fixed on trunk so far. I think it makes sense to fix this in 14 too.

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:d91b6c93f98cac71f5588d73191d08ad788e600c commit r15-2920-gd91b6c93f98cac71f5588d73191d08ad788e600c Author: Marek Polacek Date: Fr

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-08-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-08-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 --- Comment #7 from Marek Polacek --- As in bug 100252, we have: D.2872 = {.rows=(&)->n, .outer_stride=(&)->rows} that is, two PLACEHOLDER_EXPRs for different types on the same level in one { }.

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-08-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 --- Comment #6 from Marek Polacek --- Matrix A1{{n}}; ICEs too, but not Matrix A0{{}}; Matrix A2{{n, n}};

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-08-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 --- Comment #5 from Marek Polacek --- Yeah. (I would like to take a look soon but I'm not going to assign it to myself until I have a patch/know what exactly is going on.)

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org See

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-07-21 Thread pieter.p.dev at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 --- Comment #3 from Pieter P --- A temporary workaround is to wrap the default value in an immediately invoked lambda: struct Widget { int n = 5; Matrix A = [this] { return Matrix{{.rows = n}}; }(); };

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-07-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 --- Comment #2 from Marek Polacek --- (Not a regression; previously we rejected the code.)

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-07-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|