public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/45055]  New: another -fcompare-debug failure with uninitialised read in walk_gimple_stmt
@ 2010-07-24 13:00 zsojka at seznam dot cz
  2010-07-24 13:01 ` [Bug debug/45055] " zsojka at seznam dot cz
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-07-24 13:00 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-12  9:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-24 13:00 [Bug debug/45055] New: another -fcompare-debug failure with uninitialised read in walk_gimple_stmt zsojka at seznam dot cz
2010-07-24 13:01 ` [Bug debug/45055] " zsojka at seznam dot cz
2010-07-30 11:58 ` jakub at gcc dot gnu dot org
2010-07-30 14:37 ` jakub at gcc dot gnu dot org
2010-07-30 15:58 ` [Bug debug/45055] [4.5/4.6 Regression] " jakub at gcc dot gnu dot org
2010-08-12  9:15 ` jakub at gcc dot gnu dot org
2010-08-12  9:33 ` jakub at gcc dot gnu dot org

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).