[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help on assembler messages.
From: |
Hon Seng Phuah |
Subject: |
Re: Help on assembler messages. |
Date: |
15 Oct 2004 00:38:55 -0700 |
Thanks for your reply. My C++ program only contains one main function.
I can't make the program smaller as I can't reproduce the error. Are
there any other way to locate the compiler bug?
-HS
Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote in message
news:<m3k6tsg5z9.fsf@salmon.parasoft.com>...
> hsphuah@usa.com (Hon Seng Phuah) writes:
>
> > /var/tmp//ccLY1WEv.s:6744: Error: Field out of range [-262144..262143]
>
> Apparently there is a bug in gcc code generation: it wrote an
> invalid assembly instruction, and your assemble refused to
> compile it.
>
> You need to create a reduced test case, and submit a bug report to
> gcc maintainers.
>
> Begin by compiling your code to assembly:
> g++ -S rf1r1w6tnet.cc
> g++ -c rf1r1w6tnet.s # should report the same as error
>
> Now you can look inside rf1r1w6tnet.s and find out which function
> is mis-compiled.
>
> Cheers,