public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "markus at trippelsdorf dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55076] ice when compiling lambda function Date: Fri, 26 Oct 2012 13:42:00 -0000 [thread overview] Message-ID: <bug-55076-4-x3Q1vr3byO@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-55076-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076 --- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-10-26 13:41:36 UTC --- Valgrind says: markus@x4 tmp % /var/tmp/gcc_valgrind/usr/local/bin/g++ -std=c++11 -c test.ii ==10632== Invalid read of size 2 ==10632== at 0x668622: lvalue_kind(tree_node const*) (tree.c:148) ==10632== by 0x668803: lvalue_kind(tree_node const*) (tree.c:103) ==10632== by 0x6691C8: lvalue_p(tree_node const*) (tree.c:269) ==10632== by 0x4CF7EC: standard_conversion(tree_node*, tree_node*, tree_node*, bool, int) (call.c:1104) ==10632== by 0x4D5629: implicit_conversion(tree_node*, tree_node*, tree_node*, bool, int, int) (call.c:1696) ==10632== by 0x4D7702: add_function_candidate(z_candidate**, tree_node*, tree_node*, tree_node*, vec_t<tree_node*> const*, tree_node*, tree_node*, int, int) (call.c:1987) ==10632== by 0x4D3EEE: add_candidates(tree_node*, tree_node*, vec_t<tree_node*> const*, tree_node*, tree_node*, bool, tree_node*, tree_node*, int, z_candidate**, int) (call.c:4954) ==10632== by 0x4DA7B0: perform_overload_resolution(tree_node*, vec_t<tree_node*> const*, z_candidate**, bool*, int) (call.c:3807) ==10632== by 0x4E0D5C: build_new_function_call(tree_node*, vec_t<tree_node*>**, bool, int) (call.c:3884) ==10632== by 0x656EEA: finish_call_expr(tree_node*, vec_t<tree_node*>**, bool, bool, int) (semantics.c:2190) ==10632== by 0x5CEA2E: cp_parser_postfix_expression(cp_parser*, bool, bool, bool, cp_id_kind*) (parser.c:5814) ==10632== by 0x5D9D32: cp_parser_unary_expression(cp_parser*, bool, bool, cp_id_kind*) (parser.c:6682) ==10632== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==10632==
next prev parent reply other threads:[~2012-10-26 13:42 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-10-25 22:57 [Bug c++/55076] New: " tim at klingt dot org 2012-10-26 10:05 ` [Bug c++/55076] " paolo.carlini at oracle dot com 2012-10-26 13:20 ` markus at trippelsdorf dot de 2012-10-26 13:31 ` paolo.carlini at oracle dot com 2012-10-26 13:42 ` markus at trippelsdorf dot de [this message] 2012-10-26 14:01 ` redi at gcc dot gnu.org 2012-10-26 14:07 ` markus at trippelsdorf dot de 2012-10-26 16:49 ` markus at trippelsdorf dot de 2012-10-26 23:38 ` paolo.carlini at oracle dot com 2013-02-14 23:43 ` paolo.carlini at oracle dot com
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-55076-4-x3Q1vr3byO@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).