Re: [PATCH] (PR86989)

2018-09-12 Thread Segher Boessenkool
On Fri, Aug 24, 2018 at 10:44:22AM +, Segher Boessenkool wrote: > There currently is nothing that prevents replacing the TOC_REGISTER in > a TOCREL unspec with something else, like a pseudo, or a memory ref. > This of course does not work. Fix that. I backported this to 7 and 8 now. Segher

[PATCH] (PR86989)

2018-08-24 Thread Segher Boessenkool
There currently is nothing that prevents replacing the TOC_REGISTER in a TOCREL unspec with something else, like a pseudo, or a memory ref. This of course does not work. Fix that. Tested on powerpc64-linux {-m32,-m64}; committing. Segher 2018-08-24 Segher Boessenkool PR target/869