public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/52048] New: [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
@ 2012-01-29 22:22 zsojka at seznam dot cz
  2012-01-30  0:15 ` [Bug middle-end/52048] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2012-01-29 22:22 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52048
           Summary: [4.7 Regression] -fcompare-debug failure with -O2
                    -fcompare-debug -fnon-call-exceptions
                    -fno-tree-dominator-opts
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        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 26510
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26510
autoreduced testcase (from g++.dg/torture/pr41775.C)

Compiler output:
$ gcc -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
testcase.C
gcc: error: testcase.C: -fcompare-debug failure

$ diff testcase.*gkd
187,188c187,188
<             (set (reg/f:DI 5 di [69])
<                 (plus:DI (reg/f:DI 5 di [orig:67 this ] [67])
---
>             (set (reg/f:DI 5 di [68])
>                 (plus:DI (reg/f:DI 5 di [orig:66 this ] [66])

Tested revisions:
r183676 - fail


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

* [Bug middle-end/52048] [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
  2012-01-29 22:22 [Bug middle-end/52048] New: [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts zsojka at seznam dot cz
@ 2012-01-30  0:15 ` jakub at gcc dot gnu.org
  2012-01-30  0:37 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-30  0:15 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-01-29
                 CC|                            |jakub at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-29 23:50:28 UTC ---
Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183566


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

* [Bug middle-end/52048] [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
  2012-01-29 22:22 [Bug middle-end/52048] New: [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts zsojka at seznam dot cz
  2012-01-30  0:15 ` [Bug middle-end/52048] " jakub at gcc dot gnu.org
@ 2012-01-30  0:37 ` jakub at gcc dot gnu.org
  2012-01-30  9:23 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-30  0:37 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug middle-end/52048] [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
  2012-01-29 22:22 [Bug middle-end/52048] New: [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts zsojka at seznam dot cz
  2012-01-30  0:15 ` [Bug middle-end/52048] " jakub at gcc dot gnu.org
  2012-01-30  0:37 ` jakub at gcc dot gnu.org
@ 2012-01-30  9:23 ` jakub at gcc dot gnu.org
  2012-01-30  9:26 ` [Bug debug/52048] " jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-30  9:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-30 07:52:12 UTC ---
Probably tail-merge bug, looking into it.


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

* [Bug debug/52048] [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
  2012-01-29 22:22 [Bug middle-end/52048] New: [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2012-01-30  9:23 ` jakub at gcc dot gnu.org
@ 2012-01-30  9:26 ` jakub at gcc dot gnu.org
  2012-01-30  9:27 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-30  9:26 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
          Component|middle-end                  |debug
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |


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

* [Bug debug/52048] [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
  2012-01-29 22:22 [Bug middle-end/52048] New: [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2012-01-30  9:26 ` [Bug debug/52048] " jakub at gcc dot gnu.org
@ 2012-01-30  9:27 ` jakub at gcc dot gnu.org
  2012-01-30 14:08 ` jakub at gcc dot gnu.org
  2012-01-30 14:18 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-30  9:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-30 09:02:33 UTC ---
Created attachment 26514
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26514
gcc47-pr52048.patch

Untested fix.


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

* [Bug debug/52048] [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
  2012-01-29 22:22 [Bug middle-end/52048] New: [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2012-01-30  9:27 ` jakub at gcc dot gnu.org
@ 2012-01-30 14:08 ` jakub at gcc dot gnu.org
  2012-01-30 14:18 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-30 14:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-30 13:47:42 UTC ---
Author: jakub
Date: Mon Jan 30 13:47:38 2012
New Revision: 183723

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183723
Log:
    PR debug/52048
    * tree-ssa-tail-merge.c (local_def): Ignore debug uses.

    * g++.dg/other/pr52048.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/other/pr52048.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-tail-merge.c


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

* [Bug debug/52048] [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
  2012-01-29 22:22 [Bug middle-end/52048] New: [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2012-01-30 14:08 ` jakub at gcc dot gnu.org
@ 2012-01-30 14:18 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-30 14:18 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-30 14:07:57 UTC ---
Fixed.


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

end of thread, other threads:[~2012-01-30 14:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-29 22:22 [Bug middle-end/52048] New: [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts zsojka at seznam dot cz
2012-01-30  0:15 ` [Bug middle-end/52048] " jakub at gcc dot gnu.org
2012-01-30  0:37 ` jakub at gcc dot gnu.org
2012-01-30  9:23 ` jakub at gcc dot gnu.org
2012-01-30  9:26 ` [Bug debug/52048] " jakub at gcc dot gnu.org
2012-01-30  9:27 ` jakub at gcc dot gnu.org
2012-01-30 14:08 ` jakub at gcc dot gnu.org
2012-01-30 14:18 ` jakub 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).