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: fix incorrect SRA transformation on non-integral VIEW_CONVERT argument


On Apr 30, 2012, at 16:18 , Olivier Hainque wrote:
>> Can you formally relate those three representations and tell me why
>> VIEW_CONVERT_EXPR is useful (not only convenient because of less operands)
>> to use on lvalues (thus memory, compared to registers or constants)?
> 
> I have ideas on how they are supposed to relate (corresponding to your
> intuitive understanding, what is documented), but MEM_REF and BIT_FIELD_REF
> were introduced much more recently though, so I'm pretty sure that there are
> details that escape me.

 One area of potential difference came to mind yesterday: regarding the
 processing of type alignment differences. VCE to more aligned (of the
 same size) would make a temp copy to yield a correctly aligned object.

 Would MEM_REF do that as well ?


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