public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/45130]  New: -fcompare-debug failure with -Os -fsched-spec-load -fschedule-insns
@ 2010-07-29 13:59 zsojka at seznam dot cz
  2010-09-04 15:28 ` [Bug debug/45130] " aoliva at gcc dot gnu dot org
  0 siblings, 1 reply; 6+ messages in thread
From: zsojka at seznam dot cz @ 2010-07-29 13:59 UTC (permalink / raw)
  To: gcc-bugs

Command line:
$ gcc -Os -fsched-spec-load -fschedule-insns -fcompare-debug testcase.c

Valgrind output:
$ valgrind --trace-children=yes --track-origins=yes -q
/mnt/svn/gcc-trunk/binary-162653-lto-fortran-checking-yes-rtl-df/bin/gcc -Os
-fsched-spec-load -fschedule-insns -fcompare-debug testcase.c
==14681== Conditional jump or move depends on uninitialised value(s)
==14681==    at 0x70F09B: walk_gimple_stmt (gimple.c:1627)
==14681==    by 0x95F153: dump_enumerated_decls (tree-ssa-live.c:1264)
==14681==    by 0x901718: execute_cleanup_cfg_post_optimizing
(tree-optimize.c:214)
==14681==    by 0x7BD3EB: execute_one_pass (passes.c:1564)
==14681==    by 0x7BD684: execute_pass_list (passes.c:1619)
==14681==    by 0x9020A5: tree_rest_of_compilation (tree-optimize.c:452)
==14681==    by 0xAB96E5: cgraph_expand_function (cgraphunit.c:1643)
==14681==    by 0xABC579: cgraph_optimize (cgraphunit.c:1722)
==14681==    by 0xABCB6A: cgraph_finalize_compilation_unit (cgraphunit.c:1185)
==14681==    by 0x4DF86E: c_write_global_declarations (c-decl.c:9698)
==14681==    by 0x8AB075: toplev_main (toplev.c:957)
==14681==    by 0x6589BBC: (below main) (in /lib64/libc-2.11.2.so)
==14681==  Uninitialised value was created by a stack allocation
==14681==    at 0x95F0A0: dump_enumerated_decls (tree-ssa-live.c:1251)
==14681== 
==15989== Conditional jump or move depends on uninitialised value(s)
==15989==    at 0x70F09B: walk_gimple_stmt (gimple.c:1627)
==15989==    by 0x95F153: dump_enumerated_decls (tree-ssa-live.c:1264)
==15989==    by 0x901718: execute_cleanup_cfg_post_optimizing
(tree-optimize.c:214)
==15989==    by 0x7BD3EB: execute_one_pass (passes.c:1564)
==15989==    by 0x7BD684: execute_pass_list (passes.c:1619)
==15989==    by 0x9020A5: tree_rest_of_compilation (tree-optimize.c:452)
==15989==    by 0xAB96E5: cgraph_expand_function (cgraphunit.c:1643)
==15989==    by 0xABC579: cgraph_optimize (cgraphunit.c:1722)
==15989==    by 0xABCB6A: cgraph_finalize_compilation_unit (cgraphunit.c:1185)
==15989==    by 0x4DF86E: c_write_global_declarations (c-decl.c:9698)
==15989==    by 0x8AB075: toplev_main (toplev.c:957)
==15989==    by 0x6589BBC: (below main) (in /lib64/libc-2.11.2.so)
==15989==  Uninitialised value was created by a stack allocation
==15989==    at 0x95F0A0: dump_enumerated_decls (tree-ssa-live.c:1251)
==15989== 
gcc: error: testcase.c: -fcompare-debug failure

I don't know if the uninitialised read has anything to do with this problem.

Tested revisions:
r162653 - fail
r162456 - OK


-- 
           Summary: -fcompare-debug failure with -Os -fsched-spec-load -
                    fschedule-insns
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        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=45130


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

end of thread, other threads:[~2011-02-02 18:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45130-4@http.gcc.gnu.org/bugzilla/>
2011-01-25 23:04 ` [Bug debug/45130] -fcompare-debug failure with -Os -fsched-spec-load -fschedule-insns aoliva at gcc dot gnu.org
2011-01-31  7:26 ` aoliva at gcc dot gnu.org
2011-02-02  4:32 ` aoliva at gcc dot gnu.org
2011-02-02 17:57 ` dnovillo at gcc dot gnu.org
2011-02-02 18:28 ` dnovillo at gcc dot gnu.org
2010-07-29 13:59 [Bug rtl-optimization/45130] New: " zsojka at seznam dot cz
2010-09-04 15:28 ` [Bug debug/45130] " aoliva 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).