middle-end/10262: cc1plus crashes with large generated code

ehrhardt@mathematik.uni-ulm.de ehrhardt@mathematik.uni-ulm.de
Mon Mar 31 01:24:00 GMT 2003


Synopsis: cc1plus crashes with large generated code

State-Changed-From-To: open->analyzed
State-Changed-By: cae
State-Changed-When: Sun Mar 30 21:38:55 2003
State-Changed-Why:
    Confirmed on 3.2, appears to be fixed with 3.4. A reduced testcase
    is this:
    -------------------------- cut --------------------------
    static const char* ip;
    static unsigned long* sp;
    static const char** rs;
    bool
    run(long max_opcodes_to_do)
    {
        void* me_ptr;
    opcode_counter:
        goto *ip;
        *rs++ = (char*)&&l77m; l77m:
        *rs++ = (char*)&&l102m; l102m:
        ip = (char*)&&l155c; goto opcode_counter; l155c:
        *reinterpret_cast<float*>(sp) = (sp[0]);
        return false;
    }
    -------------------------- cut --------------------------
    
       regards  Christian
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10262



More information about the Gcc-bugs mailing list