public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/23625] New: ICE: in bsi_after_labels, at tree-flow-inline.h:758
@ 2005-08-29 15:25 micis at gmx dot de
2005-08-29 15:31 ` [Bug tree-optimization/23625] " micis at gmx dot de
` (8 more replies)
0 siblings, 9 replies; 11+ messages in thread
From: micis at gmx dot de @ 2005-08-29 15:25 UTC (permalink / raw)
To: gcc-bugs
When I compile qt334 with the actual snapshot (20050826) of gcc41 I get an ICE
when I use -O2 -ftree-loop-linear -ftree-vectorize.
last working snapshot is: gcc-4.1-20050723
first failing snapshot is: gcc-4.1-20050730
Michael Cieslinski
gcc41m -c -O2 -ftree-loop-linear -ftree-vectorize -o jquant2.o jquant2.i
../../../../src/3rdparty/libjpeg/jquant2.c: In function 'fill_inverse_cmap':
../../../../src/3rdparty/libjpeg/jquant2.c:859: internal compiler error: in
bsi_after_labels, at tree-flow-inline.h:758
Please submit a full bug report, with preprocessed source if appropriate.
gcc41m -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.1-20050826/configure --prefix=/usr/local/gcc41m --
program-suffix=41m --with-arch=opteron --enable-languages=c,c++ --enable-
checking
Thread model: posix
gcc version 4.1.0 20050826 (experimental)
--
Summary: ICE: in bsi_after_labels, at tree-flow-inline.h:758
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: micis at gmx dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23625
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/23625] ICE: in bsi_after_labels, at tree-flow-inline.h:758
2005-08-29 15:25 [Bug tree-optimization/23625] New: ICE: in bsi_after_labels, at tree-flow-inline.h:758 micis at gmx dot de
@ 2005-08-29 15:31 ` micis at gmx dot de
2005-08-29 15:42 ` [Bug tree-optimization/23625] [4.1 Regression] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: micis at gmx dot de @ 2005-08-29 15:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From micis at gmx dot de 2005-08-29 15:26 -------
Created an attachment (id=9613)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9613&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23625
^ permalink raw reply [flat|nested] 11+ 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: ICE: in bsi_after_labels, at tree-flow-inline.h:758 micis at gmx dot de
2005-08-29 15:31 ` [Bug tree-optimization/23625] " 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)
8 siblings, 0 replies; 11+ 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] 11+ 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: ICE: in bsi_after_labels, at tree-flow-inline.h:758 micis at gmx dot de
2005-08-29 15:31 ` [Bug tree-optimization/23625] " 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)
8 siblings, 0 replies; 11+ 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] 11+ 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: ICE: in bsi_after_labels, at tree-flow-inline.h:758 micis at gmx dot de
` (2 preceding siblings ...)
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)
8 siblings, 0 replies; 11+ 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] 11+ 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: ICE: in bsi_after_labels, at tree-flow-inline.h:758 micis at gmx dot de
` (3 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)
8 siblings, 0 replies; 11+ 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] 11+ 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: ICE: in bsi_after_labels, at tree-flow-inline.h:758 micis at gmx dot de
` (4 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)
8 siblings, 1 reply; 11+ 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] 11+ 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; 11+ 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] 11+ 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: ICE: in bsi_after_labels, at tree-flow-inline.h:758 micis at gmx dot de
` (5 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
8 siblings, 0 replies; 11+ 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] 11+ 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: ICE: in bsi_after_labels, at tree-flow-inline.h:758 micis at gmx dot de
` (6 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
8 siblings, 0 replies; 11+ 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] 11+ 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: ICE: in bsi_after_labels, at tree-flow-inline.h:758 micis at gmx dot de
` (7 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
8 siblings, 0 replies; 11+ 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] 11+ messages in thread
end of thread, other threads:[~2005-09-27 23:46 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-29 15:25 [Bug tree-optimization/23625] New: ICE: in bsi_after_labels, at tree-flow-inline.h:758 micis at gmx dot de
2005-08-29 15:31 ` [Bug tree-optimization/23625] " 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).