--- Comment #16 from irar at il dot ibm dot com 2010-05-10 08:17 ---
Fixed.
--
irar at il dot ibm dot com changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #15 from irar at gcc dot gnu dot org 2010-05-06 06:43 ---
Subject: Bug 43901
Author: irar
Date: Thu May 6 06:42:51 2010
New Revision: 159095
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159095
Log:
PR tree-optimization/43901
* tree-vect-stmts.c
--- Comment #14 from irar at il dot ibm dot com 2010-05-05 09:02 ---
It tries to get a _vector_ type of the same size. In theory each
vectorization method can choose whatever vector size suits them
most (as for external defs they need to build up a vector of equivalent
elements
--- Comment #11 from rguenther at suse dot de 2010-05-03 11:16 ---
Subject: Re: [4.6 Regression] FAIL:
gcc.c-torture/compile/pr42196-2.c
On Sun, 2 May 2010, irar at il dot ibm dot com wrote:
--- Comment #10 from irar at il dot ibm dot com 2010-05-02 12:12 ---
Looks like
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43901
--- Comment #12 from irar at il dot ibm dot com 2010-05-03 12:30 ---
Well. For loops we'd have disqualified it as there is no vector
type for the external def (well, the stmt inside the loop).
I don't think that's true. With -fno-tree-pre we get the same ICE for loop
vectorization
--- Comment #13 from rguenther at suse dot de 2010-05-03 12:35 ---
Subject: Re: [4.6 Regression] FAIL:
gcc.c-torture/compile/pr42196-2.c
On Mon, 3 May 2010, irar at il dot ibm dot com wrote:
--- Comment #12 from irar at il dot ibm dot com 2010-05-03 12:30 ---
Well.
--- Comment #5 from ubizjak at gmail dot com 2010-05-02 10:44 ---
(In reply to comment #4)
I don't have access to ia64. I tried to change the types in the test to make
the basic blocks vectorizable on x86_64, but didn't get any error. So I still
need SLP dump in order to solve this.
--- Comment #6 from ubizjak at gmail dot com 2010-05-02 10:46 ---
The _.115t.slp dump is empty:
$ more pr42196-2.c.115t.slp
;; Function foo (foo)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43901
--- Comment #7 from ubizjak at gmail dot com 2010-05-02 10:50 ---
Following assert in tree-vects-stmts.c is triggered:
/* If op0 is an external or constant def use a vector type with
the same size as the output vector type. */
if (!vectype)
vectype =
--- Comment #8 from ubizjak at gmail dot com 2010-05-02 11:02 ---
Created an attachment (id=20531)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20531action=view)
SLP dump with -O3 -fdump-tree-slp-details
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43901
--- Comment #9 from irar at il dot ibm dot com 2010-05-02 11:08 ---
Thanks, Uros! I reproduced the ICE using your instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43901
--- Comment #10 from irar at il dot ibm dot com 2010-05-02 12:12 ---
Looks like it's caused by:
r158157 | rguenth | 2010-04-09 13:40:14 +0300 (Fri, 09 Apr 2010) | 28 lines
The problem is in getting vectype for f1_2:
foo (int b, double f1, double f2, int c1, int c2)
{
...
float
--- Comment #4 from irar at il dot ibm dot com 2010-05-02 05:51 ---
I don't have access to ia64. I tried to change the types in the test to make
the basic blocks vectorizable on x86_64, but didn't get any error. So I still
need SLP dump in order to solve this.
Thanks,
Ira
--
irar
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-27 09:36 ---
I can't get it to FAIL either. Tried various -march=XXX in
make check-gcc RUNTESTFLAGS=--target_board=unix/-m32/-march=atom
compile.exp=pr42196-2.c
HJ, what arch do you configure for?
--
--- Comment #3 from hjl dot tools at gmail dot com 2010-04-27 13:07 ---
Ooops. I meant Linux/ia64.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43901
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
GCC target triplet||ia64-*-*
Target Milestone|--- |4.6.0
--- Comment #1 from irar at il dot ibm dot com 2010-04-27 05:53 ---
Could you please give some more information? It doesn't fail on x86_64-linux.
(For SLP dump please use -fdump-tree-slp-details).
Thanks,
Ira
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43901
18 matches
Mail list logo