From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21033 invoked by alias); 28 Apr 2011 17:42:05 -0000 Received: (qmail 20961 invoked by uid 22791); 28 Apr 2011 17:42:04 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Apr 2011 17:41:50 +0000 From: "dnovillo at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/40975] [4.3/4.4/4.5/4.6 Regression] ICE in copy_tree_r on array new X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: major X-Bugzilla-Who: dnovillo at google dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.3.6 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Thu, 28 Apr 2011 17:42:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg03017.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D40975 --- Comment #8 from dnovillo at google dot com = 2011-04-28 17:37:29 UTC --- On Thu, Apr 28, 2011 at 13:01, jason at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D40975 > > Jason Merrill changed: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 What =C2=A0 =C2=A0|Removed =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |Added > -------------------------------------------------------------------------= --- > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 CC| =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0|dnovillo at gcc dot gnu.org > > --- Comment #7 from Jason Merrill 2011-04-28 1= 5:57:06 UTC --- > This was broken by the tree-ssa merge, r81764, which introduced STATEMENT= _LIST > and caused copy_tree_r to abort on it. =C2=A0Diego, do you happen to reme= mber the > rationale for that? =C2=A0Why can't we copy a STATEMENT_LIST in a > statement-expression? Oh, boy. Sorry. I do not remember why we added that assertion. It may have been to avoid recursing twice, since copy_tree_r is typically called to copy individual statements in a list. So, we never expected to find STATEMENT_LISTs inside a single statement. This may be largely unnecessary now. Diego. > > -- > Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=3Demail > ------- You are receiving this mail because: ------- > You are on the CC list for the bug. >