On Sat, 2012-10-13 at 17:33 +0800, Chung-Lin Tang wrote: > On 2012/10/12 06:55 AM, Oleg Endo wrote: > > This broke the recently added thread pointer built-ins on SH, but I was > > prepared for that, so no problem here. The attached patch is a straight > > forward fix. > > > > However, with the patch applied I get an ICE on one of the SH thread > > pointer tests: gcc/testsuite/gcc.target/sh/pr54760-3.c, function > > test04: > > > > internal compiler error: in expand_insn, at optabs.c:8208 > > __builtin_set_thread_pointer (xx[i]); > > Looks like I was supposed to use create_input_operand() there instead. > I've committed the attached patch as obvious. This should be fixed now.
Yep, confirmed. Thanks! Cheers, Oleg