public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/63911] New: ICE: xpected tree that contains 'decl common' structure, have 'identifier_node' in dump_aggr_type, at cp/error.c:650 with -fdump-ipa-all -fsanitize=return Date: Mon, 17 Nov 2014 11:17:00 -0000 [thread overview] Message-ID: <bug-63911-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63911 Bug ID: 63911 Summary: ICE: xpected tree that contains 'decl common' structure, have 'identifier_node' in dump_aggr_type, at cp/error.c:650 with -fdump-ipa-all -fsanitize=return Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Created attachment 34000 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34000&action=edit reduced testcase Compiler output: $ gcc -fdump-ipa-all -fsanitize=return testcase.C cc1plus: internal compiler error: tree check: expected tree that contains 'decl common' structure, have 'identifier_node' in dump_aggr_type, at cp/error.c:650 0x10730e4 tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*) /mnt/svn/gcc-trunk/gcc/tree.c:9365 0x78829a contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*) /mnt/svn/gcc-trunk/gcc/tree.h:2871 0x78829a dump_aggr_type /mnt/svn/gcc-trunk/gcc/cp/error.c:650 0x78848c dump_type_prefix /mnt/svn/gcc-trunk/gcc/cp/error.c:819 0x78a3f6 dump_simple_decl /mnt/svn/gcc-trunk/gcc/cp/error.c:971 0x78a894 dump_decl /mnt/svn/gcc-trunk/gcc/cp/error.c:1072 0x7945b5 decl_as_string(tree_node*, int) /mnt/svn/gcc-trunk/gcc/cp/error.c:2787 0x9a182a symtab_node::dump_references(_IO_FILE*) /mnt/svn/gcc-trunk/gcc/symtab.c:701 0x9a1df1 symtab_node::dump_base(_IO_FILE*) /mnt/svn/gcc-trunk/gcc/symtab.c:887 0x9a8cd2 cgraph_node::dump(_IO_FILE*) /mnt/svn/gcc-trunk/gcc/cgraph.c:1956 0x9a24ea symtab_node::dump_table(_IO_FILE*) /mnt/svn/gcc-trunk/gcc/symtab.c:914 0x9b6836 analyze_functions /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1057 0x9b6fc5 symbol_table::finalize_compilation_unit() /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2333 0x786849 cp_write_global_declarations() /mnt/svn/gcc-trunk/gcc/cp/decl2.c:4677 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r217624 - ICE 4_9 r216937 - ICE 4_8 r216856 - unrecognized command line option '-fsanitize=return'
next reply other threads:[~2014-11-17 11:17 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-11-17 11:17 zsojka at seznam dot cz [this message] 2014-11-17 12:55 ` [Bug sanitizer/63911] " mpolacek 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-63911-4@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).