public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/47501] New: [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched
@ 2011-01-28  0:17 zsojka at seznam dot cz
  2011-01-28  7:07 ` [Bug debug/47501] " 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-28  0:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47501

           Summary: [4.6 Regression] -fcompare-debug failure with -Os
                    -fmodulo-sched
           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 23146
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23146
reduced testcase

Compiler output:
$ gcc -Os -fmodulo-sched -fcompare-debug testcase.c
gcc: error: testcase.c: -fcompare-debug failure (length)

$ diff testcase.*gkd
25a26
> (note# 0 0 NOTE_INSN_DELETED)

Tested revisions:
r169326 - fail
r169287 - fail
r169257 - OK


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

* [Bug debug/47501] [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched
  2011-01-28  0:17 [Bug debug/47501] New: [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched zsojka at seznam dot cz
@ 2011-01-28  7:07 ` hjl.tools at gmail dot com
  2011-01-31 10:35 ` aoliva 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  7:07 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47501

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.01.28 03:23:21
   Target Milestone|---                         |4.6.0
     Ever Confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-28 03:23:21 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/47501] [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched
  2011-01-28  0:17 [Bug debug/47501] New: [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched zsojka at seznam dot cz
  2011-01-28  7:07 ` [Bug debug/47501] " hjl.tools at gmail dot com
@ 2011-01-31 10:35 ` 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 10:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47501

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 #2 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-31 10:15:49 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/47501] [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched
  2011-01-28  0:17 [Bug debug/47501] New: [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched zsojka at seznam dot cz
  2011-01-28  7:07 ` [Bug debug/47501] " hjl.tools at gmail dot com
  2011-01-31 10:35 ` aoliva at gcc dot gnu.org
@ 2011-02-02  4:32 ` aoliva at gcc dot gnu.org
  2011-02-02  4:55 ` aoliva at gcc dot gnu.org
  2011-02-02 13:00 ` zsojka at seznam dot cz
  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=47501

--- Comment #3 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/47501] [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched
  2011-01-28  0:17 [Bug debug/47501] New: [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2011-02-02  4:32 ` aoliva at gcc dot gnu.org
@ 2011-02-02  4:55 ` aoliva at gcc dot gnu.org
  2011-02-02 13:00 ` zsojka at seznam dot cz
  4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-02-02  4:55 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47501

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-02-02 04:54:36 UTC ---
Fixed


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

* [Bug debug/47501] [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched
  2011-01-28  0:17 [Bug debug/47501] New: [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2011-02-02  4:55 ` aoliva at gcc dot gnu.org
@ 2011-02-02 13:00 ` zsojka at seznam dot cz
  4 siblings, 0 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2011-02-02 13:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47501

--- Comment #5 from Zdenek Sojka <zsojka at seznam dot cz> 2011-02-02 13:00:06 UTC ---
Thank you for quick fix. I tested that patch on top of r169501 (I tested it
before with r169450, but deleted the results...) - bootstrap with yes,rtl,df
checking went fine, check with
RUNTESTFLAGS="--target_board=unix/-fschedule-insns2/-fsched2-use-superblocks/-fmodulo-sched/-fcompare-debug"
showed no ICEs, -fcompare-debug failures or exec failures caused by that patch.
(languages=c,c++,lto,fortran)


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28  0:17 [Bug debug/47501] New: [4.6 Regression] -fcompare-debug failure with -Os -fmodulo-sched zsojka at seznam dot cz
2011-01-28  7:07 ` [Bug debug/47501] " hjl.tools at gmail dot com
2011-01-31 10:35 ` aoliva at gcc dot gnu.org
2011-02-02  4:32 ` aoliva at gcc dot gnu.org
2011-02-02  4:55 ` aoliva at gcc dot gnu.org
2011-02-02 13:00 ` zsojka at seznam dot cz

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