From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8125 invoked by alias); 16 Jul 2004 13:38:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 8105 invoked by uid 48); 16 Jul 2004 13:38:20 -0000 Date: Fri, 16 Jul 2004 13:38:00 -0000 Message-ID: <20040716133820.8104.qmail@sourceware.org> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040716071005.16586.ned@bike-nomad.com> References: <20040716071005.16586.ned@bike-nomad.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug rtl-optimization/16586] [3.3/3.4 Regression] -O3 -fno-gcse ICE verify_local_live_at_start flow.c:575 X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg02006.txt.bz2 List-Id: ------- Additional Comments From bangerth at dealii dot org 2004-07-16 13:38 ------- Confirmed. In fact, with the following snippet I can also crash 3.4, so it doesn't seem to be fixed there but only papered over: ---------------- struct Ptrs { int (*ptr1)(int offset); int (*ptr2)(); } * ptrs; static int ** state; int foo(int stackIndex) { int *p; int sz; int objOop; int i; int **pp; ptrs->ptr1(stackIndex); if (ptrs->ptr2()) { return 0; } if (!((ptrs->ptr2()) == 0)) { return 0; } sz = ptrs->ptr2(); if (sz > 1) return 0; pp = state; for (i = 0; i <= sz-1; ++i) { objOop = ptrs->ptr1(0); if (!ptrs->ptr2()) return 0; *p = objOop; pp[i] = p; } } -------------------------- g/x> /home/bangerth/bin/gcc-3.3.4-pre/bin/gcc -O3 -c -fno-gcse x.i x.i: In function `foo': x.i:33: internal compiler error: in verify_local_live_at_start, at flow.c:575 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. g/x> g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -O3 -c -fno-gcse x.i x.i: In function `foo': x.i:33: internal compiler error: in verify_local_live_at_start, at flow.c:546 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. W. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Known to work|3.4.0 3.5.0 3.0.4 |3.5.0 3.0.4 Last reconfirmed|0000-00-00 00:00:00 |2004-07-16 13:38:19 date| | Summary|[3.3 Regression] -O3 -fno- |[3.3/3.4 Regression] -O3 - |gcse ICE |fno-gcse ICE |verify_local_live_at_start |verify_local_live_at_start |flow.c:575 |flow.c:575 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16586