https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93405
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |SUSPENDED
Last reconfirmed| |2020-01-23
Target Milestone|--- |11.0
Ever confirmed|0 |1
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Thanks for filing this.
Note that I don't intend to support non-C frontends in -fanalyzer for GCC 10,
to keep the initial scope of the feature sane; see PR 93392.
I can reproduce; the ICE is in get_lvalue_1 on a CONST_DECL due to hitting:
4614 switch (TREE_CODE (expr))
4615 {
4616 default:
4617 gcc_unreachable ();
due to the get_rvalue_1 for ADDR_EXPR not having a special-case for CONST_DECL
like it does for FUNCTION_DECL and LABEL_DECL.