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]

Wierdness in make_memloc in reload.c


This function has an arg AD, which is not documented.  From the name,
one would think it's an address, but the only thing done with it is to take
its mode and use that as the mode for the resulting memref.  That
makes no sense if indeed it's an address.

Indeed, it appears that most, but not all, of the time it is indeed called
with an address.  But at least once it isn't.  And one time, PUT_MODE is
called on the resulting memref, which also makes no sense.

So something is going on here.

This is not new: it's been this way since at least 2.8.1.


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