This is the mail archive of the gcc@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: duplicate_block weirdness


is from an ICE:
- get_expr_operands() on the INDIRECT_REF calls get_indirect_ref_operands(), and
- get_indirect_ref_operands() tries to look at the var_ann for the INDIRECT_REF, which is NULL at that point.


Is the var_ann NULL because I need to require something more than PROP_gimple_any | PROP_ssa | PROP_cfg | PROP_referenced_vars, or is there something else going on here?

var_ann is null because you are trying to insert your pass before the annotations are set up.
Move your pass so it is after pass_referenced_vars, at the least.


Sincerely,
Sean Callanan



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