public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/42806]  New: "-fcompare-debug failure (length)" at -O1 in recent builds
@ 2010-01-19 17:52 zsojka at seznam dot cz
  2010-01-19 17:53 ` [Bug tree-optimization/42806] " zsojka at seznam dot cz
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-01-19 17:52 UTC (permalink / raw)
  To: gcc-bugs

Command line:
g++ -O1 -fcompare-debug -c testcase.cpp

Tested revisions:
r156038 - crash
r155966 - crash
r155945 - crash (x86)
r155938 - crash
r155902 - OK
r155844 - OK (x86)
r155833 - OK
r155363 - OK
r153685 - OK

Behaviour is the same for unreduced testcase (at -O1)

Output:
$ /mnt/svn/gcc-trunk/binary-156038-lto/bin/g++ -O1 -fcompare-debug -c
testcase.cpp
g++: testcase.cpp: -fcompare-debug failure (length)


-- 
           Summary: "-fcompare-debug failure (length)" at -O1 in recent
                    builds
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        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=42806


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

* [Bug tree-optimization/42806] "-fcompare-debug failure (length)" at -O1 in recent builds
  2010-01-19 17:52 [Bug tree-optimization/42806] New: "-fcompare-debug failure (length)" at -O1 in recent builds zsojka at seznam dot cz
@ 2010-01-19 17:53 ` zsojka at seznam dot cz
  2010-01-25 17:35 ` zsojka at seznam dot cz
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-01-19 17:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-01-19 17:53 -------
Created an attachment (id=19659)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19659&action=view)
reduced testcase

Command line:
g++ -O1 -fcompare-debug -c pr42806.cpp


-- 


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


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

* [Bug tree-optimization/42806] "-fcompare-debug failure (length)" at -O1 in recent builds
  2010-01-19 17:52 [Bug tree-optimization/42806] New: "-fcompare-debug failure (length)" at -O1 in recent builds zsojka at seznam dot cz
  2010-01-19 17:53 ` [Bug tree-optimization/42806] " zsojka at seznam dot cz
@ 2010-01-25 17:35 ` zsojka at seznam dot cz
  2010-01-26 12:36 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-01-25 17:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from zsojka at seznam dot cz  2010-01-25 17:34 -------
Since:
------------------------------------------------------------------------
r155937 | rguenth | 2010-01-15 12:53:26 +0100 (Fri, 15 Jan 2010) | 10 lines

2010-01-15  Richard Guenther  <rguenther@suse.de>

        PR middle-end/42739
        * tree-cfgcleanup.c (remove_forwarder_block): Move destination
        labels of computed or non-local gotos to the destination.
        * tree-cfg.c (gimple_verify_flow_info): Verify that a EH
        landing pad label is the first label.

        * g++.dg/torture/pr42739.C: New testcase.

------------------------------------------------------------------------


-- 

zsojka at seznam dot cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/42806] "-fcompare-debug failure (length)" at -O1 in recent builds
  2010-01-19 17:52 [Bug tree-optimization/42806] New: "-fcompare-debug failure (length)" at -O1 in recent builds zsojka at seznam dot cz
  2010-01-19 17:53 ` [Bug tree-optimization/42806] " zsojka at seznam dot cz
  2010-01-25 17:35 ` zsojka at seznam dot cz
@ 2010-01-26 12:36 ` rguenth at gcc dot gnu dot org
  2010-01-26 13:30 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-26 12:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-01-26 12:36 -------
We decided to do different inlining.  Huh.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-26 12:36:39
               date|                            |


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


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

* [Bug tree-optimization/42806] "-fcompare-debug failure (length)" at -O1 in recent builds
  2010-01-19 17:52 [Bug tree-optimization/42806] New: "-fcompare-debug failure (length)" at -O1 in recent builds zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-01-26 12:36 ` rguenth at gcc dot gnu dot org
@ 2010-01-26 13:30 ` rguenth at gcc dot gnu dot org
  2010-01-26 13:32 ` [Bug tree-optimization/42806] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-26 13:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-01-26 13:30 -------
Because unsplit_all_eh () does sth different for

  # BLOCK 2
  # PRED: ENTRY (fallthru,exec)
  S2::m (this_1(D));
  # SUCC: 4 (eh,exec) 3 (fallthru,exec)

  # BLOCK 3
  # PRED: 2 (fallthru,exec)
<L2>:
<L0>:
  return;
  # SUCC: EXIT

  # BLOCK 4
  # PRED: 2 (eh,exec)
<L1>:
  # DEBUG D#2 => &this_1(D)->s1
  # DEBUG this => D#2
  # SUCC: 5 [100.0%]  (fallthru,exec)

  # BLOCK 5
  # PRED: 4 [100.0%]  (fallthru,exec)
<L3>:
  resx 1
  # SUCC:


compared to w/o debug insns.  I have a patch.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-01-26 12:36:39         |2010-01-26 13:30:22
               date|                            |


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


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

* [Bug tree-optimization/42806] [4.5 Regression] "-fcompare-debug failure (length)" at -O1 in recent builds
  2010-01-19 17:52 [Bug tree-optimization/42806] New: "-fcompare-debug failure (length)" at -O1 in recent builds zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-01-26 13:30 ` rguenth at gcc dot gnu dot org
@ 2010-01-26 13:32 ` rguenth at gcc dot gnu dot org
  2010-01-26 15:10 ` rguenth at gcc dot gnu dot org
  2010-01-26 15:10 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-26 13:32 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
            Summary|"-fcompare-debug failure    |[4.5 Regression] "-fcompare-
                   |(length)" at -O1 in recent  |debug failure (length)" at -
                   |builds                      |O1 in recent builds
   Target Milestone|---                         |4.5.0


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


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

* [Bug tree-optimization/42806] [4.5 Regression] "-fcompare-debug failure (length)" at -O1 in recent builds
  2010-01-19 17:52 [Bug tree-optimization/42806] New: "-fcompare-debug failure (length)" at -O1 in recent builds zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-01-26 13:32 ` [Bug tree-optimization/42806] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2010-01-26 15:10 ` rguenth at gcc dot gnu dot org
  2010-01-26 15:10 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-26 15:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-01-26 15:10 -------
Subject: Bug 42806

Author: rguenth
Date: Tue Jan 26 15:09:43 2010
New Revision: 156249

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156249
Log:
2010-01-26  Richard Guenther  <rguenther@suse.de>

        PR middle-end/42806
        * tree-eh.c (unsplit_eh): Skip debug insns.

        * g++.dg/other/pr42806.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/other/pr42806.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-eh.c


-- 


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


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

* [Bug tree-optimization/42806] [4.5 Regression] "-fcompare-debug failure (length)" at -O1 in recent builds
  2010-01-19 17:52 [Bug tree-optimization/42806] New: "-fcompare-debug failure (length)" at -O1 in recent builds zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2010-01-26 15:10 ` rguenth at gcc dot gnu dot org
@ 2010-01-26 15:10 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-26 15:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-01-26 15:10 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-01-26 15:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-19 17:52 [Bug tree-optimization/42806] New: "-fcompare-debug failure (length)" at -O1 in recent builds zsojka at seznam dot cz
2010-01-19 17:53 ` [Bug tree-optimization/42806] " zsojka at seznam dot cz
2010-01-25 17:35 ` zsojka at seznam dot cz
2010-01-26 12:36 ` rguenth at gcc dot gnu dot org
2010-01-26 13:30 ` rguenth at gcc dot gnu dot org
2010-01-26 13:32 ` [Bug tree-optimization/42806] [4.5 Regression] " rguenth at gcc dot gnu dot org
2010-01-26 15:10 ` rguenth at gcc dot gnu dot org
2010-01-26 15:10 ` rguenth 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).