Unrecognized insn internal error in egcs 1.1.2

george@moberg.com george@moberg.com
Mon Aug 2 09:04:00 GMT 1999


OK, I'm pulling my hair out.  1.1.2 is giving me this weird error on Linux IA32
while compiling a C++ program.  Should I update to 2.95?

If you reply, please CC me as I get the digest.

Thanks.


Here's my command line:

eg_g++ -g -c -Wall -ansi -pedantic  -O2 -DNDEBUG -I.
-I/usr/local/libmrc/include -I../../common -Itransforms -D_GNU_SOURCE
-D_REENTRANT -DPLATFORM_LINUX=1 -DEXPORT= -fno-implicit-templates
-fnew-exceptions -fasynchronous-exceptions -fvtable-thunks -fexceptions




Here's the weird error:

TransformConnectionComponent.cpp -o TransformConnectionComponent.ot
TransformConnectionComponent.cpp: In method
    'void CTransformConnectionComponent::_OpenDataConnection(const char *,
                        const char *)':
TransformConnectionComponent.cpp:178: internal error--unrecognizable insn:
(insn 284 624 286 (set (reg:SI 48)
        (mem/s:SI (plus:SI (mem:SI (reg:SI 88))
                (const_int 12)))) -1 (insn_list 624 (nil))
    (nil))
../../egcs-1.1.2/gcc/toplev.c:1367: Internal compiler error in function
fatal_insn
make: *** [TransformConnectionComponent.ot] Error 1





Here's the relevant code:

        void    CTransformConnectionComponent::_OpenDataConnection(\
                    const char *szDataType, const char * szTarget)
        {
                Address         target(szTarget);
                CAspects        type(szDataType);

                COutputSink     *pOutput = new COutputSink(target, type, *this);

                try
                {
                        m_pOutputTransformations->NewOutput(type, pOutput);
                }
                catch (...)
                {
                        delete pOutput;
                        throw;
                }

                m_Outputs.Add(pOutput);
        }

Line 178 is the closing brace of the function.  Is there something I can do to
provide more information about this error?

---
George T. Talbot
<george@moberg.com>



More information about the Gcc mailing list