public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/14389] Out-of-line of overloaded template rejected Date: Tue, 02 Mar 2004 20:25:00 -0000 [thread overview] Message-ID: <20040302202501.16194.qmail@sources.redhat.com> (raw) In-Reply-To: <20040302191442.14389.fasbjx@free.fr> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-02 20:24 ------- And here is the backtrace for the tree-ssa: #0 0x9002c878 in exit () #1 0x002b5560 in diagnostic_report_diagnostic (context=0x2b5560, diagnostic=0x27f464) at / Users/pinskia/src/gcc-tree-ssa/gcc/gcc/diagnostic.c:360 #2 0x002b5560 in diagnostic_report_diagnostic (context=0x9d7ad0, diagnostic=0xbfffefc0) at / Users/pinskia/src/gcc-tree-ssa/gcc/gcc/diagnostic.c:360 #3 0x002b5bf8 in internal_error (msgid=0x8be3f0 "tree check: accessed elt %d of tree_vec with %d elts in %s, at %s:%d") at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/diagnostic.c:538 #4 0x0028bb1c in tree_vec_elt_check_failed (idx=1, len=1, file=0x8a4ae0 "/Users/pinskia/src/gcc- tree-ssa/gcc/gcc/cp/pt.c", line=6729, function=0x8a6254 "tsubst") at /Users/pinskia/src/gcc-tree- ssa/gcc/gcc/tree.c:4929 #5 0x0009b290 in tsubst (t=0x41772934, args=0x41774060, complain=tf_error, in_decl=0x41770174) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:6729 #6 0x000934dc in tsubst_template_arg (t=0x41772934, args=0x41774060, complain=tf_error, in_decl=0x41770174) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:5684 #7 0x00093780 in tsubst_template_args (t=0x416bbdc0, args=0x41774060, complain=tf_error, in_decl=0x41770174) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:5735 #8 0x00096cec in tsubst_decl (t=0x41770174, args=0x41774060, type=0x4176ed14, complain=tf_error) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:6080 #9 0x0009a244 in tsubst (t=0x41770174, args=0x41774060, complain=tf_error, in_decl=0x4177026c) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:6634 #10 0x000acb94 in instantiate_template (tmpl=0x4177026c, targ_ptr=0x41774060, complain=tf_error) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:8697 #11 0x00076568 in check_explicit_specialization (declarator=0x416a84ec, decl=0x41772d90, template_count=0, flags=0) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:1901 #12 0x00041fb0 in grokfndecl (ctype=0x4176e744, type=0x4176ed14, declarator=0x4176fd40, orig_declarator=0x416a84ec, virtualp=0, flags=NO_SPECIAL, quals=0x0, raises=0x0, check=1, friendp=0, publicp=1, inlinep=0, funcdef_flag=0, template_count=0, in_namespace=0x0) at /Users/ pinskia/src/gcc-tree-ssa/gcc/gcc/cp/decl.c:5684 #13 0x0004e8bc in grokdeclarator (declarator=0x416a84ec, declspecs=0x41769f78, decl_context=NORMAL, initialized=0, attrlist=0x0) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/ decl.c:8345 #14 0x00132f14 in cp_parser_explicit_instantiation (parser=0x4176e6c8) at /Users/pinskia/src/gcc- tree-ssa/gcc/gcc/cp/parser.c:8681 #15 0x0012f4a8 in cp_parser_declaration (parser=0x4176e6c8) at /Users/pinskia/src/gcc-tree-ssa/ gcc/gcc/cp/parser.c:6444 #16 0x0012f318 in cp_parser_declaration_seq_opt (parser=0x4176e6c8) at /Users/pinskia/src/gcc- tree-ssa/gcc/gcc/cp/parser.c:6382 #17 0x001290a4 in cp_parser_translation_unit (parser=0x4176e6c8) at /Users/pinskia/src/gcc-tree- ssa/gcc/gcc/cp/parser.c:2383 #18 0x00140a70 in c_parse_file () at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/parser.c:15370 #19 0x00252218 in c_common_parse_file (set_yydebug=0) at /Users/pinskia/src/gcc-tree-ssa/gcc/ gcc/c-opts.c:1234 #20 0x002ae750 in compile_file () at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/toplev.c:1869 #21 0x002b47e4 in do_compile () at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/toplev.c:4570 #22 0x002b48c8 in toplev_main (argc=2, argv=0xbffffca0) at /Users/pinskia/src/gcc-tree-ssa/gcc/ gcc/toplev.c:4610 #23 0x00269da0 in main (argc=2, argv=0xbffffca0) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/ main.c:35 -- What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal Keywords| |ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14389
next prev parent reply other threads:[~2004-03-02 20:25 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-03-02 19:14 [Bug c++/14389] New: Can't define inline overloaded template function members out of their class gcc-bugzilla at gcc dot gnu dot org 2004-03-02 19:49 ` [Bug c++/14389] " bangerth at dealii dot org 2004-03-02 19:52 ` [Bug c++/14389] Out-of-line of overloaded template rejected bangerth at dealii dot org 2004-03-02 20:25 ` pinskia at gcc dot gnu dot org [this message] 2004-03-03 13:44 ` giovannibajo at libero dot it 2004-03-03 13:44 ` giovannibajo at libero dot it 2004-03-03 17:07 ` giovannibajo at libero dot it 2004-03-03 18:26 ` giovannibajo at libero dot it 2004-05-03 10:11 ` cvs-commit at gcc dot gnu dot org 2004-05-03 10:16 ` giovannibajo at libero dot it
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=20040302202501.16194.qmail@sources.redhat.com \ --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).