This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Pre-inline optimization, version 3
> WHat I saw in the file producing segfault, was VAR_DECL pointing to
> ARRAY_REF via the language specific pointer 't'. The ARRAY_REF further
> pointed to SSA_NAMES that was however already optimized out.
Sounds like you're talking about DECL_RENAMED_OBJECT. If so, probably
the best approach is to add a VAR_DECL case in ada/trans.c:gnat_gimplify_expr
which just clears it.
Eric (Botcazou): can the new language-independent field DECL_VALUE_EXPR
be used for this now?