Problem with operand handling
Richard Kenner
kenner@vlsi1.ultra.nyu.edu
Tue Sep 7 12:38:00 GMT 2004
The only time &var is used as a pointer is if the variable passes the
test 'is_gimple_reg()'. Only real operands store this pointer value.
If var is a virtual SSA_NAME operand, then we store *var into a tree and
keep that value around.
I think this is pre-ssa-conversion, so it's still a VAR_DECL. I didn't
see any code to do that copying.
So this should only be causing you a problem if you have an
is_gimple_reg() which is being passed to add_stmt_operand in this
manner. The thats a bug.
It was happening via a TMT "variable".
More information about the Gcc
mailing list