public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/58285] ICE in lto_output_tree, at lto-streamer-out.c:1318 Date: Fri, 30 Aug 2013 22:12:00 -0000 [thread overview] Message-ID: <bug-58285-4-x6S6rRPqi1@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-58285-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58285 Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> --- It is because following condition: if (CODE_CONTAINS_STRUCT (code, TS_DECL_MINIMAL)) { /* Drop names that were created for anonymous entities. */ if (DECL_NAME (expr) && TREE_CODE (DECL_NAME (expr)) == IDENTIFIER_NODE && ANON_AGGRNAME_P (DECL_NAME (expr))) ; else DFS_follow_tree_edge (DECL_NAME (expr)); DFS_follow_tree_edge (DECL_CONTEXT (expr)); } disaggree with: static void write_ts_decl_minimal_tree_pointers (struct output_block *ob, tree expr, bool ref_p) { /* Drop names that were created for anonymous entities. */ if (DECL_NAME (expr) && TREE_CODE (DECL_NAME (expr)) == IDENTIFIER_NODE && ANON_AGGRNAME_P (DECL_NAME (expr))) stream_write_tree (ob, NULL_TREE, ref_p); else stream_write_tree (ob, DECL_NAME (expr), ref_p); stream_write_tree (ob, DECL_CONTEXT (expr), ref_p); } the name is $_1 that is anon, but once we miss the fact. I ust be blind, but do not see how.
next prev parent reply other threads:[~2013-08-30 22:12 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-08-30 22:08 [Bug lto/58285] New: " jan.smets@alcatel-lucent.com 2013-08-30 22:12 ` hubicka at gcc dot gnu.org [this message] 2013-09-02 11:11 ` [Bug lto/58285] " rguenth at gcc dot gnu.org 2013-09-03 9:00 ` jan.smets@alcatel-lucent.com 2013-09-03 9:35 ` rguenth at gcc dot gnu.org 2013-09-03 9:48 ` rguenth at gcc dot gnu.org 2013-09-03 9:48 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-58285-4-x6S6rRPqi1@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).