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] | |
At 3:46 PM -0700 6/13/02, Geoff Keating wrote:
No. There's ONE place where we have to call with a NULL, and that's in find_reloads() where we're looking at an operand that has a "p" constraint. In this case, there's no MEM to provide is with something to hold the modified RTX if we allowed LEGITIMIZE_RELOAD_ADDRESS to do its transformations.Alan Lehotsky <apl@alum.mit.edu> writes:I originally submitted this on 5/31, since then, I've bootstrapped and regression tested it on SPARC Solaris 2.8, and built and tested a powerpc-apple-darwin5.5 compiler with the patch. Things appear to work just fine in all cases.The patch is OK. Is the patch supposed to ensure that find_reloads_address always gets called with a non-NULL second parameter?
Nope. Can't do it, unfortunately. EVERY other call now guarantees that we pass the address of a MEM that will appear in the tree (so that the transformed address is the one that gets emitted), but the callIf so, can you make another patch that removes all the tests for memloc being NULL in find_reloads_address, especially the one around the use of LEGITIMIZE_RELOAD_ADDRESS?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |