From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21435 invoked by alias); 20 Jan 2014 09:34:36 -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 Received: (qmail 21414 invoked by uid 48); 20 Jan 2014 09:34:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/55113] ICE with LTO and -fshort-double Date: Mon, 20 Jan 2014 09:34: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-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg02118.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55113 --- Comment #11 from Richard Biener --- If double_type_node is FE dependent then it needs treatment in tree-streamer.c:preload_common_nodes: static void preload_common_nodes (struct streamer_tree_cache_d *cache) { unsigned i; for (i = 0; i < itk_none; i++) /* Skip itk_char. char_type_node is dependent on -f[un]signed-char. */ if (i != itk_char) record_common_node (cache, integer_types[i]); for (i = 0; i < stk_type_kind_last; i++) record_common_node (cache, sizetype_tab[i]); for (i = 0; i < TI_MAX; i++) /* Skip boolean type and constants, they are frontend dependent. */ if (i != TI_BOOLEAN_TYPE && i != TI_BOOLEAN_FALSE && i != TI_BOOLEAN_TRUE) record_common_node (cache, global_trees[i]); }