https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93667
Bug ID: 93667 Summary: [10 regression] ICE in esra with nested [[no_unique_address]] field Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eric.niebler at gmail dot com Target Milestone: --- Compile with: -std=c++2a -O2 struct a {}; struct b { [[no_unique_address]] a aq; }; struct c { int d; [[no_unique_address]] b e; }; c f() {return {};} void g() { f(); } Result: during GIMPLE pass: esra repro.cpp.i: In function ‘void g()’: repro.cpp.i:8:17: internal compiler error: in verify_sra_access_forest, at tree-sra.c:2327 8 | void g() { f(); } | ^