This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/24922] gcc -O2 removes important instruction for ASM
- 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: 17 Nov 2005 20:05:53 -0000
- Subject: [Bug rtl-optimization/24922] gcc -O2 removes important instruction for ASM
- References: <bug-24922-11732@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-17 20:05 -------
Count is already in ecx so why should GCC move again count to the ecx register.
Your inline-asm does not tell GCC that ecx is touched which is why GCC is
removing the move.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24922