public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/52721] New: segfault in vect_init_vector
@ 2012-03-26 10:16 amodra at gmail dot com
2012-03-26 11:27 ` [Bug tree-optimization/52721] " rguenth at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: amodra at gmail dot com @ 2012-03-26 10:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52721
Bug #: 52721
Summary: segfault in vect_init_vector
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: amodra@gmail.com
Created attachment 26996
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26996
preprocessed source
gcc.dg/vect/pr22480.c is failing on powerpc-linux due to the call from
tree-vect-stmts.c:3167 passing a non-vector type for vector_type.
compile with cc1 -fpreprocessed pr22480.i -msecure-plt -quiet -dumpbase
pr22480.c -maltivec -mvsx -mno-allow-movmisalign -m32 -auxbase-strip pr22480.s
-O2 -version -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details -o
pr22480.s
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/52721] segfault in vect_init_vector
2012-03-26 10:16 [Bug tree-optimization/52721] New: segfault in vect_init_vector amodra at gmail dot com
@ 2012-03-26 11:27 ` rguenth at gcc dot gnu.org
2012-03-26 12:44 ` amodra at gmail dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-26 11:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52721
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-03-26
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-26 11:17:02 UTC ---
Created attachment 26997
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26997
patch
I can't seem to reproduce it with a cross. Can you check if the following
fixes it?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/52721] segfault in vect_init_vector
2012-03-26 10:16 [Bug tree-optimization/52721] New: segfault in vect_init_vector amodra at gmail dot com
2012-03-26 11:27 ` [Bug tree-optimization/52721] " rguenth at gcc dot gnu.org
@ 2012-03-26 12:44 ` amodra at gmail dot com
2012-03-26 14:16 ` rguenth at gcc dot gnu.org
2012-03-26 14:19 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: amodra at gmail dot com @ 2012-03-26 12:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52721
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |UNCONFIRMED
Ever Confirmed|1 |0
--- Comment #2 from Alan Modra <amodra at gmail dot com> 2012-03-26 12:34:52 UTC ---
Yes, that patch cures the segfaults.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/52721] segfault in vect_init_vector
2012-03-26 10:16 [Bug tree-optimization/52721] New: segfault in vect_init_vector amodra at gmail dot com
2012-03-26 11:27 ` [Bug tree-optimization/52721] " rguenth at gcc dot gnu.org
2012-03-26 12:44 ` amodra at gmail dot com
@ 2012-03-26 14:16 ` rguenth at gcc dot gnu.org
2012-03-26 14:19 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-26 14:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52721
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-26 14:13:43 UTC ---
Author: rguenth
Date: Mon Mar 26 14:13:35 2012
New Revision: 185799
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185799
Log:
2012-03-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52721
* tree-vect-stmts.c (vect_init_vector): Handle scalars.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-vect-stmts.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/52721] segfault in vect_init_vector
2012-03-26 10:16 [Bug tree-optimization/52721] New: segfault in vect_init_vector amodra at gmail dot com
` (2 preceding siblings ...)
2012-03-26 14:16 ` rguenth at gcc dot gnu.org
@ 2012-03-26 14:19 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-26 14:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52721
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-26 14:16:02 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-03-26 14:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-26 10:16 [Bug tree-optimization/52721] New: segfault in vect_init_vector amodra at gmail dot com
2012-03-26 11:27 ` [Bug tree-optimization/52721] " rguenth at gcc dot gnu.org
2012-03-26 12:44 ` amodra at gmail dot com
2012-03-26 14:16 ` rguenth at gcc dot gnu.org
2012-03-26 14:19 ` 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).