Re: [committed] analyzer: fix another ICE in constructor-handling [PR96949]

2020-09-08 Thread Thomas Koenig via Gcc-patches
Hi David, I'm taking the liberty of adding the reproducer for this to gfortran.dg/analyzer as a regression test; hope that's OK. Sure. Adding a passing test case like that certainly falls under the "obvious and simple" rule. Best regards Thomas

[committed] analyzer: fix another ICE in constructor-handling [PR96949]

2020-09-08 Thread David Malcolm via Gcc-patches
PR analyzer/96949 reports an ICE within -fanalyzer on a Fortran test case with --param analyzer-max-svalue-depth=0, where that param value leads to INTEGER_CST values in a RANGE_EXPR being treated as unknown symbolic values. This patch replaces implicit assumptions that these values are concrete (