This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]