This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: middle-end/10262: cc1plus crashes with large generated code
- From: ehrhardt at mathematik dot uni-ulm dot de
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, skavenr at linuxmail dot org
- Date: 30 Mar 2003 21:38:55 -0000
- Subject: Re: middle-end/10262: cc1plus crashes with large generated code
- Reply-to: ehrhardt at mathematik dot uni-ulm dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, skavenr at linuxmail dot org, gcc-gnats at gcc dot gnu dot org
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