Summary: | [3.2 regression] cc1plus crashes with large generated code | ||
---|---|---|---|
Product: | gcc | Reporter: | skavenr |
Component: | middle-end | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bangerth, ehrhardt, gcc-bugs, jbuck |
Priority: | P3 | Keywords: | ice-on-valid-code |
Version: | 3.2.2 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | ||
Attachments: | genhvmmain.ii.bz2 |
Description
skavenr
2003-03-29 02:36:00 UTC
State-Changed-From-To: open->analyzed 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 From: Wolfgang Bangerth <bangerth@ices.utexas.edu> To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: middle-end/10262 Date: Mon, 31 Mar 2003 09:47:29 -0600 (CST) This is actually a regression in 3.2 w.r.t. 3.0. Present mainline and 3.3 are not affected. W. ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth/ State-Changed-From-To: analyzed->closed State-Changed-Why: Fixed for 3.3. |