[Bug c++/97597] [11 Regression] ICE in build_over_call, at cp/call.c:9034
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97597 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #4 from Jason Merrill --- Fixed.
[Bug c++/97597] [11 Regression] ICE in build_over_call, at cp/call.c:9034
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97597 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:612cf351c700b6216209e3f3f4b3a0959bf2dee7 commit r11-6324-g612cf351c700b6216209e3f3f4b3a0959bf2dee7 Author: Jason Merrill Date: Tue Dec 22 15:41:56 2020 -0500 c++: Fix initializing empty base from prvalue [PR97597] unsafe_return_slot_p wasn't recognizing an empty base as potentially-overlapping, which it definitely is. The change to build_base_path is to make the virtual conversion also recognized by is_empty_base_ref; unsafe_return_slot_p doesn't to handle virtual conversions, but hypothetical future callers might. gcc/cp/ChangeLog: PR c++/97597 * class.c (is_empty_base_ref): New. (build_base_path): Add NOP_EXPR after offset. * cp-tree.h (is_empty_base_ref): Declare it. * call.c (unsafe_return_slot_p): Call it. gcc/testsuite/ChangeLog: PR c++/97597 * g++.dg/init/empty3.C: New test.
[Bug c++/97597] [11 Regression] ICE in build_over_call, at cp/call.c:9034
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97597 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
[Bug c++/97597] [11 Regression] ICE in build_over_call, at cp/call.c:9034
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97597 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org Priority|P3 |P1 --- Comment #2 from Marek Polacek --- Started with r11-2704: commit 320054784250e572cb75d6f69ab44b2330d61d8b Author: Jason Merrill Date: Wed Aug 12 05:45:02 2020 -0400 c++: Copy elision and [[no_unique_address]]. [PR93711]
[Bug c++/97597] [11 Regression] ICE in build_over_call, at cp/call.c:9034
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97597 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Target Milestone|--- |11.0 Last reconfirmed||2020-10-27 CC||mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek --- Confirmed.