public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl at lucon dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/34472] gcc.dg/struct/wo_prof_malloc_size_var.c doesn't work Date: Mon, 17 Dec 2007 19:09:00 -0000 [thread overview] Message-ID: <20071217190857.21376.qmail@sourceware.org> (raw) In-Reply-To: <bug-34472-682@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from hjl at lucon dot org 2007-12-17 19:08 ------- Valgrind reports: ==20091== Invalid read of size 8 ==20091== at 0x964769: htab_traverse_noresize (hashtab.c:749) ==20091== by 0x747B6B: reorg_structs_drive (ipa-struct-reorg.c:3547) ==20091== by 0x584BF1: execute_one_pass (passes.c:1118) ==20091== by 0x5850B3: execute_ipa_pass_list (passes.c:1187) ==20091== by 0x73ADAD: cgraph_optimize (cgraphunit.c:1339) ==20091== by 0x410AAA: c_write_global_declarations (c-decl.c:8077) ==20091== by 0x5FA23B: toplev_main (toplev.c:1055) ==20091== by 0x39A0A1DAB3: (below main) (in /lib64/libc-2.6.so) ==20091== Address 0x8E70F68 is 24 bytes inside a block of size 104 free'd ==20091== at 0x4A055AB: free (vg_replace_malloc.c:233) ==20091== by 0x964F85: htab_expand (hashtab.c:550) ==20091== by 0x965002: htab_traverse (hashtab.c:763) ==20091== by 0x743D33: free_data_struct (ipa-struct-reorg.c:1674) ==20091== by 0x743E0D: remove_structure (ipa-struct-reorg.c:2353) ==20091== by 0x743F0A: safe_cond_expr_check (ipa-struct-reorg.c:3090) ==20091== by 0x964777: htab_traverse_noresize (hashtab.c:750) ==20091== by 0x747B6B: reorg_structs_drive (ipa-struct-reorg.c:3547) ==20091== by 0x584BF1: execute_one_pass (passes.c:1118) ==20091== by 0x5850B3: execute_ipa_pass_list (passes.c:1187) ==20091== by 0x73ADAD: cgraph_optimize (cgraphunit.c:1339) ==20091== by 0x410AAA: c_write_global_declarations (c-decl.c:8077) ==20091== ==20091== Conditional jump or move depends on uninitialised value(s) ==20091== at 0x9201D4: global_conflicts (sparseset.h:89) ==20091== by 0x8F7259: rest_of_handle_global_alloc (global.c:533) ==20091== by 0x584BF1: execute_one_pass (passes.c:1118) ==20091== by 0x584D8F: execute_pass_list (passes.c:1171) ==20091== by 0x584DA4: execute_pass_list (passes.c:1172) ==20091== by 0x62D093: tree_rest_of_compilation (tree-optimize.c:404) ==20091== by 0x739291: cgraph_expand_function (cgraphunit.c:1151) ==20091== by 0x73ACC3: cgraph_optimize (cgraphunit.c:1214) ==20091== by 0x410AAA: c_write_global_declarations (c-decl.c:8077) ==20091== by 0x5FA23B: toplev_main (toplev.c:1055) ==20091== by 0x39A0A1DAB3: (below main) (in /lib64/libc-2.6.so) ==20091== ==20091== Conditional jump or move depends on uninitialised value(s) ==20091== at 0x920F71: global_conflicts (sparseset.h:89) ==20091== by 0x8F7259: rest_of_handle_global_alloc (global.c:533) ==20091== by 0x584BF1: execute_one_pass (passes.c:1118) ==20091== by 0x584D8F: execute_pass_list (passes.c:1171) ==20091== by 0x584DA4: execute_pass_list (passes.c:1172) ==20091== by 0x62D093: tree_rest_of_compilation (tree-optimize.c:404) ==20091== by 0x739291: cgraph_expand_function (cgraphunit.c:1151) ==20091== by 0x73ACC3: cgraph_optimize (cgraphunit.c:1214) ==20091== by 0x410AAA: c_write_global_declarations (c-decl.c:8077) ==20091== by 0x5FA23B: toplev_main (toplev.c:1055) ==20091== by 0x39A0A1DAB3: (below main) (in /lib64/libc-2.6.so) ==20091== ==20091== Conditional jump or move depends on uninitialised value(s) ==20091== at 0x920ABB: global_conflicts (sparseset.h:89) ==20091== by 0x8F7259: rest_of_handle_global_alloc (global.c:533) ==20091== by 0x584BF1: execute_one_pass (passes.c:1118) ==20091== by 0x584D8F: execute_pass_list (passes.c:1171) ==20091== by 0x584DA4: execute_pass_list (passes.c:1172) ==20091== by 0x62D093: tree_rest_of_compilation (tree-optimize.c:404) ==20091== by 0x739291: cgraph_expand_function (cgraphunit.c:1151) ==20091== by 0x73ACC3: cgraph_optimize (cgraphunit.c:1214) ==20091== by 0x410AAA: c_write_global_declarations (c-decl.c:8077) ==20091== by 0x5FA23B: toplev_main (toplev.c:1055) ==20091== by 0x39A0A1DAB3: (below main) (in /lib64/libc-2.6.so) ==20091== ==20091== Use of uninitialised value of size 8 ==20091== at 0x921C4D: global_conflicts (sparseset.h:89) ==20091== by 0x8F7259: rest_of_handle_global_alloc (global.c:533) ==20091== by 0x584BF1: execute_one_pass (passes.c:1118) ==20091== by 0x584D8F: execute_pass_list (passes.c:1171) ==20091== by 0x584DA4: execute_pass_list (passes.c:1172) ==20091== by 0x62D093: tree_rest_of_compilation (tree-optimize.c:404) ==20091== by 0x739291: cgraph_expand_function (cgraphunit.c:1151) ==20091== by 0x73ACC3: cgraph_optimize (cgraphunit.c:1214) ==20091== by 0x410AAA: c_write_global_declarations (c-decl.c:8077) ==20091== by 0x5FA23B: toplev_main (toplev.c:1055) ==20091== by 0x39A0A1DAB3: (below main) (in /lib64/libc-2.6.so) ==20091== ==20091== Use of uninitialised value of size 8 ==20091== at 0x920F7C: global_conflicts (sparseset.h:89) ==20091== by 0x8F7259: rest_of_handle_global_alloc (global.c:533) ==20091== by 0x584BF1: execute_one_pass (passes.c:1118) ==20091== by 0x584D8F: execute_pass_list (passes.c:1171) ==20091== by 0x584DA4: execute_pass_list (passes.c:1172) ==20091== by 0x62D093: tree_rest_of_compilation (tree-optimize.c:404) ==20091== by 0x739291: cgraph_expand_function (cgraphunit.c:1151) ==20091== by 0x73ACC3: cgraph_optimize (cgraphunit.c:1214) ==20091== by 0x410AAA: c_write_global_declarations (c-decl.c:8077) ==20091== by 0x5FA23B: toplev_main (toplev.c:1055) ==20091== by 0x39A0A1DAB3: (below main) (in /lib64/libc-2.6.so) ==20091== ==20091== Use of uninitialised value of size 8 ==20091== at 0x92108C: global_conflicts (sparseset.h:89) ==20091== by 0x8F7259: rest_of_handle_global_alloc (global.c:533) ==20091== by 0x584BF1: execute_one_pass (passes.c:1118) ==20091== by 0x584D8F: execute_pass_list (passes.c:1171) ==20091== by 0x584DA4: execute_pass_list (passes.c:1172) ==20091== by 0x62D093: tree_rest_of_compilation (tree-optimize.c:404) ==20091== by 0x739291: cgraph_expand_function (cgraphunit.c:1151) ==20091== by 0x73ACC3: cgraph_optimize (cgraphunit.c:1214) ==20091== by 0x410AAA: c_write_global_declarations (c-decl.c:8077) ==20091== by 0x5FA23B: toplev_main (toplev.c:1055) ==20091== by 0x39A0A1DAB3: (below main) (in /lib64/libc-2.6.so) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34472
next prev parent reply other threads:[~2007-12-17 19:09 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-12-14 22:52 [Bug tree-optimization/34472] New: " hjl at lucon dot org 2007-12-17 14:08 ` [Bug tree-optimization/34472] " olga at gcc dot gnu dot org 2007-12-17 19:04 ` hjl at lucon dot org 2007-12-17 19:09 ` hjl at lucon dot org [this message] 2007-12-19 18:57 ` olga at gcc dot gnu dot org 2007-12-20 0:15 ` hjl at lucon dot org 2008-01-16 11:15 ` [Bug tree-optimization/34472] [4.3 Regression] " rguenth at gcc dot gnu dot org 2008-01-20 2:14 ` pinskia at gcc dot gnu dot org 2008-01-20 15:34 ` ubizjak at gmail dot com 2008-01-20 15:36 ` zadeck at naturalbridge dot com 2008-01-20 16:43 ` olga at gcc dot gnu dot org 2008-01-20 16:59 ` zadeck at naturalbridge dot com 2008-01-24 18:50 ` rsandifo at gcc dot gnu dot org 2008-01-24 23:40 ` hjl dot tools at gmail 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=20071217190857.21376.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: 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).