[Bug analyzer/96763] [11 Regression] ICE in get_subregion_within_ctor, at analyzer/store.cc:379 on RANGE_EXPR index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96763 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #3 from David Malcolm --- Should be fixed by above commit.
[Bug analyzer/96763] [11 Regression] ICE in get_subregion_within_ctor, at analyzer/store.cc:379 on RANGE_EXPR index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96763 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:0d1b4edc5fff834e8f924b20dd021ded7a21d2d2 commit r11-2953-g0d1b4edc5fff834e8f924b20dd021ded7a21d2d2 Author: David Malcolm Date: Mon Aug 24 09:33:42 2020 -0400 analyzer: fix ICE on RANGE_EXPR in CONSTRUCTORs [PR96763] gcc/analyzer/ChangeLog: PR analyzer/96763 * store.cc (binding_map::apply_ctor_to_region): Handle RANGE_EXPR by calling a new binding_map::apply_ctor_val_to_range subroutine. Split out the existing non-CONSTRUCTOR-handling code to a new apply_ctor_pair_to_child_region subroutine. (binding_map::apply_ctor_val_to_range): New. (binding_map::apply_ctor_pair_to_child_region): New, split out from binding_map::apply_ctor_to_region as noted above. * store.h (binding_map::apply_ctor_val_to_range): New decl. (binding_map::apply_ctor_pair_to_child_region): New decl. gcc/testsuite/ChangeLog: PR analyzer/96763 * g++.dg/analyzer/pr96763.C: New test.
[Bug analyzer/96763] [11 Regression] ICE in get_subregion_within_ctor, at analyzer/store.cc:379 on RANGE_EXPR index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96763 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0
[Bug analyzer/96763] [11 Regression] ICE in get_subregion_within_ctor, at analyzer/store.cc:379 on RANGE_EXPR index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96763 David Malcolm changed: What|Removed |Added Summary|[11 Regression] ICE in |[11 Regression] ICE in |get_subregion_within_ctor, |get_subregion_within_ctor, |at analyzer/store.cc:379|at analyzer/store.cc:379 on ||RANGE_EXPR index Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2020-08-24 --- Comment #1 from David Malcolm --- Thanks for filing this; confirmed on powerpc64 and arm. index is a range_expr.