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 optimization/11373] asm generated lhs expressions are discarded


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at physics dot uc dot edu  2003-06-29 14:51 -------
Here is a sample without the inlining:
void h()
{
        int *t;
        __asm__(".byte 0x64\n\tmovl (0x18),%0" : "=r" (t));
        *t = 0;
}

The store is not dead code but it is mark as so.


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