This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug inline-asm/34177] Inline assembly uses wrong register



------- Comment #7 from pinskia at gcc dot gnu dot org  2007-11-21 20:42 -------
Oh you are not storing to RunTsk but to r25 so your constraints are incorrect
still.
Try:
asm volatile("mov       r25, %0" : : "r" (RunTsk):"r25");

This still makes the bug invalid.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34177


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]