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]

tree-SSA and indirect references.


Hi,
I re-tested my patch to elliminate addressof and noticed that there is
still noticeable regression on Gerald's testcase (but not on GCC
components test).  I modified addressof code to output variables that
were kept in registers and was looking back for the dumps.  There seems
to be common pattern of:

vara=(type *)&varb;
varc=*vara;

this is common for small aggregate casts that can stay in registers
after compiling.  What is our strategy to deal with this?  Is the
testcase gimple at first case and would be valid to turn it into
varc=(type)varb
for aggregates?  NOP expander seems to do right thing, but I am not sure
it is best idea.

Honza


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