public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/45130] -fcompare-debug failure with -Os -fsched-spec-load -fschedule-insns
[not found] <bug-45130-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-25 23:04 ` aoliva at gcc dot gnu.org
2011-01-31 7:26 ` aoliva at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-01-25 23:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45130
--- Comment #4 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-25 22:28:02 UTC ---
Author: aoliva
Date: Tue Jan 25 22:27:51 2011
New Revision: 169260
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169260
Log:
PR debug/45136
PR debug/45130
* haifa-sched.c (get_ebb_head_tail): Move notes across boundary
debug insns.
(no_real_insns_p, schedule_block, set_priorities): Drop special
treatment of boundary debug insns.
* sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
insns.
* sched-ebb.c (schedule_ebbs): Don't skip debug insns.
* sched-int.h (DEBUG_INSN_SCHED_P): Remove.
(BOUNDARY_DEBUG_INSN_P): Likewise.
(SCHEDULE_DEBUG_INSN_P): Likewise.
* sched-rgn.c (init_ready_list): Drop special treatment of
boundary debug insns.
* final.c (rest_of_clean-state): Clear notes' BB.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/final.c
trunk/gcc/haifa-sched.c
trunk/gcc/sched-deps.c
trunk/gcc/sched-ebb.c
trunk/gcc/sched-int.h
trunk/gcc/sched-rgn.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/45130] -fcompare-debug failure with -Os -fsched-spec-load -fschedule-insns
[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
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-01-31 7:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45130
--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-31 05:13:38 UTC ---
Author: aoliva
Date: Mon Jan 31 05:13:34 2011
New Revision: 169429
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169429
Log:
Reverted:
2011-01-25 Alexandre Oliva <aoliva@redhat.com>
PR debug/45136
PR debug/45130
* haifa-sched.c (get_ebb_head_tail): Move notes across boundary
debug insns.
(no_real_insns_p, schedule_block, set_priorities): Drop special
treatment of boundary debug insns.
* sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
insns.
* sched-ebb.c (schedule_ebbs): Don't skip debug insns.
* sched-int.h (DEBUG_INSN_SCHED_P): Remove.
(BOUNDARY_DEBUG_INSN_P): Likewise.
(SCHEDULE_DEBUG_INSN_P): Likewise.
* sched-rgn.c (init_ready_list): Drop special treatment of
boundary debug insns.
* final.c (rest_of_clean-state): Clear notes' BB.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/final.c
trunk/gcc/haifa-sched.c
trunk/gcc/sched-deps.c
trunk/gcc/sched-ebb.c
trunk/gcc/sched-int.h
trunk/gcc/sched-rgn.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/45130] -fcompare-debug failure with -Os -fsched-spec-load -fschedule-insns
[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
4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-02-02 4:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45130
--- Comment #6 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-02-02 04:31:41 UTC ---
Author: aoliva
Date: Wed Feb 2 04:31:35 2011
New Revision: 169513
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169513
Log:
gcc/ChangeLog:
PR debug/47498
PR debug/47501
PR debug/45136
PR debug/45130
* haifa-sched.c (get_ebb_head_tail): Move notes across boundary
debug insns.
(no_real_insns_p, schedule_block, set_priorities): Drop special
treatment of boundary debug insns.
* sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
insns.
* sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns.
* sched-int.h (DEBUG_INSN_SCHED_P): Remove.
(BOUNDARY_DEBUG_INSN_P): Likewise.
(SCHEDULE_DEBUG_INSN_P): Likewise.
* sched-rgn.c (init_ready_list): Drop special treatment of
boundary debug insns.
* final.c (rest_of_clean_state): Clear notes' BB.
gcc/testsuite/ChangeLog:
PR debug/47498
PR debug/47501
PR debug/45136
PR debug/45130
* debug/pr47498.c: New.
* debug/pr47501.c: New.
Added:
trunk/gcc/testsuite/gcc.dg/debug/pr47498.c
trunk/gcc/testsuite/gcc.dg/debug/pr47501.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/final.c
trunk/gcc/haifa-sched.c
trunk/gcc/sched-deps.c
trunk/gcc/sched-ebb.c
trunk/gcc/sched-int.h
trunk/gcc/sched-rgn.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/45130] -fcompare-debug failure with -Os -fsched-spec-load -fschedule-insns
[not found] <bug-45130-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
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
4 siblings, 0 replies; 6+ messages in thread
From: dnovillo at gcc dot gnu.org @ 2011-02-02 17:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45130
--- Comment #7 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 17:49:12 UTC ---
Author: dnovillo
Date: Wed Feb 2 17:49:06 2011
New Revision: 169597
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169597
Log:
PR debug/45136
PR debug/45130
* haifa-sched.c (get_ebb_head_tail): Move notes across boundary
debug insns.
(no_real_insns_p, schedule_block, set_priorities): Drop special
treatment of boundary debug insns.
* sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
insns.
* sched-ebb.c (schedule_ebbs): Don't skip debug insns.
* sched-int.h (DEBUG_INSN_SCHED_P): Remove.
(BOUNDARY_DEBUG_INSN_P): Likewise.
(SCHEDULE_DEBUG_INSN_P): Likewise.
* sched-rgn.c (init_ready_list): Drop special treatment of
boundary debug insns.
* final.c (rest_of_clean-state): Clear notes' BB.
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/final.c
branches/google/integration/gcc/haifa-sched.c
branches/google/integration/gcc/sched-deps.c
branches/google/integration/gcc/sched-ebb.c
branches/google/integration/gcc/sched-int.h
branches/google/integration/gcc/sched-rgn.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/45130] -fcompare-debug failure with -Os -fsched-spec-load -fschedule-insns
[not found] <bug-45130-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2011-02-02 17:57 ` dnovillo at gcc dot gnu.org
@ 2011-02-02 18:28 ` dnovillo at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: dnovillo at gcc dot gnu.org @ 2011-02-02 18:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45130
--- Comment #8 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 18:08:36 UTC ---
Author: dnovillo
Date: Wed Feb 2 18:08:15 2011
New Revision: 169709
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169709
Log:
Reverted:
2011-01-25 Alexandre Oliva <aoliva@redhat.com>
PR debug/45136
PR debug/45130
* haifa-sched.c (get_ebb_head_tail): Move notes across boundary
debug insns.
(no_real_insns_p, schedule_block, set_priorities): Drop special
treatment of boundary debug insns.
* sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
insns.
* sched-ebb.c (schedule_ebbs): Don't skip debug insns.
* sched-int.h (DEBUG_INSN_SCHED_P): Remove.
(BOUNDARY_DEBUG_INSN_P): Likewise.
(SCHEDULE_DEBUG_INSN_P): Likewise.
* sched-rgn.c (init_ready_list): Drop special treatment of
boundary debug insns.
* final.c (rest_of_clean-state): Clear notes' BB.
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/final.c
branches/google/integration/gcc/haifa-sched.c
branches/google/integration/gcc/sched-deps.c
branches/google/integration/gcc/sched-ebb.c
branches/google/integration/gcc/sched-int.h
branches/google/integration/gcc/sched-rgn.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [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).