This is the mail archive of the
mailing list for the GCC project.
- From: Ilya Enkovich <enkovich dot gnu at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 3 Oct 2012 21:05:57 +0400
- Subject: Variable DECL_SIZE
I fall into ssa verification failure when try to pass field's
DECL_SIZE as an operand for CALL_EXPR. The fail occurs if field's size
is not a constant. In such case DECL_SIZE holds a VAR_DECL and I need
to find it's proper SSA_NAME. I thought it may be the default one but
gimple_default_def returns NULL. What is the right way to obtain
correct ssa_name in such case?