[PATCH] Fix i?86 pic thunk generation (PR target/60568)

2014-03-20 Thread Jakub Jelinek
Hi! With -flto -fpic -m32 sometimes (unfortunately the testcase provided was in form of *.o file with LTO bytecode, so can't be reduced), if the thunk target doesn't bind locally we get ICE because we can't recog what x86_output_mi_thunk creates. The problem is that it doesn't put UNSPEC_GOT

Re: [PATCH] Fix i?86 pic thunk generation (PR target/60568)

2014-03-20 Thread Uros Bizjak
On Thu, Mar 20, 2014 at 10:05 AM, Jakub Jelinek ja...@redhat.com wrote: With -flto -fpic -m32 sometimes (unfortunately the testcase provided was in form of *.o file with LTO bytecode, so can't be reduced), if the thunk target doesn't bind locally we get ICE because we can't recog what