From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26395 invoked by alias); 24 Jul 2010 13:00:47 -0000 Received: (qmail 26328 invoked by uid 48); 24 Jul 2010 13:00:33 -0000 Date: Sat, 24 Jul 2010 13:00:00 -0000 Subject: [Bug debug/45055] New: another -fcompare-debug failure with uninitialised read in walk_gimple_stmt X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zsojka at seznam dot cz" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg02634.txt.bz2 Command line: $ gcc -fcompare-debug testcase.c -O2 -ftracer -fsched-pressure -funroll-loops -fschedule-insns Output with valgrind: $ valgrind -q --trace-children=yes /mnt/svn/gcc-trunk/binary-162456-lto-fortran-checking-yes-rtl-df/bin/gcc -O2 -ftracer -fsched-pressure -funroll-loops -fschedule-insns -fcompare-debug testcase.c ==25565== Conditional jump or move depends on uninitialised value(s) ==25565== at 0x70DD7B: walk_gimple_stmt (gimple.c:1629) ==25565== by 0x95A913: dump_enumerated_decls (tree-ssa-live.c:1264) ==25565== by 0x8FD118: execute_cleanup_cfg_post_optimizing (tree-optimize.c:214) ==25565== by 0x7BB16D: execute_one_pass (passes.c:1563) ==25565== by 0x7BB404: execute_pass_list (passes.c:1618) ==25565== by 0x8FDAA5: tree_rest_of_compilation (tree-optimize.c:452) ==25565== by 0xAB4C75: cgraph_expand_function (cgraphunit.c:1643) ==25565== by 0xAB7B09: cgraph_optimize (cgraphunit.c:1722) ==25565== by 0xAB80FA: cgraph_finalize_compilation_unit (cgraphunit.c:1185) ==25565== by 0x4DF3EE: c_write_global_declarations (c-decl.c:9698) ==25565== by 0x8A91F5: toplev_main (toplev.c:990) ==25565== by 0x6589BBC: (below main) (in /lib64/libc-2.11.2.so) ==25565== ==26524== Conditional jump or move depends on uninitialised value(s) ==26524== at 0x70DD7B: walk_gimple_stmt (gimple.c:1629) ==26524== by 0x95A913: dump_enumerated_decls (tree-ssa-live.c:1264) ==26524== by 0x8FD118: execute_cleanup_cfg_post_optimizing (tree-optimize.c:214) ==26524== by 0x7BB16D: execute_one_pass (passes.c:1563) ==26524== by 0x7BB404: execute_pass_list (passes.c:1618) ==26524== by 0x8FDAA5: tree_rest_of_compilation (tree-optimize.c:452) ==26524== by 0xAB4C75: cgraph_expand_function (cgraphunit.c:1643) ==26524== by 0xAB7B09: cgraph_optimize (cgraphunit.c:1722) ==26524== by 0xAB80FA: cgraph_finalize_compilation_unit (cgraphunit.c:1185) ==26524== by 0x4DF3EE: c_write_global_declarations (c-decl.c:9698) ==26524== by 0x8A91F5: toplev_main (toplev.c:990) ==26524== by 0x6589BBC: (below main) (in /lib64/libc-2.11.2.so) ==26524== gcc: error: testcase.c: -fcompare-debug failure (length) The uninitialised read is probably not related, testcase fails in older revisions, where this valgrind warning isn't present. Tested revisions: r162456 - fail r162222 - fail r159696 - fail r153685 - fail -- Summary: another -fcompare-debug failure with uninitialised read in walk_gimple_stmt Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45055