public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize
@ 2005-07-14 10:08 micis at gmx dot de
2005-07-14 10:12 ` [Bug tree-optimization/22480] " micis at gmx dot de
` (14 more replies)
0 siblings, 15 replies; 16+ messages in thread
From: micis at gmx dot de @ 2005-07-14 10:08 UTC (permalink / raw)
To: gcc-bugs
When I compile qt334 with the actual snapshot of gcc41 I get an ICE when I
enable autovectorisation.
Michael Cieslinski
g++41f -c -O2 -ftree-vectorize -o qimage.o qimage.ii
kernel/qimage.cpp: In function 'bool convert_32_to_8(const QImage*, QImage*,
int, QRgb*, int)':
kernel/qimage.cpp:1489: internal compiler error: in convert_move, at expr.c:390
Please submit a full bug report, with preprocessed source if appropriate.
g++41f -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.1-20050709/configure --prefix=/usr/local/gcc41f
--program-suffix=41f --with-arch=opteron --enable-languages=c,c++
--enable-checking
Thread model: posix
gcc version 4.1.0 20050709 (experimental)
--
Summary: ICE in convert_move, at expr.c:390 with -ftree-vectorize
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=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/22480] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
@ 2005-07-14 10:12 ` micis at gmx dot de
2005-07-14 11:06 ` micis at gmx dot de
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: micis at gmx dot de @ 2005-07-14 10:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From micis at gmx dot de 2005-07-14 10:08 -------
Created an attachment (id=9266)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9266&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/22480] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
2005-07-14 10:12 ` [Bug tree-optimization/22480] " micis at gmx dot de
@ 2005-07-14 11:06 ` micis at gmx dot de
2005-07-14 13:57 ` pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: micis at gmx dot de @ 2005-07-14 11:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From micis at gmx dot de 2005-07-14 10:14 -------
This ICE occurs first with snapshot 20050417, snapshot 20050410 does not ICE
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/22480] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
2005-07-14 10:12 ` [Bug tree-optimization/22480] " micis at gmx dot de
2005-07-14 11:06 ` micis at gmx dot de
@ 2005-07-14 13:57 ` pinskia at gcc dot gnu dot org
2005-07-15 1:39 ` [Bug tree-optimization/22480] [4.1 Regression] " pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-14 13:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 13:55 -------
This is most likely a type mismatch.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia 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 |x86_64-*-linux-gnu
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (2 preceding siblings ...)
2005-07-14 13:57 ` pinskia at gcc dot gnu dot org
@ 2005-07-15 1:39 ` pinskia at gcc dot gnu dot org
2005-07-15 2:27 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-15 1:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-15 01:37 -------
Confirmed, reduced testcase:
void convert_32_to_8(void)
{
static unsigned bm[16];
int j;
for (j=0; j<16;j++)
bm[j]<<=8;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |4.1.0
Known to work| |4.0.1
Last reconfirmed|0000-00-00 00:00:00 |2005-07-15 01:37:37
date| |
Summary|ICE in convert_move, at |[4.1 Regression] ICE in
|expr.c:390 with -ftree- |convert_move, at expr.c:390
|vectorize |with -ftree-vectorize
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (3 preceding siblings ...)
2005-07-15 1:39 ` [Bug tree-optimization/22480] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-07-15 2:27 ` pinskia at gcc dot gnu dot org
2005-07-22 19:02 ` [Bug middle-end/22480] " pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-15 2:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-15 01:39 -------
This is even reproducible on x86 with -O1 -msse2
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|x86_64-*-linux-gnu |x86_64-*,i?686-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (4 preceding siblings ...)
2005-07-15 2:27 ` pinskia at gcc dot gnu dot org
@ 2005-07-22 19:02 ` pinskia at gcc dot gnu dot org
2005-07-28 7:45 ` bonzini at gcc dot gnu dot org
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-22 19:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 18:59 -------
Nope the types are correct. The bug is in the middle-end when expanding VECTOR << VECTOR.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|tree-optimization |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (5 preceding siblings ...)
2005-07-22 19:02 ` [Bug middle-end/22480] " pinskia at gcc dot gnu dot org
@ 2005-07-28 7:45 ` bonzini at gcc dot gnu dot org
2005-07-28 9:06 ` bonzini at gcc dot gnu dot org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-07-28 7:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-07-28 07:11 -------
No, the bug is in the vectorizer that produces a LSHIFT_EXPR rather than a
VEC_LSHIFT_EXPR. There must have been problems committing the patch. :-(
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (6 preceding siblings ...)
2005-07-28 7:45 ` bonzini at gcc dot gnu dot org
@ 2005-07-28 9:06 ` bonzini at gcc dot gnu dot org
2005-08-03 14:35 ` reichelt at gcc dot gnu dot org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-07-28 9:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-07-28 08:20 -------
Not even that... the backend for i386 accepts an SI, not a V4SI, as the shift
count. This upsets the expander noticeably.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (7 preceding siblings ...)
2005-07-28 9:06 ` bonzini at gcc dot gnu dot org
@ 2005-08-03 14:35 ` reichelt at gcc dot gnu dot org
2005-08-22 9:38 ` micis at gmx dot de
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-03 14:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-03 14:35 -------
*** Bug 21234 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ps dot report at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (8 preceding siblings ...)
2005-08-03 14:35 ` reichelt at gcc dot gnu dot org
@ 2005-08-22 9:38 ` micis at gmx dot de
2005-08-27 15:19 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: micis at gmx dot de @ 2005-08-22 9:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From micis at gmx dot de 2005-08-22 09:03 -------
This ICE is still present with the actual snapshot (20050819)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (9 preceding siblings ...)
2005-08-22 9:38 ` micis at gmx dot de
@ 2005-08-27 15:19 ` pinskia at gcc dot gnu dot org
2005-09-10 16:31 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-27 15:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-27 15:08 -------
*** Bug 23595 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |marcus at jet dot franken
| |dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (10 preceding siblings ...)
2005-08-27 15:19 ` pinskia at gcc dot gnu dot org
@ 2005-09-10 16:31 ` pinskia at gcc dot gnu dot org
2005-09-10 16:32 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-10 16:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10 16:31 -------
*** Bug 23808 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tprince at computer dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (11 preceding siblings ...)
2005-09-10 16:31 ` pinskia at gcc dot gnu dot org
@ 2005-09-10 16:32 ` pinskia at gcc dot gnu dot org
2005-09-14 9:27 ` cvs-commit at gcc dot gnu dot org
2005-09-14 14:47 ` pinskia at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-10 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10 16:32 -------
This causes a build failure if you turn on -ftree-vectorize when building the target libraries.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (12 preceding siblings ...)
2005-09-10 16:32 ` pinskia at gcc dot gnu dot org
@ 2005-09-14 9:27 ` cvs-commit at gcc dot gnu dot org
2005-09-14 14:47 ` pinskia at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-14 9:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-14 09:27 -------
Subject: Bug 22480
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dorit@gcc.gnu.org 2005-09-14 09:27:02
Modified files:
gcc : ChangeLog Makefile.in tree-vect-transform.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg/vect: pr22480.c
Log message:
2005-09-14 Uros Bizjak <uros@kss-loka.si>
PR middle-end/22480
* tree-vect-transform.c (vectorizable_operation): Return false for
scalar shift operations and for vector shift operations with
non-invariant shift arguments. Use scalar tree operand op1 as
a shift operand when vector shift insn pattern uses scalar shift
operand.
* Makefile.in (tree-vect-transform.o): Depend on recog.h.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9953&r2=2.9954
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&r1=1.1540&r2=1.1541
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vect-transform.c.diff?cvsroot=gcc&r1=2.43&r2=2.44
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6063&r2=1.6064
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/pr22480.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
` (13 preceding siblings ...)
2005-09-14 9:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-14 14:47 ` pinskia at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-14 14:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-14 14:46 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22480
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2005-09-14 14:47 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-14 10:08 [Bug tree-optimization/22480] New: ICE in convert_move, at expr.c:390 with -ftree-vectorize micis at gmx dot de
2005-07-14 10:12 ` [Bug tree-optimization/22480] " micis at gmx dot de
2005-07-14 11:06 ` micis at gmx dot de
2005-07-14 13:57 ` pinskia at gcc dot gnu dot org
2005-07-15 1:39 ` [Bug tree-optimization/22480] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-15 2:27 ` pinskia at gcc dot gnu dot org
2005-07-22 19:02 ` [Bug middle-end/22480] " pinskia at gcc dot gnu dot org
2005-07-28 7:45 ` bonzini at gcc dot gnu dot org
2005-07-28 9:06 ` bonzini at gcc dot gnu dot org
2005-08-03 14:35 ` reichelt at gcc dot gnu dot org
2005-08-22 9:38 ` micis at gmx dot de
2005-08-27 15:19 ` pinskia at gcc dot gnu dot org
2005-09-10 16:31 ` pinskia at gcc dot gnu dot org
2005-09-10 16:32 ` pinskia at gcc dot gnu dot org
2005-09-14 9:27 ` cvs-commit at gcc dot gnu dot org
2005-09-14 14:47 ` 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).