public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tbm at cyrius dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/29105] [4.2 Regression] segfault in add_candidates
Date: Sat, 16 Sep 2006 11:56:00 -0000	[thread overview]
Message-ID: <20060916115552.24346.qmail@sourceware.org> (raw)
In-Reply-To: <bug-29105-12387@http.gcc.gnu.org/bugzilla/>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4258 bytes --]



------- Comment #1 from tbm at cyrius dot com  2006-09-16 11:55 -------
Program received signal SIGSEGV, Segmentation fault.
add_candidates (fns=0x2aaaadd4ba20, args=0x0, explicit_targs=0x2aaaafad4b70,
template_only=1 '\001',
    conversion_path=0x0, access_path=0x0, flags=3, candidates=0x7fffffc849e8)
    at gcc-4.2/gcc/cp/call.c:3615
3615                non_static_args = tree_cons (NULL_TREE,
(gdb) where
#0  add_candidates (fns=0x2aaaadd4ba20, args=0x0,
explicit_targs=0x2aaaafad4b70,
    template_only=1 '\001', conversion_path=0x0, access_path=0x0, flags=3,
candidates=0x7fffffc849e8)
    at gcc-4.2/gcc/cp/call.c:3615
#1  0x000000000040ebe4 in perform_overload_resolution (fn=0x2aaaadd4ba20,
args=0x0,
    candidates=0x7fffffc849e8, any_viable_p=0x7fffffc849f7 "\001▒⬯▒*")
    at gcc-4.2/gcc/cp/call.c:2765
#2  0x000000000040efe8 in build_new_function_call (fn=0x2aaaaface2d0, args=0x0,
    koenig_p=<value optimized out>) at gcc-4.2/gcc/cp/call.c:2813
#3  0x00000000004d67cf in finish_call_expr (fn=0x2aaaaface2d0, args=0x0,
disallow_virtual=0 '\0',
    koenig_p=112 'p') at gcc-4.2/gcc/cp/semantics.c:1843
#4  0x0000000000495573 in cp_parser_unary_expression (parser=0x2aaaaaf91be0,
    address_p=<value optimized out>, cast_p=0 '\0') at
gcc-4.2/gcc/cp/parser.c:4341
#5  0x000000000049632e in cp_parser_assignment_expression
(parser=0x2aaaaaf91be0,
    cast_p=<value optimized out>) at gcc-4.2/gcc/cp/parser.c:5606
#6  0x0000000000496e6b in cp_parser_expression (parser=0x2aaaaaf91be0,
cast_p=<value optimized out>)
    at gcc-4.2/gcc/cp/parser.c:5898
#7  0x000000000049775a in cp_parser_expression_statement
(parser=0x2aaaaaf91be0,
    in_statement_expr=0x0) at gcc-4.2/gcc/cp/parser.c:6331
#8  0x0000000000493664 in cp_parser_statement (parser=0x2aaaaaf91be0,
in_statement_expr=0x0,
    in_compound=1 '\001') at gcc-4.2/gcc/cp/parser.c:6210
#9  0x00000000004943c3 in cp_parser_statement_seq_opt (parser=0x2aaaaaf91be0,
in_statement_expr=0x0)
    at gcc-4.2/gcc/cp/parser.c:6398
#10 0x000000000049455c in cp_parser_compound_statement (parser=0x2aaaaaf91be0,
    in_statement_expr=0x0, in_try=<value optimized out>)
    at gcc-4.2/gcc/cp/parser.c:6368
#11 0x00000000004a3807 in cp_parser_ctor_initializer_opt_and_function_body
(parser=0x2aaaaaf91be0)
    at gcc-4.2/gcc/cp/parser.c:12501
#12 0x00000000004a3d58 in cp_parser_function_definition_after_declarator
(parser=0x2aaaaaf91be0,
    inline_p=1 '\001') at gcc-4.2/gcc/cp/parser.c:15422
#13 0x0000000000492636 in cp_parser_type_specifier (parser=0x2aaaaaf91be0,
    flags=<value optimized out>, decl_specs=0x7fffffc84e70, is_declaration=1
'\001',
    declares_class_or_enum=0x7fffffc84e10, is_cv_qualifier=<value optimized
out>)
    at gcc-4.2/gcc/cp/parser.c:15912
#14 0x0000000000492a2d in cp_parser_decl_specifier_seq (parser=0x2aaaaaf91be0,
    flags=CP_PARSER_FLAGS_OPTIONAL, decl_specs=0x7fffffc84e70,
declares_class_or_enum=0x7fffffc84ec8)
    at gcc-4.2/gcc/cp/parser.c:7537
#15 0x00000000004a4573 in cp_parser_single_declaration (parser=0x2aaaaaf91be0,
checks=0x0,
    member_p=0 '\0', friend_p=0x7fffffc84f27 "") at
gcc-4.2/gcc/cp/parser.c:15596
#16 0x0000000000490943 in cp_parser_template_declaration_after_export
(parser=0x2aaaaaf91be0,
    member_p=112 'p') at gcc-4.2/gcc/cp/parser.c:15511
#17 0x00000000004a51cd in cp_parser_declaration (parser=0x2aaaaaf91be0)
    at gcc-4.2/gcc/cp/parser.c:7092
#18 0x00000000004a5826 in cp_parser_declaration_seq_opt (parser=0x2aaaaaf91be0)
    at gcc-4.2/gcc/cp/parser.c:7015
#19 0x00000000004a526f in cp_parser_declaration (parser=0x2aaaaaf91be0)
    at gcc-4.2/gcc/cp/parser.c:10527
#20 0x00000000004a5826 in cp_parser_declaration_seq_opt (parser=0x2aaaaaf91be0)
    at gcc-4.2/gcc/cp/parser.c:7015
#21 0x00000000004a5f4a in c_parse_file () at gcc-4.2/gcc/cp/parser.c:2751
#22 0x0000000000534435 in c_common_parse_file (set_yydebug=<value optimized
out>)
    at gcc-4.2/gcc/c-opts.c:1164
#23 0x0000000000874ab3 in toplev_main (argc=<value optimized out>, argv=<value
optimized out>)
    at gcc-4.2/gcc/toplev.c:1033
#24 0x00002aaaaabdf4ca in __libc_start_main () from /lib/libc.so.6
#25 0x000000000040273a in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29105


  reply	other threads:[~2006-09-16 11:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-16 11:55 [Bug c++/29105] New: " tbm at cyrius dot com
2006-09-16 11:56 ` tbm at cyrius dot com [this message]
2006-09-16 16:00 ` [Bug c++/29105] " pinskia at gcc dot gnu dot org
2006-09-17  9:08 ` pinskia at gcc dot gnu dot org
2006-09-18 19:23 ` [Bug c++/29105] [4.2 Regression] segfault in add_candidates with a non template base class and a template member function janis at gcc dot gnu dot org
2006-09-20 22:50 ` mmitchel at gcc dot gnu dot org
2006-10-02  1:28 ` mmitchel at gcc dot gnu dot org
2006-10-02  4:13 ` mmitchel at gcc dot gnu dot org
2006-10-02  4:34 ` mmitchel at gcc dot gnu dot org
2006-10-05 20:31 ` reichelt at gcc dot gnu dot 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=20060916115552.24346.qmail@sourceware.org \
    --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: link
Be 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).