From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2057 invoked by alias); 30 Mar 2003 21:38:56 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 2038 invoked by uid 48); 30 Mar 2003 21:38:55 -0000 Date: Sun, 30 Mar 2003 21:59:00 -0000 Message-ID: <20030330213855.2037.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, skavenr@linuxmail.org From: ehrhardt@mathematik.uni-ulm.de Reply-To: ehrhardt@mathematik.uni-ulm.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, skavenr@linuxmail.org, gcc-gnats@gcc.gnu.org Subject: Re: middle-end/10262: cc1plus crashes with large generated code X-SW-Source: 2003-03/txt/msg02074.txt.bz2 List-Id: 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(sp) = (sp[0]); return false; } -------------------------- cut -------------------------- regards Christian http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10262