--- Comment #4 from hunterggl at gmail dot com 2009-07-02 17:46 ---
(In reply to comment #3)
> For both mulscale and divscale you have ecx as an input register but nothing
> marks it as being modified so GCC does not know that. It does not read the
> template string to figure
--- Comment #2 from hunterggl at gmail dot com 2009-07-02 16:39 ---
Created an attachment (id=18123)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18123&action=view)
Comparison of asm
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40621
--- Comment #1 from hunterggl at gmail dot com 2009-07-02 16:38 ---
Created an attachment (id=18122)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18122&action=view)
Test file
This a small fragment of code that causes problems
--
http://gcc.gnu.org/bugzilla/show_bug
")
with putch(' ').
--
Summary: GCC doesn't take into account ECX being modified inside
inline assembler
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hunterggl at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40621