From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5388 invoked by alias); 4 May 2012 08:18:53 -0000 Received: (qmail 5362 invoked by uid 22791); 4 May 2012 08:18:48 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED 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; Fri, 04 May 2012 08:18:24 +0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build Date: Fri, 04 May 2012 08:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 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" MIME-Version: 1.0 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: 2012-05/txt/msg00378.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602 --- Comment #18 from rguenther at suse dot de 2012-05-04 08:17:57 UTC --- On Thu, 3 May 2012, andi-gcc at firstfloor dot org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602 > > --- Comment #17 from Andi Kleen 2012-05-03 14:57:13 UTC --- > Hmm, my assumption was always that this option would be passed through and then > used by lto1 step. That's true for other -f* options at least. No, we do /* The following does what the old LTO option code did, union all target and a selected set of common options. */ for (i = 0; i < fdecoded_options_count; ++i) { struct cl_decoded_option *foption = &fdecoded_options[i]; switch (foption->opt_index) { default: if (!(cl_options[foption->opt_index].flags & CL_TARGET)) break; thus only pass through all target options and the explicitely listed set of common options.