From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15934 invoked by alias); 13 Mar 2007 21:46:21 -0000 Received: (qmail 15898 invoked by alias); 13 Mar 2007 21:46:09 -0000 Date: Tue, 13 Mar 2007 21:46:00 -0000 Message-ID: <20070313214609.15897.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/30108] [4.0/4.1 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mark at codesourcery dot com" 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: 2007-03/txt/msg01216.txt.bz2 ------- Comment #15 from mark at codesourcery dot com 2007-03-13 21:46 ------- Subject: Re: [4.0/4.1 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890 pinskia at gcc dot gnu dot org wrote: > ------- Comment #14 from pinskia at gcc dot gnu dot org 2007-03-13 21:40 ------- > (In reply to comment #13) >> I think this patch causes the regression reported in PR 31165. copy_node is >> incorrect as it will even copy decls, I think copy_node should be replaced with >> unshare_expr instead. > > A quick run with that change, fixes 31165. Thanks for that testing. That patch is pre-approved. If you don't want to handle it, let me know, and I will do it. Thanks, -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30108