[Bug inline-asm/24751] ARM : poor register allocation around inline assembler

2005-11-08 Thread ian at airs dot com
--- Comment #4 from ian at airs dot com 2005-11-09 06:08 --- Not a bug. -- ian at airs dot com changed: What|Removed |Added Status|WAITING

[Bug inline-asm/24751] ARM : poor register allocation around inline assembler

2005-11-08 Thread armcc2000 at yahoo dot com
--- Comment #3 from armcc2000 at yahoo dot com 2005-11-09 05:56 --- Yes, I think you're absolutely correct. You've also just explained a bug I've been staring at all day ;-) Reading action->dev_id was causing a segfault and I couldn't understand why r0 and r7 in the resulting register

[Bug inline-asm/24751] ARM : poor register allocation around inline assembler

2005-11-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-09 05:25 --- Actually I don't think this is a bug: ldr r1, [r4, #16] <--- action->dev_id mov r0, r7 <- irq mov r2, r8 <- regs mov lr, pc Call act

[Bug inline-asm/24751] ARM : poor register allocation around inline assembler

2005-11-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-09 05:17 --- Do you have a self contained example? I think what you are seeing is a different artifact of a different issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24751