public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize
@ 2006-05-27 12:54 p dot vanhoof at oma dot be
2006-05-27 12:55 ` [Bug tree-optimization/27779] " p dot vanhoof at oma dot be
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: p dot vanhoof at oma dot be @ 2006-05-27 12:54 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
The attached code ICE's with the mainline, but not gcc 4.1.1 or 4.0.3.
> gcc -O1 -ftree-vectorize -c a.c
a.c: In function o:
a.c:4: internal compiler error: tree check: accessed operand 2 of nop_expr with
1 operands in analyze_siv_subscript_cst_affine, at tree-data-ref.c:2335
> gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc420/configure --prefix=/usr/local/gcc420
--enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.2.0 20060525 (experimental)
--
Summary: ICE at tree-data-ref.c:2335 when using -ftree-vectorize
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: p dot vanhoof at oma dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/27779] ICE at tree-data-ref.c:2335 when using -ftree-vectorize
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
@ 2006-05-27 12:55 ` p dot vanhoof at oma dot be
2006-05-27 16:25 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: p dot vanhoof at oma dot be @ 2006-05-27 12:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from p dot vanhoof at oma dot be 2006-05-27 12:55 -------
Created an attachment (id=11518)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11518&action=view)
code that triggers the ICE
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/27779] ICE at tree-data-ref.c:2335 when using -ftree-vectorize
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
2006-05-27 12:55 ` [Bug tree-optimization/27779] " p dot vanhoof at oma dot be
@ 2006-05-27 16:25 ` rguenth at gcc dot gnu dot org
2006-05-27 17:21 ` p dot vanhoof at oma dot be
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-05-27 16:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2006-05-27 16:25 -------
Works for me with gcc (GCC) 4.2.0 20060524 (experimental).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet| |x86_64-*-*-*
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/27779] ICE at tree-data-ref.c:2335 when using -ftree-vectorize
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
2006-05-27 12:55 ` [Bug tree-optimization/27779] " p dot vanhoof at oma dot be
2006-05-27 16:25 ` rguenth at gcc dot gnu dot org
@ 2006-05-27 17:21 ` p dot vanhoof at oma dot be
2006-05-29 7:22 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: p dot vanhoof at oma dot be @ 2006-05-27 17:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from p dot vanhoof at oma dot be 2006-05-27 17:21 -------
This bug is specific to x86_64. The "long i, j" in the code is essential in
reproducing this problem (with "int i, j" there will be no ICE). Hence the
behavior is platform specific.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/27779] ICE at tree-data-ref.c:2335 when using -ftree-vectorize
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
` (2 preceding siblings ...)
2006-05-27 17:21 ` p dot vanhoof at oma dot be
@ 2006-05-29 7:22 ` pinskia at gcc dot gnu dot org
2006-05-29 7:32 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-29 7:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-05-29 07:22 -------
It also worked with 20060507.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/27779] ICE at tree-data-ref.c:2335 when using -ftree-vectorize
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
` (3 preceding siblings ...)
2006-05-29 7:22 ` pinskia at gcc dot gnu dot org
@ 2006-05-29 7:32 ` pinskia at gcc dot gnu dot org
2006-05-29 7:34 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-29 7:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-05-29 07:32 -------
Confirmed on today's compiler.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-05-29 07:32:51
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/27779] ICE at tree-data-ref.c:2335 when using -ftree-vectorize
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
` (4 preceding siblings ...)
2006-05-29 7:32 ` pinskia at gcc dot gnu dot org
@ 2006-05-29 7:34 ` pinskia at gcc dot gnu dot org
2006-05-29 13:39 ` rakdver at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-29 7:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-05-29 07:34 -------
2332 chrec_a = chrec_convert (integer_type_node, chrec_a, NULL_TREE);
2333 chrec_b = chrec_convert (integer_type_node, chrec_b, NULL_TREE);
2334 difference = chrec_fold_minus
2335 (integer_type_node, CHREC_LEFT (chrec_b), chrec_a);
Obviously caused by:
2006-05-24 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/27639
PR tree-optimization/26719
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/27779] ICE at tree-data-ref.c:2335 when using -ftree-vectorize
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
` (5 preceding siblings ...)
2006-05-29 7:34 ` pinskia at gcc dot gnu dot org
@ 2006-05-29 13:39 ` rakdver at gcc dot gnu dot org
2006-05-30 12:33 ` rakdver at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-05-29 13:39 UTC (permalink / raw)
To: gcc-bugs
--
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|2006-05-29 07:32:51 |2006-05-29 13:39:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/27779] ICE at tree-data-ref.c:2335 when using -ftree-vectorize
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
` (6 preceding siblings ...)
2006-05-29 13:39 ` rakdver at gcc dot gnu dot org
@ 2006-05-30 12:33 ` rakdver at gcc dot gnu dot org
2006-05-30 13:21 ` rakdver at gcc dot gnu dot org
2006-05-30 13:59 ` [Bug tree-optimization/27779] [4.2 Regression] " pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-05-30 12:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rakdver at gcc dot gnu dot org 2006-05-30 12:33 -------
Patch: http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01515.html
--
rakdver at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2006-
| |05/msg01515.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/27779] ICE at tree-data-ref.c:2335 when using -ftree-vectorize
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
` (7 preceding siblings ...)
2006-05-30 12:33 ` rakdver at gcc dot gnu dot org
@ 2006-05-30 13:21 ` rakdver at gcc dot gnu dot org
2006-05-30 13:59 ` [Bug tree-optimization/27779] [4.2 Regression] " pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-05-30 13:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rakdver at gcc dot gnu dot org 2006-05-30 13:21 -------
Subject: Bug 27779
Author: rakdver
Date: Tue May 30 13:21:06 2006
New Revision: 114233
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114233
Log:
PR tree-optimization/27779
* tree-data-ref.c (analyze_siv_subscript_cst_affine): Use
initial_condition instead of CHREC_LEFT.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-data-ref.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/27779] [4.2 Regression] ICE at tree-data-ref.c:2335 when using -ftree-vectorize
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
` (8 preceding siblings ...)
2006-05-30 13:21 ` rakdver at gcc dot gnu dot org
@ 2006-05-30 13:59 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-30 13:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pinskia at gcc dot gnu dot org 2006-05-30 13:59 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|ICE at tree-data-ref.c:2335 |[4.2 Regression] ICE at
|when using -ftree-vectorize |tree-data-ref.c:2335 when
| |using -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27779
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-05-30 13:59 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-27 12:54 [Bug tree-optimization/27779] New: ICE at tree-data-ref.c:2335 when using -ftree-vectorize p dot vanhoof at oma dot be
2006-05-27 12:55 ` [Bug tree-optimization/27779] " p dot vanhoof at oma dot be
2006-05-27 16:25 ` rguenth at gcc dot gnu dot org
2006-05-27 17:21 ` p dot vanhoof at oma dot be
2006-05-29 7:22 ` pinskia at gcc dot gnu dot org
2006-05-29 7:32 ` pinskia at gcc dot gnu dot org
2006-05-29 7:34 ` pinskia at gcc dot gnu dot org
2006-05-29 13:39 ` rakdver at gcc dot gnu dot org
2006-05-30 12:33 ` rakdver at gcc dot gnu dot org
2006-05-30 13:21 ` rakdver at gcc dot gnu dot org
2006-05-30 13:59 ` [Bug tree-optimization/27779] [4.2 Regression] " 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).