This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29415] [4.2] bad code reordering around inline asm block
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2006 16:46:34 -0000
- Subject: [Bug tree-optimization/29415] [4.2] bad code reordering around inline asm block
- References: <bug-29415-10561@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-10 16:46 -------
__asm __volatile ( "call *_dl_sysinfo\n\t" : "=a" (__status) : "0" (240), "b"
(&mutex->__data.__lock), "S" (0), "c" (0), "d" (_val), "i" (__builtin_offsetof
(tcbhead_t, sysinfo)) : "memory");
I think what you are doing here is invalid, you cannot change the control flow
via an inline-asm.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29415