public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18009] New: ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included)
@ 2004-10-15 9:25 uros at kss-loka dot si
2004-10-15 12:38 ` [Bug tree-optimization/18009] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: uros at kss-loka dot si @ 2004-10-15 9:25 UTC (permalink / raw)
To: gcc-bugs
This testcase:
void Parse_UV_Vect (double UV_Vect[2])
{
double Express[4];
int Terms;
for(Terms=0;Terms<2;Terms++)
UV_Vect[Terms]=Express[Terms];
}
with 'gcc -O2 -march=pentium4 -ftree-vectorize -S err.cpp' ICEs:
err.cpp: In function `void Parse_UV_Vect(double*)':
err.cpp:1: internal compiler error: in vect_transform_stmt, at
tree-vectorizer.c:2625
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE in vect_transform_stmt, at tree-vectorizer.c:2625
(testcase included)
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uros at kss-loka dot si
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: pentium4-pc-linux-gnu
GCC host triplet: pentium4-pc-linux-gnu
GCC target triplet: pentium4-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18009
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/18009] ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included)
2004-10-15 9:25 [Bug target/18009] New: ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included) uros at kss-loka dot si
@ 2004-10-15 12:38 ` pinskia at gcc dot gnu dot org
2004-10-15 13:13 ` [Bug tree-optimization/18009] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-15 12:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-15 12:38 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|target |tree-optimization
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2004-10-15 12:38:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18009
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/18009] [4.0 Regression] ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included)
2004-10-15 9:25 [Bug target/18009] New: ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included) uros at kss-loka dot si
2004-10-15 12:38 ` [Bug tree-optimization/18009] " pinskia at gcc dot gnu dot org
@ 2004-10-15 13:13 ` pinskia at gcc dot gnu dot org
2004-10-15 15:54 ` bangerth at dealii dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-15 13:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-15 13:13 -------
This is a regression from two (or three) days ago.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE in vect_transform_stmt, |[4.0 Regression] ICE in
|at tree-vectorizer.c:2625 |vect_transform_stmt, at
|(testcase included) |tree-vectorizer.c:2625
| |(testcase included)
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18009
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/18009] [4.0 Regression] ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included)
2004-10-15 9:25 [Bug target/18009] New: ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included) uros at kss-loka dot si
2004-10-15 12:38 ` [Bug tree-optimization/18009] " pinskia at gcc dot gnu dot org
2004-10-15 13:13 ` [Bug tree-optimization/18009] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-10-15 15:54 ` bangerth at dealii dot org
2004-10-15 16:47 ` reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2004-10-15 15:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-10-15 15:54 -------
Indeed. It works with my snapshot from 20041013.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18009
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/18009] [4.0 Regression] ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included)
2004-10-15 9:25 [Bug target/18009] New: ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included) uros at kss-loka dot si
` (2 preceding siblings ...)
2004-10-15 15:54 ` bangerth at dealii dot org
@ 2004-10-15 16:47 ` reichelt at gcc dot gnu dot org
2004-10-17 17:13 ` dorit at il dot ibm dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-15 16:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-15 16:47 -------
Dorit, the regression appeared with your patch
http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg00922.html
Could you please have a look?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dorit at gcc dot gnu dot
| |org, reichelt at gcc dot gnu
| |dot org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18009
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/18009] [4.0 Regression] ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included)
2004-10-15 9:25 [Bug target/18009] New: ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included) uros at kss-loka dot si
` (3 preceding siblings ...)
2004-10-15 16:47 ` reichelt at gcc dot gnu dot org
@ 2004-10-17 17:13 ` dorit at il dot ibm dot com
2004-10-18 4:18 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dorit at il dot ibm dot com @ 2004-10-17 17:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dorit at il dot ibm dot com 2004-10-17 17:13 -------
Subject: Re: [4.0 Regression] ICE in vect_transform_stmt, at
tree-vectorizer.c:2625 (testcase included)
I'm testing a patch that fixes this problem - will submit it later today (
the problem is related to updating alignment information due to loop
peeling - in the current scheme of things this update takes place too late
).
dorit
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18009
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/18009] [4.0 Regression] ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included)
2004-10-15 9:25 [Bug target/18009] New: ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included) uros at kss-loka dot si
` (4 preceding siblings ...)
2004-10-17 17:13 ` dorit at il dot ibm dot com
@ 2004-10-18 4:18 ` pinskia at gcc dot gnu dot org
2004-11-04 5:27 ` cvs-commit at gcc dot gnu dot org
2004-11-04 13:39 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-18 4:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-18 04:18 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01421.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18009
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/18009] [4.0 Regression] ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included)
2004-10-15 9:25 [Bug target/18009] New: ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included) uros at kss-loka dot si
` (5 preceding siblings ...)
2004-10-18 4:18 ` pinskia at gcc dot gnu dot org
@ 2004-11-04 5:27 ` cvs-commit at gcc dot gnu dot org
2004-11-04 13:39 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-04 5:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-04 05:27 -------
Subject: Bug 18009
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dorit@gcc.gnu.org 2004-11-04 05:26:55
Modified files:
gcc : ChangeLog tree-vectorizer.h tree-vectorizer.c
Log message:
PR tree-optimization/18009
* tree-vectorizer.h (enum dr_alignment_support): New type.
(MAX_NUMBER_OF_UNALIGNED_DATA_REFS): Removed.
(LOOP_UNALIGNED_DR): replaced with LOOP_VINFO_UNALIGNED_DR and holds a
single data_reference (instead of a varray of references).
* tree-vectorizer.c (new_loop_vec_info): Likewise.
(vect_gen_niters_for_prolog_loop): Likewise.
(vect_update_inits_of_drs): Likewise.
(vect_update_inits_of_drs): Setting of DR_MISALIGNMENT moved to
vect_enhance_data_refs_alignment.
(vect_do_peeling_for_alignment): Likewise.
(vect_enhance_data_refs_alignment): Decide if and by how much to peel;
this functionality used to be in vect_analyze_data_refs_alignment.
Also update DR_MISALIGNMENT due to peeling; this functionality used to
be in vect_update_inits_of_drs and vect_do_peeling_for_alignment).
(vect_analyze_data_refs_alignment): Decision on whether and by how much
to peel moved to vect_enhance_data_refs_alignment. Call
vect_supportable_dr_alignment.
(vect_compute_data_ref_alignment): Set STMT_VINFO_VECTYPE.
(vect_compute_data_refs_alignment): Return bool. Consider return value
of vect_compute_data_ref_alignment and return true/false accordingly.
(vect_enhance_data_refs_alignment): Consider return value of
vect_compute_data_refs_alignment and return true/false accordingly.
(vect_supportable_dr_alignment): New function.
(vectorizable_store): Call vect_supportable_dr_alignment.
(vectorizable_load): Call vect_supportable_dr_alignment. Alignment
support checks moved from here to vect_supportable_dr_alignment.
(vect_transform_loop): Avoid 80 columns overflow.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6157&r2=2.6158
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vectorizer.h.diff?cvsroot=gcc&r1=2.6&r2=2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vectorizer.c.diff?cvsroot=gcc&r1=2.22&r2=2.23
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18009
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/18009] [4.0 Regression] ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included)
2004-10-15 9:25 [Bug target/18009] New: ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included) uros at kss-loka dot si
` (6 preceding siblings ...)
2004-11-04 5:27 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-04 13:39 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-04 13:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-04 13:39 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18009
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-11-04 13:39 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-15 9:25 [Bug target/18009] New: ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included) uros at kss-loka dot si
2004-10-15 12:38 ` [Bug tree-optimization/18009] " pinskia at gcc dot gnu dot org
2004-10-15 13:13 ` [Bug tree-optimization/18009] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-15 15:54 ` bangerth at dealii dot org
2004-10-15 16:47 ` reichelt at gcc dot gnu dot org
2004-10-17 17:13 ` dorit at il dot ibm dot com
2004-10-18 4:18 ` pinskia at gcc dot gnu dot org
2004-11-04 5:27 ` cvs-commit at gcc dot gnu dot org
2004-11-04 13:39 ` 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).