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: [PATCH] no lowering of &a.b (and &a->b) in the C front-end


    -	      while (TREE_CODE_CLASS (TREE_CODE (inner)) == 'r')
    +	      while (TREE_CODE_CLASS (TREE_CODE (inner)) == 'r'
    +	             && TREE_CODE (inner) != INDIRECT_REF)
      		inner = TREE_OPERAND (inner, 0);

This sort of thing, by the way, is why I think it would be good to 
remove INDIRECT_REF from class 'r'.

Note that if we do that and teach get_inner_reference about REALPART_EXPR
and INAGPART_EXPR, handled_component_p becomes just a test on class 'r'.


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