Paul Koning <paul_kon...@dell.com> writes: > What triggered the question is that I'm trying to debug a testsuite > ICE in fortran, pdp11 target, where it aborts in > convert_memory_address_addr_space apparently trying to make a 32 bit > pointer. But only 16 bit pointers are valid, ptr_mode is HImode as > expected and as far as I can tell from gccint everything is set up > correctly for that to be the only pointer type. I don't have > TARGET_VALID_POINTER_MODE defined and from what the documentation says > it doesn't seem like I have to. So where should I look to find an > explanation for why the fortran compiler is trying to make an SImode > pointer?
This should not happen and I agree that TARGET_VALID_POINTER_MODE is irrelevant here. This sounds like a bug somewhere but I don't know here. In the absence of additional information, like which test case is failing, all I can advise is to debug it to find out where the invalid pointer mode is coming from. Ian