public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/65432] New: [5 Regression] Invalid read of size 1: ipa_icf::sem_item_optimizer::merge_classes(unsigned int) (ipa-icf.c:2958) Date: Sun, 15 Mar 2015 06:37:00 -0000 [thread overview] Message-ID: <bug-65432-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65432 Bug ID: 65432 Summary: [5 Regression] Invalid read of size 1: ipa_icf::sem_item_optimizer::merge_classes(unsigned int) (ipa-icf.c:2958) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Running the testsuite on ppc64le with an --enable-checking=valgrind compiler shows many instances of: ==94166== Invalid read of size 1 ==94166== at 0x40980F8: strlen (in /usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so) ==94166== by 0x4626503: vfprintf@@GLIBC_2.17 (in /usr/lib64/libc-2.20.so) ==94166== by 0x4631003: fprintf@@GLIBC_2.17 (in /usr/lib64/libc-2.20.so) ==94166== by 0x10CF34B3: ipa_icf::sem_item_optimizer::merge_classes(unsigned int) (ipa-icf.c:2958) ==94166== by 0x10CF962B: ipa_icf::sem_item_optimizer::execute() (ipa-icf.c:2236) ==94166== by 0x10CFC8DF: ipa_icf_driver (ipa-icf.c:3060) ==94166== by 0x10CFC8DF: ipa_icf::pass_ipa_icf::execute(function*) (ipa-icf.c:3107) ==94166== by 0x1068FBC7: execute_one_pass(opt_pass*) (passes.c:2328) ==94166== by 0x10690B53: execute_ipa_pass_list(opt_pass*) (passes.c:2727) ==94166== by 0x1038D2DF: ipa_passes (cgraphunit.c:2207) ==94166== by 0x1038D2DF: symbol_table::compile() (cgraphunit.c:2295) ==94166== by 0x1038ED47: symbol_table::finalize_compilation_unit() (cgraphunit.c:2444) ==94166== by 0x101A31CB: cp_write_global_declarations() (decl2.c:4754) ==94166== by 0x1076894F: compile_file() (toplev.c:608) ==94166== Address 0x701ee20 is 0 bytes inside a block of size 38 free'd ==94166== at 0x4095394: free (in /usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so) ==94166== by 0x10243CAF: cxx_printable_name_internal(tree_node*, int, bool) (tree.c:2026) ==94166== by 0x10374D23: symtab_node::name() const (symtab.c:479) ==94166== by 0x10CF3497: name (ipa-icf.h:177) ==94166== by 0x10CF3497: ipa_icf::sem_item_optimizer::merge_classes(unsigned int) (ipa-icf.c:2958) ==94166== by 0x10CF962B: ipa_icf::sem_item_optimizer::execute() (ipa-icf.c:2236) ==94166== by 0x10CFC8DF: ipa_icf_driver (ipa-icf.c:3060) ==94166== by 0x10CFC8DF: ipa_icf::pass_ipa_icf::execute(function*) (ipa-icf.c:3107) ==94166== by 0x1068FBC7: execute_one_pass(opt_pass*) (passes.c:2328) ==94166== by 0x10690B53: execute_ipa_pass_list(opt_pass*) (passes.c:2727) ==94166== by 0x1038D2DF: ipa_passes (cgraphunit.c:2207) ==94166== by 0x1038D2DF: symbol_table::compile() (cgraphunit.c:2295) ==94166== by 0x1038ED47: symbol_table::finalize_compilation_unit() (cgraphunit.c:2444) ==94166== by 0x101A31CB: cp_write_global_declarations() (decl2.c:4754) ==94166== by 0x1076894F: compile_file() (toplev.c:608)
next reply other threads:[~2015-03-15 6:37 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-15 6:37 trippels at gcc dot gnu.org [this message] 2015-03-15 9:06 ` [Bug ipa/65432] " trippels at gcc dot gnu.org 2015-03-16 10:50 ` jakub at gcc dot gnu.org 2015-03-18 11:37 ` rguenth at gcc dot gnu.org 2015-03-18 13:09 ` marxin at gcc dot gnu.org 2015-03-18 13:18 ` trippels at gcc dot gnu.org 2015-03-18 13:21 ` marxin at gcc dot gnu.org 2015-03-18 14:17 ` marxin 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-65432-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).