From: Martin Stromberg Message-Id: <199909091439.QAA20898@propus.lu.erisoft.se> Subject: Re: gcc-2.95 To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS) Date: Thu, 9 Sep 1999 16:39:00 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Andris said: > ------------------ assembler code generated by gcc-2.95 > leal -16(%ecx),%ebx > movl $-1,%eax > leal 8(%ebx),%edx > /APP > .byte 0xf0, 0x0f, 0xc1, 0x02 > /NO_APP > cmpl $1,%eax > jne L712 > ------------------------- what I'm getting from objdump ----------------------- > 4f7: b8 ff ff ff ff movl $0xffffffff,%eax > 4fc: 8d 53 08 leal 0x8(%ebx),%edx > 4ff: f0 0f c1 02 lock xaddl %eax,(%edx) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This command is valid for i486++ > 503: 83 f8 01 cmpl $0x1,%eax > 506: 75 34 jne 53c > <_replace__t12basic_string3ZcZt18string_char_traits1ZcZt24__defaul > t_alloc_template2b0i0UlUlPCcUl+0x1e4> Any chance of identifying the C++ source that causes this to be generated? Lush, Split, MartinS