public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/47498] New: [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks
@ 2011-01-27 22:47 zsojka at seznam dot cz
2011-01-28 0:08 ` [Bug debug/47498] " hjl.tools at gmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2011-01-27 22:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47498
Summary: [4.6 Regression] -fcompare-debug failure with
-fsched2-use-superblocks
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
CC: aoliva@gcc.gnu.org
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 23145
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23145
reduced testcase
Command line:
$ gcc -O -fsched2-use-superblocks -fschedule-insns2 -fcompare-debug testcase.C
or
$ gcc -O2 -fsched2-use-superblocks -fcompare-debug testcase.C
Compiler output:
$ gcc -O -fsched2-use-superblocks -fschedule-insns2 -fcompare-debug testcase.C
gcc: error: testcase.C: -fcompare-debug failure
$ diff testcase.*gkd
9d8
< (note# 0 0 NOTE_INSN_FUNCTION_BEG)
18a18
> (note# 0 0 NOTE_INSN_FUNCTION_BEG)
Tested revisions:
r169326 - fail
4.5 r168785 - OK
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/47498] [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks
2011-01-27 22:47 [Bug debug/47498] New: [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks zsojka at seznam dot cz
@ 2011-01-28 0:08 ` hjl.tools at gmail dot com
2011-01-28 11:14 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-28 0:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47498
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.27 23:14:42
Target Milestone|--- |4.6.0
Ever Confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-27 23:14:42 UTC ---
It is caused by revision 169260:
http://gcc.gnu.org/ml/gcc-cvs/2011-01/msg00884.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/47498] [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks
2011-01-27 22:47 [Bug debug/47498] New: [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks zsojka at seznam dot cz
2011-01-28 0:08 ` [Bug debug/47498] " hjl.tools at gmail dot com
@ 2011-01-28 11:14 ` jakub at gcc dot gnu.org
2011-01-31 10:40 ` aoliva at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-28 11:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47498
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-28 10:58:03 UTC ---
Indeed, sched2 here moves over the NOTE_INSN_FUNCTION_BEG before all real insns
with -g, but keeps it where it was (and should be) with -g0.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/47498] [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks
2011-01-27 22:47 [Bug debug/47498] New: [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks zsojka at seznam dot cz
2011-01-28 0:08 ` [Bug debug/47498] " hjl.tools at gmail dot com
2011-01-28 11:14 ` jakub at gcc dot gnu.org
@ 2011-01-31 10:40 ` aoliva at gcc dot gnu.org
2011-02-02 4:32 ` aoliva at gcc dot gnu.org
2011-02-02 4:54 ` aoliva at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-01-31 10:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47498
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |aoliva at gcc dot gnu.org
|gnu.org |
--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-31 10:16:10 UTC ---
Mine. Patch reverted in revision 169429, testing revised patch at
http://gcc.gnu.org/ml/gcc-patches/2011-01/msg02260.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/47498] [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks
2011-01-27 22:47 [Bug debug/47498] New: [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks zsojka at seznam dot cz
` (2 preceding siblings ...)
2011-01-31 10:40 ` aoliva at gcc dot gnu.org
@ 2011-02-02 4:32 ` aoliva at gcc dot gnu.org
2011-02-02 4:54 ` aoliva 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=47498
--- Comment #4 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-02-02 04:31:40 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/47498] [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks
2011-01-27 22:47 [Bug debug/47498] New: [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks zsojka at seznam dot cz
` (3 preceding siblings ...)
2011-02-02 4:32 ` aoliva at gcc dot gnu.org
@ 2011-02-02 4:54 ` aoliva at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-02-02 4:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47498
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-02-02 04:54:23 UTC ---
Fixed
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-02-02 4:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-27 22:47 [Bug debug/47498] New: [4.6 Regression] -fcompare-debug failure with -fsched2-use-superblocks zsojka at seznam dot cz
2011-01-28 0:08 ` [Bug debug/47498] " hjl.tools at gmail dot com
2011-01-28 11:14 ` jakub at gcc dot gnu.org
2011-01-31 10:40 ` aoliva at gcc dot gnu.org
2011-02-02 4:32 ` aoliva at gcc dot gnu.org
2011-02-02 4:54 ` aoliva at gcc dot gnu.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).