public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/47919] New: -fcompare-debug failure with custom flags
@ 2011-02-28  6:31 zsojka at seznam dot cz
  2011-03-02 16:44 ` [Bug debug/47919] " zsojka at seznam dot cz
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2011-02-28  6:31 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: -fcompare-debug failure with custom flags
           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 23486
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23486
auto-reduced testcase

Compiler output:
$ gfortran -fgcse -frerun-cse-after-loop -O -funroll-loops
-fno-tree-loop-optimize -fno-tree-ter -fno-web -fcompare-debug
testcase-min1.f08 -save-temps
gfortran: error: testcase-min1.f08: -fcompare-debug failure (length)

(interestingly, -funroll-loops is documented to imply -frerun-cse-after-loop,
bug explicit -frerun-cse-after-loop is needed to reproduce)

Tested revisions:
r170522 - fail
4.5 r170013 - fail


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

* [Bug debug/47919] -fcompare-debug failure with custom flags
  2011-02-28  6:31 [Bug debug/47919] New: -fcompare-debug failure with custom flags zsojka at seznam dot cz
@ 2011-03-02 16:44 ` zsojka at seznam dot cz
  2011-04-05 23:14 ` aoliva at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2011-03-02 16:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2011-03-02 16:44:30 UTC ---
Created attachment 23516
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23516
different testcase

Another testcase that needs insane flags to reproduce...

$ gcc -fcse-follow-jumps -fgcse -frerun-cse-after-loop -O -fira-region=one
-fPIC -fcompare-debug -fno-dce -fno-ivopts -fno-tree-ch -funroll-loops -fno-web
-m32 testcase.c             
gcc: error: testcase.c: -fcompare-debug failure (length)


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

* [Bug debug/47919] -fcompare-debug failure with custom flags
  2011-02-28  6:31 [Bug debug/47919] New: -fcompare-debug failure with custom flags zsojka at seznam dot cz
  2011-03-02 16:44 ` [Bug debug/47919] " zsojka at seznam dot cz
@ 2011-04-05 23:14 ` aoliva at gcc dot gnu.org
  2011-04-05 23:38 ` 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-04-05 23:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.04.05 23:14:49
         AssignedTo|unassigned at gcc dot       |aoliva at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-04-05 23:14:49 UTC ---
The patch for bug 47994 fixes the first testcase.  I couldn't duplicate the
second failure with current trunk, even before the patch.  Can you please
confirm that the patch also fixes it, if you by any chance still have the old
build around?  If so, will you please mark this bug as a dupe?  TIA,


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

* [Bug debug/47919] -fcompare-debug failure with custom flags
  2011-02-28  6:31 [Bug debug/47919] New: -fcompare-debug failure with custom flags zsojka at seznam dot cz
  2011-03-02 16:44 ` [Bug debug/47919] " zsojka at seznam dot cz
  2011-04-05 23:14 ` aoliva at gcc dot gnu.org
@ 2011-04-05 23:38 ` aoliva at gcc dot gnu.org
  2011-04-06  3:12 ` aoliva at gcc dot gnu.org
  2011-05-04  3:52 ` aoliva at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-04-05 23:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-04-05 23:37:52 UTC ---
Nevermind, I switched back to the old tree and found out the second testcase is
a different problem (or at least one that is not fixed by the patch for bug
47994)


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

* [Bug debug/47919] -fcompare-debug failure with custom flags
  2011-02-28  6:31 [Bug debug/47919] New: -fcompare-debug failure with custom flags zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2011-04-05 23:38 ` aoliva at gcc dot gnu.org
@ 2011-04-06  3:12 ` aoliva at gcc dot gnu.org
  2011-05-04  3:52 ` aoliva at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-04-06  3:12 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Depends on|                            |47881, 47994
         Resolution|                            |FIXED

--- Comment #4 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-04-06 03:11:49 UTC ---
The second testcase was fixed by the patch for bug 47881.


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

* [Bug debug/47919] -fcompare-debug failure with custom flags
  2011-02-28  6:31 [Bug debug/47919] New: -fcompare-debug failure with custom flags zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2011-04-06  3:12 ` aoliva at gcc dot gnu.org
@ 2011-05-04  3:52 ` aoliva at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-05-04  3:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-05-04 03:37:44 UTC ---
Author: aoliva
Date: Wed May  4 03:37:40 2011
New Revision: 173351

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173351
Log:
PR debug/47994
PR debug/47919
* combine.c (try_combine): Skip debug insns at m_split tests.

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


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

end of thread, other threads:[~2011-05-04  3:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-28  6:31 [Bug debug/47919] New: -fcompare-debug failure with custom flags zsojka at seznam dot cz
2011-03-02 16:44 ` [Bug debug/47919] " zsojka at seznam dot cz
2011-04-05 23:14 ` aoliva at gcc dot gnu.org
2011-04-05 23:38 ` aoliva at gcc dot gnu.org
2011-04-06  3:12 ` aoliva at gcc dot gnu.org
2011-05-04  3:52 ` 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).