public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/27891]  New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
@ 2006-06-04 11:13 tbm at cyrius dot com
  2006-06-04 11:14 ` [Bug target/27891] " tbm at cyrius dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: tbm at cyrius dot com @ 2006-06-04 11:13 UTC (permalink / raw)
  To: gcc-bugs

ICE on Alpha in tree_split_edge, at tree-cfg.c:3107.  Works with gcc 3.4 and
current gcc 4.2, fails with 4.0 and 4.1.

tbm@juist:~/delta/bin$ g++-4.1 -c -O1 mini.c
mini.c: In function 'int domisc(const char*)':
mini.c:27: internal compiler error: in tree_split_edge, at tree-cfg.c:3107
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/cctyNtwC.out file, please attach this to
your bugreport.
tbm@juist:~/delta/bin$ g++-4.1 -c mini.c
tbm@juist:~/delta/bin$ g++-4.0 -c -O2 mini.c
mini.c: In function 'int domisc(const char*)':
mini.c:27: internal compiler error: in tree_split_edge, at tree-cfg.c:3226
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
tbm@juist:~/delta/bin$ /usr/lib/gcc-snapshot/bin/g++ -c -O2 mini.c
tbm@juist:~/delta/bin$


-- 
           Summary: [4.0/4.1 regression] ICE in tree_split_edge, at tree-
                    cfg.c:3107
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
 GCC build triplet: alpha-linux-gnu
  GCC host triplet: alpha-linux-gnu
GCC target triplet: alpha-linux-gnu


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
@ 2006-06-04 11:14 ` tbm at cyrius dot com
  2006-06-04 12:51 ` falk at debian dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: tbm at cyrius dot com @ 2006-06-04 11:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2006-06-04 11:14 -------
Created an attachment (id=11593)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11593&action=view)
test case


-- 


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
  2006-06-04 11:14 ` [Bug target/27891] " tbm at cyrius dot com
@ 2006-06-04 12:51 ` falk at debian dot org
  2006-06-04 19:32 ` jsm28 at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: falk at debian dot org @ 2006-06-04 12:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from falk at debian dot org  2006-06-04 12:51 -------
Here is a cleaned-up testcase:

int firstkey();
void DBM_error(int);

void domisc() {
    int i = 0;
    try {
        try {
            firstkey();
            while (1) {
                i++;
                firstkey();
            }
        } catch (int) {
            ;
        }
        DBM_error(i);
    } catch (int) {
        ;
    }
}

I have no idea why this would happen only on Alpha, it seems unlikely it's
actually a target bug...


-- 

falk at debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.0.3 4.1.0
      Known to work|                            |3.4.6 4.2.0


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
  2006-06-04 11:14 ` [Bug target/27891] " tbm at cyrius dot com
  2006-06-04 12:51 ` falk at debian dot org
@ 2006-06-04 19:32 ` jsm28 at gcc dot gnu dot org
  2006-10-22 12:50 ` falk at debian dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-06-04 19:32 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.2


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2006-06-04 19:32 ` jsm28 at gcc dot gnu dot org
@ 2006-10-22 12:50 ` falk at debian dot org
  2006-10-23 19:16 ` janis at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: falk at debian dot org @ 2006-10-22 12:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from falk at debian dot org  2006-10-22 12:50 -------
This bug is still there in 4.1, but not in mainline.

Janis, can you perhaps do a regression hunt to see what fixed this and whether
it is feasible to backport?


-- 

falk at debian dot org changed:

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


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2006-10-22 12:50 ` falk at debian dot org
@ 2006-10-23 19:16 ` janis at gcc dot gnu dot org
  2006-10-29  9:57 ` falk at debian dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-10-23 19:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from janis at gcc dot gnu dot org  2006-10-23 19:16 -------
A regression hunt using the testcase from comment #2 with -O2 using an
alpha-linux cross compiler identified this patch which fixed the ICE on
mainline:

    http://gcc.gnu.org/viewcvs?view=rev&rev=110556

    r110556 | rakdver | 2006-02-03 19:28:09 +0000 (Fri, 03 Feb 2006)


-- 


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2006-10-23 19:16 ` janis at gcc dot gnu dot org
@ 2006-10-29  9:57 ` falk at debian dot org
  2006-10-29 10:00 ` rakdver at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: falk at debian dot org @ 2006-10-29  9:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from falk at debian dot org  2006-10-29 09:57 -------
Zdenek,

do you think this patch (or another fix) can be backported to 4.1?

http://gcc.gnu.org/ml/gcc-patches/2006-01/msg01259.html


-- 

falk at debian dot org changed:

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


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2006-10-29  9:57 ` falk at debian dot org
@ 2006-10-29 10:00 ` rakdver at gcc dot gnu dot org
  2006-11-01 18:07 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-10-29 10:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rakdver at gcc dot gnu dot org  2006-10-29 10:00 -------
> do you think this patch (or another fix) can be backported to 4.1?
> 
> http://gcc.gnu.org/ml/gcc-patches/2006-01/msg01259.html

Given the nature of the patch, I do not think this is the right approach to
fixing this PR.


-- 

rakdver at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rakdver at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|0000-00-00 00:00:00         |2006-10-29 10:00:04
               date|                            |


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2006-10-29 10:00 ` rakdver at gcc dot gnu dot org
@ 2006-11-01 18:07 ` mmitchel at gcc dot gnu dot org
  2006-11-02 19:19 ` rakdver at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-11-01 18:07 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2006-11-01 18:07 ` mmitchel at gcc dot gnu dot org
@ 2006-11-02 19:19 ` rakdver at gcc dot gnu dot org
  2006-11-02 20:57 ` rakdver at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-11-02 19:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rakdver at gcc dot gnu dot org  2006-11-02 19:18 -------
Subject: Bug 27891

Author: rakdver
Date: Thu Nov  2 19:18:25 2006
New Revision: 118423

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118423
Log:
        PR tree-optimization/27891
        * tree-ssa-loop-ivopts.c (rewrite_use_outer): Do not insert code
        on abnormal edge.

        * gcc++.dg/tree-ssa/pr27891.c: New test.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/tree-ssa/pr27891.C
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/tree-ssa-loop-ivopts.c


-- 


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
                   ` (8 preceding siblings ...)
  2006-11-02 19:19 ` rakdver at gcc dot gnu dot org
@ 2006-11-02 20:57 ` rakdver at gcc dot gnu dot org
  2007-02-14  9:38 ` mmitchel at gcc dot gnu dot org
  2007-02-14 10:04 ` rakdver at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-11-02 20:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rakdver at gcc dot gnu dot org  2006-11-02 20:57 -------
Subject: Bug 27891

Author: rakdver
Date: Thu Nov  2 20:57:35 2006
New Revision: 118430

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118430
Log:
        PR tree-optimization/27891
        * tree-ssa-loop-ivopts.c (rewrite_use_outer): Do not insert code
        on abnormal edge.

        * gcc++.dg/tree-ssa/pr27891.c: New test.


Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/tree-ssa/pr27891.C
Modified:
    branches/gcc-4_0-branch/gcc/ChangeLog
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_0-branch/gcc/tree-ssa-loop-ivopts.c


-- 


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
                   ` (9 preceding siblings ...)
  2006-11-02 20:57 ` rakdver at gcc dot gnu dot org
@ 2007-02-14  9:38 ` mmitchel at gcc dot gnu dot org
  2007-02-14 10:04 ` rakdver at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:38 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107
  2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
                   ` (10 preceding siblings ...)
  2007-02-14  9:38 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14 10:04 ` rakdver at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-02-14 10:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rakdver at gcc dot gnu dot org  2007-02-14 09:49 -------
This seems to be fixed both in 4.0 and in 4.1.


-- 

rakdver at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-02-14 10:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-04 11:13 [Bug target/27891] New: [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107 tbm at cyrius dot com
2006-06-04 11:14 ` [Bug target/27891] " tbm at cyrius dot com
2006-06-04 12:51 ` falk at debian dot org
2006-06-04 19:32 ` jsm28 at gcc dot gnu dot org
2006-10-22 12:50 ` falk at debian dot org
2006-10-23 19:16 ` janis at gcc dot gnu dot org
2006-10-29  9:57 ` falk at debian dot org
2006-10-29 10:00 ` rakdver at gcc dot gnu dot org
2006-11-01 18:07 ` mmitchel at gcc dot gnu dot org
2006-11-02 19:19 ` rakdver at gcc dot gnu dot org
2006-11-02 20:57 ` rakdver at gcc dot gnu dot org
2007-02-14  9:38 ` mmitchel at gcc dot gnu dot org
2007-02-14 10:04 ` rakdver 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).