Bad assembly output from g++, 2.95.2

Jakob Østergaard jakob@ostenfeld.dtu.dk
Tue Jun 27 13:33:00 GMT 2000


Hi all.

I'm seing a strange error:

{standard input}: Assembler messages:
{standard input}:19784: Error: Rest of line ignored. First ignored character valued 0x2.
{standard input}:19789: Error: invalid character (0xffffff8c) in mnemonic
{standard input}:19847: Error: Rest of line ignored. First ignored character is `0'.

It occurs when compiling with -mcpu=i386 and -mcpu=i586, but not with -mcpu=i486.

The assembly output would looke along the lines of:
-----------[snip]---------------------
        movl 12(%ebp),%edx
        movl 8(%ebp),%esi
#APP
        ^B
#NO_APP
        movl 4(%ecx),%eax
        addl $-4,%esp
#APP
        <8C>~<95rorw $8,_
#NO_APP
        movl %eax,12(%ebp)
        movl %edx,4(%ecx)
----------------[snip]----------------

I was just wondering if this would ring a bell to anyone.  I don't have a small
test-case to provoke the error (yet), I just wanted to hear whether someone could
say ``it's fixed in 2.96'' or something along those lines.

By the way, the most stable C++ compiler yet, would that be 2.96, or still 2.95.2 ?

Thank you very much
  (versions of g++ and as below)


[joe@phoenix joe]$ g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)
[joe@phoenix joe]$ as -V
GNU assembler version 2.9.5 (i386-redhat-linux) using BFD version 2.9.5.0.22

-- 
................................................................
: jakob@ostenfeld.dtu.dk  : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:


More information about the Gcc-bugs mailing list