public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce
@ 2010-10-26 13:57 zsojka at seznam dot cz
2010-10-26 14:15 ` [Bug tree-optimization/46184] " rguenth at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-26 13:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46184
Summary: [4.6 Regression] ICE: SIGSEGV in
vectorizable_reduction (tree-vect-loop.c:4067) with -O
-ftree-vectorize -fno-tree-copy-prop -fno-tree-dce
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Created attachment 22160
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22160
reduced testcase (from gcc.dg/vect/vect-cond-4.c)
valgrind output:
$ gcc -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce pr46184.c
==10721== Invalid read of size 2
==10721== at 0x9DC5C2: vectorizable_reduction (tree-vect-loop.c:4067)
==10721== by 0x9D3D1A: vect_analyze_stmt (tree-vect-stmts.c:4661)
==10721== by 0x9DF616: vect_analyze_loop (tree-vect-loop.c:1248)
==10721== by 0x9EC288: vectorize_loops (tree-vectorizer.c:219)
==10721== by 0x797A5E: execute_one_pass (passes.c:1560)
==10721== by 0x797CF4: execute_pass_list (passes.c:1615)
==10721== by 0x797D06: execute_pass_list (passes.c:1616)
==10721== by 0x797D06: execute_pass_list (passes.c:1616)
==10721== by 0x8E4B65: tree_rest_of_compilation (tree-optimize.c:422)
==10721== by 0xAAF281: cgraph_expand_function (cgraphunit.c:1494)
==10721== by 0xAB1849: cgraph_optimize (cgraphunit.c:1553)
==10721== by 0xAB1DA9: cgraph_finalize_compilation_unit (cgraphunit.c:1016)
==10721== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==10721==
pr46184.c: In function 'foo':
pr46184.c:4:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r165915 - crash
r159696 - crash
r158095 - OK
4.5 r165781 - OK
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46184] [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce
2010-10-26 13:57 [Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce zsojka at seznam dot cz
@ 2010-10-26 14:15 ` rguenth at gcc dot gnu.org
2010-10-26 16:32 ` hjl.tools at gmail dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-26 14:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46184
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46184] [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce
2010-10-26 13:57 [Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce zsojka at seznam dot cz
2010-10-26 14:15 ` [Bug tree-optimization/46184] " rguenth at gcc dot gnu.org
@ 2010-10-26 16:32 ` hjl.tools at gmail dot com
2010-10-29 12:53 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-26 16:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46184
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.26 16:32:20
CC| |rguenth at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-26 16:32:20 UTC ---
It is caused by revision 158157:
http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00261.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46184] [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce
2010-10-26 13:57 [Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce zsojka at seznam dot cz
2010-10-26 14:15 ` [Bug tree-optimization/46184] " rguenth at gcc dot gnu.org
2010-10-26 16:32 ` hjl.tools at gmail dot com
@ 2010-10-29 12:53 ` rguenth at gcc dot gnu.org
2010-11-02 14:24 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-29 12:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46184
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> 2010-10-29 12:52:56 UTC ---
Mine.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46184] [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce
2010-10-26 13:57 [Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-10-29 12:53 ` rguenth at gcc dot gnu.org
@ 2010-11-02 14:24 ` rguenth at gcc dot gnu.org
2010-11-02 15:46 ` rguenth at gcc dot gnu.org
2010-11-02 15:48 ` rguenth at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-02 14:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46184
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-02 14:24:25 UTC ---
I have a patch.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46184] [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce
2010-10-26 13:57 [Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-11-02 14:24 ` rguenth at gcc dot gnu.org
@ 2010-11-02 15:46 ` rguenth at gcc dot gnu.org
2010-11-02 15:48 ` rguenth at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-02 15:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46184
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-02 15:46:50 UTC ---
Author: rguenth
Date: Tue Nov 2 15:46:46 2010
New Revision: 166194
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166194
Log:
2010-11-02 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46184
* tree-vect-loop.c (vectorizable_reduction): Try to obtain the
input vector type from the reduction operand as well.
* gcc.dg/pr46184.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/pr46184.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 tree-optimization/46184] [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce
2010-10-26 13:57 [Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-11-02 15:46 ` rguenth at gcc dot gnu.org
@ 2010-11-02 15:48 ` rguenth at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-02 15:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46184
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-02 15:48:15 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-11-02 15:48 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 13:57 [Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce zsojka at seznam dot cz
2010-10-26 14:15 ` [Bug tree-optimization/46184] " rguenth at gcc dot gnu.org
2010-10-26 16:32 ` hjl.tools at gmail dot com
2010-10-29 12:53 ` rguenth at gcc dot gnu.org
2010-11-02 14:24 ` rguenth at gcc dot gnu.org
2010-11-02 15:46 ` rguenth at gcc dot gnu.org
2010-11-02 15:48 ` rguenth 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).