------- Comment #3 from rbuergel at web dot de 2008-09-17 18:46 ------- > The second constraint should be using "b" instead of "r" as b says > don't use r0. Is this documented anywhere? The gcc manual says "r" means "any general purpose register" and "b" means "Address base register". Any Documentation (for example http://developer.apple.com/documentation/DeveloperTools/Reference/Assembler/PPCInstructions/chapter_6_section_2.html ) i've found, lists r0-r31 as general purpose registers.
Anyway, ignoring this point, you seem to be right. I remember 4.3.1 using r6 instead of r0, probably that's why it works. Unfortunately, i can't check your suggestion until monday, when i'm back at work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37562