public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/45531]  New: -fcompare-debug failure with -fvar-tracking-uninit, codegen differences
@ 2010-09-03 23:51 zsojka at seznam dot cz
  2010-09-03 23:52 ` [Bug debug/45531] " zsojka at seznam dot cz
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2010-09-03 23:51 UTC (permalink / raw)
  To: gcc-bugs

Compiler output:
$ gcc -fvar-tracking-uninit -fcompare-debug testcase.c
testcase.c:1:0: warning: variable tracking requested, but useless unless
producing debug info [enabled by default]
gcc: error: testcase.c: -fcompare-debug failure (length)

The failure appears with -g as well, but the warning isn't shown in that case.

Tested revisions:
r163636 - fail
r153685 - fail


-- 
           Summary: -fcompare-debug failure with -fvar-tracking-uninit,
                    codegen differences
           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=45531


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

* [Bug debug/45531] -fcompare-debug failure with -fvar-tracking-uninit, codegen differences
  2010-09-03 23:51 [Bug debug/45531] New: -fcompare-debug failure with -fvar-tracking-uninit, codegen differences zsojka at seznam dot cz
@ 2010-09-03 23:52 ` zsojka at seznam dot cz
  2010-09-05 13:02 ` aoliva at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2010-09-03 23:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-09-03 23:51 -------
Created an attachment (id=21690)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21690&action=view)
reduced testcase


-- 


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


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

* [Bug debug/45531] -fcompare-debug failure with -fvar-tracking-uninit, codegen differences
  2010-09-03 23:51 [Bug debug/45531] New: -fcompare-debug failure with -fvar-tracking-uninit, codegen differences zsojka at seznam dot cz
  2010-09-03 23:52 ` [Bug debug/45531] " zsojka at seznam dot cz
@ 2010-09-05 13:02 ` aoliva at gcc dot gnu dot org
  2010-09-08 21:54 ` aoliva at gcc dot gnu dot org
  2010-09-08 22:00 ` aoliva at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-09-05 13:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from aoliva at gcc dot gnu dot org  2010-09-05 13:02 -------
Testing a patch to ignore debug insns in fixup_reorder_chain.


-- 

aoliva at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |aoliva at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-09-05 13:02:26
               date|                            |


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


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

* [Bug debug/45531] -fcompare-debug failure with -fvar-tracking-uninit, codegen differences
  2010-09-03 23:51 [Bug debug/45531] New: -fcompare-debug failure with -fvar-tracking-uninit, codegen differences zsojka at seznam dot cz
  2010-09-03 23:52 ` [Bug debug/45531] " zsojka at seznam dot cz
  2010-09-05 13:02 ` aoliva at gcc dot gnu dot org
@ 2010-09-08 21:54 ` aoliva at gcc dot gnu dot org
  2010-09-08 22:00 ` aoliva at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-09-08 21:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from aoliva at gcc dot gnu dot org  2010-09-08 21:54 -------
Subject: Bug 45531

Author: aoliva
Date: Wed Sep  8 21:54:02 2010
New Revision: 164032

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164032
Log:
PR debug/45531
* cfglayout.c (fixup_reorder_chain): Skip debug insns.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfglayout.c


-- 


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


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

* [Bug debug/45531] -fcompare-debug failure with -fvar-tracking-uninit, codegen differences
  2010-09-03 23:51 [Bug debug/45531] New: -fcompare-debug failure with -fvar-tracking-uninit, codegen differences zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-09-08 21:54 ` aoliva at gcc dot gnu dot org
@ 2010-09-08 22:00 ` aoliva at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-09-08 22:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from aoliva at gcc dot gnu dot org  2010-09-08 22:00 -------
Fixed


-- 

aoliva at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-09-08 22:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-03 23:51 [Bug debug/45531] New: -fcompare-debug failure with -fvar-tracking-uninit, codegen differences zsojka at seznam dot cz
2010-09-03 23:52 ` [Bug debug/45531] " zsojka at seznam dot cz
2010-09-05 13:02 ` aoliva at gcc dot gnu dot org
2010-09-08 21:54 ` aoliva at gcc dot gnu dot org
2010-09-08 22:00 ` 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).