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]

Re: Fix ivopts address space confusion


On 08/07/2014 09:50 PM, Bernd Schmidt wrote:
The following patch reworks this area - instead of trying to find a
proper pointer type, it just recognizes the case where an integer is
promoted to be the base, and performs all calculations in that type
rather than sizetype. That also seems to be an additional bugfix over
the original change, which could still lose address bits in the index.
I've verified that this produces the same assembly for the original
testcase on spu-elf with the gcc-4_5-branch, and it solves the problems
I was seeing on ptx.

Argh, not quite. It fixes one class of testcases, but also introduces some new failures. New patch tomorrow or so.


Bernd


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