[Bug inline-asm/18450] Wrong code generated by gcc from inline assembler

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 12 12:46:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-12 12:46 -------
Since the asm is not violate or have outputs which are used they are removed, this is not a bug:
  asm("	pushf\n"
      " orl %0, (%%esp)\n"
      "	popf\n"
      : : "i" (0x00040000));

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   GCC host triplet|i386-portbld-freebsd5.1     |i386-portbld-freebsd5.1
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list