> I modified CANNOT_CHANGE_MODE_CLASS as you suggested. But strange as it > may seem, it has no effect on such a reload, and I can't find a way to > make it work...
The macro is mainly used by the RA, not clear for reload. > BTW, has this bug already been filed? In its general form, I'm not sure. It only occurs for register files that are somewhat irregular, and on big-endian, so this is very specific. > Do you have an idea how deep is this bug in the reload, how complex it > is and which part in the reload it is related to? It's the RA and reload, at least. I guess this should be reasonably fixable by specialists, but there probably has been a lack of real incentive to do so. -- Eric Botcazou