public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758
       [not found] <bug-23625-7559@http.gcc.gnu.org/bugzilla/>
@ 2006-01-23 17:06 ` bonzini at gnu dot org
  0 siblings, 0 replies; 10+ messages in thread
From: bonzini at gnu dot org @ 2006-01-23 17:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from bonzini at gnu dot org  2006-01-23 17:06 -------
That's not the correct fix.  Every user of bsi_after_labels does a
bsi_insert_after, and that inserts after the first executable statement (rather
than before) if there is no label in the basic block.


-- 


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


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

* [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758
  2005-08-29 15:25 [Bug tree-optimization/23625] New: " micis at gmx dot de
                   ` (6 preceding siblings ...)
  2005-09-27 21:46 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-27 23:46 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-27 23:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-27 23:45 -------
Fixed.

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


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


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

* [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758
  2005-08-29 15:25 [Bug tree-optimization/23625] New: " micis at gmx dot de
                   ` (5 preceding siblings ...)
  2005-09-09 21:54 ` pinskia at physics dot uc dot edu
@ 2005-09-27 21:46 ` cvs-commit at gcc dot gnu dot org
  2005-09-27 23:46 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-27 21:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-27 21:45 -------
Subject: Bug 23625

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dpatel@gcc.gnu.org	2005-09-27 21:44:55

Modified files:
	gcc            : ChangeLog tree-flow-inline.h 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: pr23625.c 

Log message:
	PR tree-optimization/23625
	* tree-flow-inline.h (bsi_after_labels): Remove, first statement is
	LABEL_EXPR, assertion check.
	
	* gcc.dg/PR23625.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10034&r2=2.10035
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow-inline.h.diff?cvsroot=gcc&r1=2.57&r2=2.58
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6107&r2=1.6108
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr23625.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* Re: [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758
  2005-09-09 21:50 ` janis at gcc dot gnu dot org
@ 2005-09-09 21:54   ` Andrew Pinski
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Pinski @ 2005-09-09 21:54 UTC (permalink / raw)
  To: gcc-bugzilla; +Cc: gcc-bugs

> 
> 
> ------- Additional Comments From janis at gcc dot gnu dot org  2005-09-09 21:50 -------
> The testcase starts failing with this patch from irar:
> 
>   http://gcc.gnu.org/ml/gcc-cvs/2005-07/msg00888.html
> 
> Ira, if this was a merge from a branch then I can do a regression hunt on
> that branch, if that would be useful.
This really a latent bug in bsi_after_labels.

-- Pinski


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

* [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758
  2005-08-29 15:25 [Bug tree-optimization/23625] New: " micis at gmx dot de
                   ` (4 preceding siblings ...)
  2005-09-09 21:50 ` janis at gcc dot gnu dot org
@ 2005-09-09 21:54 ` pinskia at physics dot uc dot edu
  2005-09-27 21:46 ` cvs-commit at gcc dot gnu dot org
  2005-09-27 23:46 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2005-09-09 21:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at physics dot uc dot edu  2005-09-09 21:54 -------
Subject: Re:  [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758

> 
> 
> ------- Additional Comments From janis at gcc dot gnu dot org  2005-09-09 21:50 -------
> The testcase starts failing with this patch from irar:
> 
>   http://gcc.gnu.org/ml/gcc-cvs/2005-07/msg00888.html
> 
> Ira, if this was a merge from a branch then I can do a regression hunt on
> that branch, if that would be useful.
This really a latent bug in bsi_after_labels.

-- Pinski


-- 


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


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

* [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758
  2005-08-29 15:25 [Bug tree-optimization/23625] New: " micis at gmx dot de
                   ` (3 preceding siblings ...)
  2005-08-31 21:35 ` pinskia at gcc dot gnu dot org
@ 2005-09-09 21:50 ` janis at gcc dot gnu dot org
  2005-09-09 21:54   ` Andrew Pinski
  2005-09-09 21:54 ` pinskia at physics dot uc dot edu
                   ` (2 subsequent siblings)
  7 siblings, 1 reply; 10+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-09-09 21:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From janis at gcc dot gnu dot org  2005-09-09 21:50 -------
The testcase starts failing with this patch from irar:

  http://gcc.gnu.org/ml/gcc-cvs/2005-07/msg00888.html

Ira, if this was a merge from a branch then I can do a regression hunt on
that branch, if that would be useful.

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


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


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

* [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758
  2005-08-29 15:25 [Bug tree-optimization/23625] New: " micis at gmx dot de
                   ` (2 preceding siblings ...)
  2005-08-31 21:24 ` pinskia at gcc dot gnu dot org
@ 2005-08-31 21:35 ` pinskia at gcc dot gnu dot org
  2005-09-09 21:50 ` janis at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 21:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-31 21:24 -------
It also ICEs on powerpc-darwin.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|x86_64-*-linux-gnu          |


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


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

* [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758
  2005-08-29 15:25 [Bug tree-optimization/23625] New: " micis at gmx dot de
  2005-08-29 15:42 ` [Bug tree-optimization/23625] [4.1 Regression] " pinskia at gcc dot gnu dot org
  2005-08-29 16:12 ` pinskia at gcc dot gnu dot org
@ 2005-08-31 21:24 ` pinskia at gcc dot gnu dot org
  2005-08-31 21:35 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 21:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-31 21:21 -------
This is a bug in ifcvt:
#0  internal_error (gmsgid=0xb1eb1f "in %s, at %s:%d") at /home/pinskia/src/onetest/gcc/gcc/
diagnostic.c:534
#1  0x000000000060c3f2 in fancy_abort (file=0xbe7b20 "/home/pinskia/src/onetest/gcc/gcc/tree-
flow-inline.h", line=758, function=0xbe7b6b "bsi_after_labels")
    at /home/pinskia/src/onetest/gcc/gcc/diagnostic.c:590
#2  0x0000000000a23ce7 in bsi_after_labels (bb=0x2a95c25c00) at tree-flow-inline.h:758
#3  0x0000000000a22ece in process_phi_nodes (loop=0xe680c0) at /home/pinskia/src/onetest/gcc/
gcc/tree-if-conv.c:836
#4  0x0000000000a22fae in combine_blocks (loop=0xe680c0) at /home/pinskia/src/onetest/gcc/gcc/
tree-if-conv.c:868
#5  0x0000000000a217fa in tree_if_conversion (loop=0xe680c0, for_vectorizer=1 '\001') at /home/
pinskia/src/onetest/gcc/gcc/tree-if-conv.c:201
#6  0x0000000000a2382b in main_tree_if_conversion () at /home/pinskia/src/onetest/gcc/gcc/tree-
if-conv.c:1113
#7  0x0000000000946100 in execute_one_pass (pass=0xd1d520) at /home/pinskia/src/onetest/gcc/
gcc/passes.c:808


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


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


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

* [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758
  2005-08-29 15:25 [Bug tree-optimization/23625] New: " micis at gmx dot de
  2005-08-29 15:42 ` [Bug tree-optimization/23625] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-08-29 16:12 ` pinskia at gcc dot gnu dot org
  2005-08-31 21:24 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-29 16:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-29 16:10 -------
Confirmed, reduced testcase:
typedef long INT32;
void find_best_colors ()
{
int ic0, ic1, ic2;
INT32 * bptr;
INT32 dist1;
INT32 dist2;
INT32 xx1;
for (ic0 = (1<<(5 -3))-1;ic0 >= 0;ic0--)
{
  for (ic1 = (1<<(6 -3))-1;ic1 >= 0;ic1--)
  {
    dist2 = dist1;
     for (ic2 = (1<<(5 -3))-1;ic2 >= 0;ic2--)
     {
        *bptr = dist2;
        bptr++;
     }
     dist1 += xx1;
  }
}
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-29 16:10:14
               date|                            |


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


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

* [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758
  2005-08-29 15:25 [Bug tree-optimization/23625] New: " micis at gmx dot de
@ 2005-08-29 15:42 ` pinskia at gcc dot gnu dot org
  2005-08-29 16:12 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-29 15:42 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.1.0
      Known to work|                            |4.0.0
            Summary|ICE: in bsi_after_labels, at|[4.1 Regression] ICE: in
                   |tree-flow-inline.h:758      |bsi_after_labels, at tree-
                   |                            |flow-inline.h:758
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2006-01-23 17:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23625-7559@http.gcc.gnu.org/bugzilla/>
2006-01-23 17:06 ` [Bug tree-optimization/23625] [4.1 Regression] ICE: in bsi_after_labels, at tree-flow-inline.h:758 bonzini at gnu dot org
2005-08-29 15:25 [Bug tree-optimization/23625] New: " micis at gmx dot de
2005-08-29 15:42 ` [Bug tree-optimization/23625] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-08-29 16:12 ` pinskia at gcc dot gnu dot org
2005-08-31 21:24 ` pinskia at gcc dot gnu dot org
2005-08-31 21:35 ` pinskia at gcc dot gnu dot org
2005-09-09 21:50 ` janis at gcc dot gnu dot org
2005-09-09 21:54   ` Andrew Pinski
2005-09-09 21:54 ` pinskia at physics dot uc dot edu
2005-09-27 21:46 ` cvs-commit at gcc dot gnu dot org
2005-09-27 23:46 ` pinskia 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).