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][LTO] Remove all stmt fixup on readin


On 10-07-14 10:15 , Richard Guenther wrote:

This is the first step to a somewhat saner fixup for mismatched decls. Something I promised that will be possible with MEM_REF. So, here it is. The key is to have all possibly conflicting (thus, non-automatic) VAR_DECLs wrapped in a MEM_REF. Something I do not (yet?) enforce for all GIMPLE IL, so just make sure to wrap them during LTO stream output.

Bootstrapped and tested on x86_64-unknown-linux-gnu, SPEC 2k6 build
tested.  Ok?

So, the idea would be that we can now lookup the MEM_REF operand instead of having to rewrite the IL when we stream in?


Shouldn't we need to fixup the type for the MEM_REF?


Diego.



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