public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/44971]  New: -fcompare-debug failure with uninitialized read in walk_gimple_stmt
@ 2010-07-17 11:44 zsojka at seznam dot cz
  2010-07-17 11:46 ` [Bug debug/44971] " zsojka at seznam dot cz
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-07-17 11:44 UTC (permalink / raw)
  To: gcc-bugs

Command line:
$ gcc -O2 -fcompare-debug testcase.c

Valgrind output:
$ valgrind -q --trace-children=yes
/mnt/svn/gcc-trunk/binary-162222-lto-fortran-checking-yes-rtl-df/bin/gcc -O2
-fcompare-debug testcase.c
testcase.c: In function '_XftCloseint':
testcase.c:21:3: warning: passing argument 1 of '_XftintInfoGet' makes pointer
from integer without a cast [enabled by default]
testcase.c:12:6: note: expected 'int *' but argument is of type 'int'
testcase.c:22:13: warning: assignment from incompatible pointer type [enabled
by default]
testcase.c:22:48: warning: assignment from incompatible pointer type [enabled
by default]
==3128== Conditional jump or move depends on uninitialised value(s)
==3128==    at 0x70BFBB: walk_gimple_stmt (gimple.c:1627)
==3128==    by 0x955003: dump_enumerated_decls (tree-ssa-live.c:1264)
==3128==    by 0x8F7B98: execute_cleanup_cfg_post_optimizing
(tree-optimize.c:212)
==3128==    by 0x7B777D: execute_one_pass (passes.c:1563)
==3128==    by 0x7B7A14: execute_pass_list (passes.c:1618)
==3128==    by 0x8F8525: tree_rest_of_compilation (tree-optimize.c:450)
==3128==    by 0xAADBF5: cgraph_expand_function (cgraphunit.c:1629)
==3128==    by 0xAB0A29: cgraph_optimize (cgraphunit.c:1708)
==3128==    by 0xAB101A: cgraph_finalize_compilation_unit (cgraphunit.c:1171)
==3128==    by 0x4DE632: c_write_global_declarations (c-decl.c:9698)
==3128==    by 0x8A41E5: toplev_main (toplev.c:990)
==3128==    by 0x6589BBC: (below main) (in /lib64/libc-2.11.2.so)
==3128== 
gcc: error: testcase.c: -fcompare-debug failure (length)

Tested revisions:
r162222 - fail
r162056 - fail
r161659 - ICEs
r161170 - OK


-- 
           Summary: -fcompare-debug failure with uninitialized 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=44971


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

end of thread, other threads:[~2010-07-20 11:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-17 11:44 [Bug debug/44971] New: -fcompare-debug failure with uninitialized read in walk_gimple_stmt zsojka at seznam dot cz
2010-07-17 11:46 ` [Bug debug/44971] " zsojka at seznam dot cz
2010-07-17 13:37 ` hjl dot tools at gmail dot com
2010-07-17 13:38 ` hjl dot tools at gmail dot com
2010-07-18 17:50 ` [Bug debug/44971] [4.6 Regression] " rguenth at gcc dot gnu dot org
2010-07-18 20:47 ` rguenth at gcc dot gnu dot org
2010-07-19 13:40 ` rguenth at gcc dot gnu dot org
2010-07-19 16:05 ` rguenth at gcc dot gnu dot org
2010-07-20 11:29 ` rguenth at gcc dot gnu dot org
2010-07-20 11:30 ` rguenth 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).