------- Comment #10 from jvdelisle at gcc dot gnu dot org 2007-11-19 01:22 ------- I found the problem. We key off of the kind of shift to determine which version of the runtime to resolve to. In your test case, shift is kind=4 so we load in the cshift0_4 instead of the cshift0_8 version of cshift. It shows up because of endianess on PPC.
I was able to reproduce this on ppc linux. Regardless, I will work up a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33317