[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #14 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a258e46458043b11495faef119489a776eb68f60 commit r10-7041-ga258e46458043b11495faef119489a776eb68f60 Author: Jason Merrill Date: Thu Mar 5 10:11:36 2020 -0500 c++: Add test for PR91607. PR c++/91607 * g++.dg/cpp0x/constexpr-const3.C: New. --- Comment #15 from Jason Merrill --- Fixed for 9.3.
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #14 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a258e46458043b11495faef119489a776eb68f60 commit r10-7041-ga258e46458043b11495faef119489a776eb68f60 Author: Jason Merrill Date: Thu Mar 5 10:11:36 2020 -0500 c++: Add test for PR91607. PR c++/91607 * g++.dg/cpp0x/constexpr-const3.C: New. --- Comment #15 from Jason Merrill --- Fixed for 9.3.
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #13 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e19f06538c51fed54240a4e98277e62daa00d9b3 commit r9-8339-ge19f06538c51fed54240a4e98277e62daa00d9b3 Author: Jason Merrill Date: Wed Mar 4 23:07:13 2020 -0500 c++: Fix constexpr ICE from const mismatch [PR91607] gcc/cp/ChangeLog 2020-03-04 Jason Merrill PR c++/91607 * constexpr.c (constexpr_call_hasher::equal): Use same_type_ignoring_top_level_qualifiers_p.
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC||jason at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.3
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 rene.r...@fu-berlin.de changed: What|Removed |Added CC||rene.r...@fu-berlin.de --- Comment #12 from rene.r...@fu-berlin.de --- Hi there, I just wanted to know if there are any news about this issue? Many thanks for your efforts.
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #11 from Marek Polacek --- Perhaps we should just remove the assert: --- a/gcc/cp/constexpr.c +++ b/gcc/cp/constexpr.c @@ -1085,7 +1085,6 @@ constexpr_call_hasher::equal (constexpr_call *lhs, constexpr_call *rhs) { tree lhs_arg = TREE_VALUE (lhs_bindings); tree rhs_arg = TREE_VALUE (rhs_bindings); - gcc_assert (same_type_p (TREE_TYPE (lhs_arg), TREE_TYPE (rhs_arg))); if (!cp_tree_equal (lhs_arg, rhs_arg)) return false; lhs_bindings = TREE_CHAIN (lhs_bindings);
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #10 from Marek Polacek --- r266816 is already present gcc-9-branch but it didn't fix the ICE. I'm afraid it's r272125, but alas that doesn't seem to be backportable.
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2019-09-24 Ever confirmed|0 |1 --- Comment #9 from Marek Polacek --- Confirming that latest GCC 9 still ICEs.
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #8 from Hannes Hauswedell --- Anything I can do to help resolve this? We have library code that breaks because of the issue and since 9.2 is deployed everywhere that 9.1 was used, this is very disruptive... Thank you!
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #7 from Hannes Hauswedell --- Any news here? It's still marked unconfirmed. Thank you!
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #6 from Marek Polacek --- That's why I haven't closed the PR. Trunk seems to emit a potentially bogus error, reducing that.
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #5 from Hannes Hauswedell --- > (In reply to Marek Polacek from comment #4) > The ICE was fixed by r266816. But not for GCC9? I can confirm that GCC 9.2.1 snapshot from 20190817 still triggers the bug.
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment #4 from Marek Polacek --- The ICE was fixed by r266816.
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #3 from Hannes Hauswedell --- Created attachment 46790 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46790=edit intermediate code generated from GCC10
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #2 from Hannes Hauswedell --- Created attachment 46789 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46789=edit intermediate code generated from GCC9
[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #1 from Hannes Hauswedell --- Created attachment 46788 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46788=edit intermediate code generated from GCC8