public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53409] New: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630
@ 2012-05-18 19:46 regehr at cs dot utah.edu
2012-05-19 21:27 ` [Bug middle-end/53409] [4.7/4.8 Regression] " hjl.tools at gmail dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: regehr at cs dot utah.edu @ 2012-05-18 19:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53409
Bug #: 53409
Summary: ICE: vector VEC(vec_void_p,base) index domain error,
in vinfo_for_stmt at tree-vectorizer.h:630
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: regehr@cs.utah.edu
CC: chenyang@cs.utah.edu
[regehr@dyson r50]$ current-gcc -v
Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r187663-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r187663-install
--program-prefix=r187663- --enable-languages=c,c++
Thread model: posix
gcc version 4.8.0 20120518 (experimental) (GCC)
[regehr@dyson r50]$ current-gcc -Wall -O3 small.c
small.c: In function 'main':
small.c:4:1: internal compiler error: vector VEC(vec_void_p,base) index domain
error, in vinfo_for_stmt at tree-vectorizer.h:630
main ()
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[regehr@dyson r50]$ cat small.c
int a, c, d, e, f;
int b[0];
int
main ()
{
if (f)
e = 0;
int g = d;
c = 0;
for (; c <= 1; c++)
{
a = 0;
for (; a <= 1; a = (char) a + 1)
b[c] = g;
a = 0;
}
return 0;
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/53409] [4.7/4.8 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630
2012-05-18 19:46 [Bug c/53409] New: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630 regehr at cs dot utah.edu
@ 2012-05-19 21:27 ` hjl.tools at gmail dot com
2012-05-21 10:07 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2012-05-19 21:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53409
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-05-19
Component|c |middle-end
CC| |rguenth at gcc dot gnu.org
Ever Confirmed|0 |1
Summary|ICE: vector |[4.7/4.8 Regression] ICE:
|VEC(vec_void_p,base) index |vector VEC(vec_void_p,base)
|domain error, in |index domain error, in
|vinfo_for_stmt at |vinfo_for_stmt at
|tree-vectorizer.h:630 |tree-vectorizer.h:630
Target Milestone|--- |4.7.1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-05-19 20:30:50 UTC ---
It is caused by revision 171734:
http://gcc.gnu.org/ml/gcc-cvs/2011-03/msg01160.html:
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/53409] [4.7/4.8 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630
2012-05-18 19:46 [Bug c/53409] New: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630 regehr at cs dot utah.edu
2012-05-19 21:27 ` [Bug middle-end/53409] [4.7/4.8 Regression] " hjl.tools at gmail dot com
@ 2012-05-21 10:07 ` rguenth at gcc dot gnu.org
2012-05-21 10:20 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-21 10:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53409
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-21 08:53:23 UTC ---
Mine.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/53409] [4.7/4.8 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630
2012-05-18 19:46 [Bug c/53409] New: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630 regehr at cs dot utah.edu
2012-05-19 21:27 ` [Bug middle-end/53409] [4.7/4.8 Regression] " hjl.tools at gmail dot com
2012-05-21 10:07 ` rguenth at gcc dot gnu.org
@ 2012-05-21 10:20 ` jakub at gcc dot gnu.org
2012-05-21 15:14 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-05-21 10:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53409
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-21 09:37:38 UTC ---
Created attachment 27455
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27455
gcc48-pr53409.patch
Untested fix.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/53409] [4.7/4.8 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630
2012-05-18 19:46 [Bug c/53409] New: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630 regehr at cs dot utah.edu
` (2 preceding siblings ...)
2012-05-21 10:20 ` jakub at gcc dot gnu.org
@ 2012-05-21 15:14 ` jakub at gcc dot gnu.org
2012-05-21 21:06 ` jakub at gcc dot gnu.org
2012-05-22 7:46 ` jakub at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-05-21 15:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53409
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-21 14:27:21 UTC ---
Author: jakub
Date: Mon May 21 14:27:10 2012
New Revision: 187716
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187716
Log:
PR tree-optimization/53409
* tree-vect-loop.c (vect_analyze_loop_operations): Don't check
vinfo_for_stmt (op_def_stmt) if op_def_stmt isn't inside loop.
* gcc.c-torture/compile/pr53409.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr53409.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-loop.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/53409] [4.7/4.8 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630
2012-05-18 19:46 [Bug c/53409] New: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630 regehr at cs dot utah.edu
` (3 preceding siblings ...)
2012-05-21 15:14 ` jakub at gcc dot gnu.org
@ 2012-05-21 21:06 ` jakub at gcc dot gnu.org
2012-05-22 7:46 ` jakub at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-05-21 21:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53409
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-21 21:02:50 UTC ---
Author: jakub
Date: Mon May 21 21:02:40 2012
New Revision: 187739
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187739
Log:
PR tree-optimization/53409
* tree-vect-loop.c (vect_analyze_loop_operations): Don't check
vinfo_for_stmt (op_def_stmt) if op_def_stmt isn't inside loop.
* gcc.c-torture/compile/pr53409.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/compile/pr53409.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/tree-vect-loop.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/53409] [4.7/4.8 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630
2012-05-18 19:46 [Bug c/53409] New: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630 regehr at cs dot utah.edu
` (4 preceding siblings ...)
2012-05-21 21:06 ` jakub at gcc dot gnu.org
@ 2012-05-22 7:46 ` jakub at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-05-22 7:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53409
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |FIXED
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-22 07:38:01 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-05-22 7:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-18 19:46 [Bug c/53409] New: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630 regehr at cs dot utah.edu
2012-05-19 21:27 ` [Bug middle-end/53409] [4.7/4.8 Regression] " hjl.tools at gmail dot com
2012-05-21 10:07 ` rguenth at gcc dot gnu.org
2012-05-21 10:20 ` jakub at gcc dot gnu.org
2012-05-21 15:14 ` jakub at gcc dot gnu.org
2012-05-21 21:06 ` jakub at gcc dot gnu.org
2012-05-22 7:46 ` jakub at gcc dot gnu.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).