[Bug analyzer/105366] [11 Regression] ICE: in cmp_cst, at analyzer/svalue.cc:309 with -O -fanalyzer since r11-4511-gf635f0ce87d687b1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105366 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #6 from David Malcolm --- Should be fixed for gcc 11.4 by the above commit; closing.
[Bug analyzer/105366] [11 Regression] ICE: in cmp_cst, at analyzer/svalue.cc:309 with -O -fanalyzer since r11-4511-gf635f0ce87d687b1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105366 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by David Malcolm : https://gcc.gnu.org/g:7f6033735bf5174f19ef0ab8efd92b075bcb277d commit r11-9950-g7f6033735bf5174f19ef0ab8efd92b075bcb277d Author: David Malcolm Date: Thu Apr 28 17:42:44 2022 -0400 analyzer: fix ICEs on complex constants [PR105365,105366] gcc/analyzer/ChangeLog: PR analyzer/105365 PR analyzer/105366 * svalue.cc (cmp_cst): Rename to... (cmp_csts_same_type): ...this. Convert all recursive calls to calls to... (cmp_csts_and_types): this new function. (svalue::cmp_ptr): Update for renaming of cmp_cst gcc/testsuite/ChangeLog: PR analyzer/105365 PR analyzer/105366 * gcc.dg/analyzer/pr105365.c: New test. * gcc.dg/analyzer/pr105366.c: New test. Signed-off-by: David Malcolm
[Bug analyzer/105366] [11 Regression] ICE: in cmp_cst, at analyzer/svalue.cc:309 with -O -fanalyzer since r11-4511-gf635f0ce87d687b1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105366 David Malcolm changed: What|Removed |Added Summary|[11/12 Regression] ICE: in |[11 Regression] ICE: in |cmp_cst, at |cmp_cst, at |analyzer/svalue.cc:309 with |analyzer/svalue.cc:309 with |-O -fanalyzer since |-O -fanalyzer since |r11-4511-gf635f0ce87d687b1 |r11-4511-gf635f0ce87d687b1 --- Comment #4 from David Malcolm --- Should be fixed for gcc 12 by the above commit. Keeping open for backporting to gcc 11.