public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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
@ 2014-11-17 11:17 zsojka at seznam dot cz
  2014-11-17 12:55 ` [Bug sanitizer/63911] " mpolacek at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: zsojka at seznam dot cz @ 2014-11-17 11:17 UTC (permalink / raw)
  To: gcc-bugs

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'


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug sanitizer/63911] 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
  2014-11-17 11:17 [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 zsojka at seznam dot cz
@ 2014-11-17 12:55 ` mpolacek at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-11-17 12:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63911

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Dup.  I posted a patch for this on Friday:
https://gcc.gnu.org/ml/gcc-patches/2014-11/msg01851.html

*** This bug has been marked as a duplicate of bug 63866 ***


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-17 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-17 11:17 [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 zsojka at seznam dot cz
2014-11-17 12:55 ` [Bug sanitizer/63911] " mpolacek at gcc dot gnu.org

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).