--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-02
14:52 ---
Subject: Bug 21734
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-06-02 14:52:18
Modified files:
gcc: ChangeLog tree-vectorizer.c
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-02
18:59 ---
Fixed.
--
What|Removed |Added
Status|ASSIGNED|RESOLVED
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-01
08:41 ---
Even shorter testcase:
struct A
{
int a[4];
int* operator[](int i) { return a[i]; }
};
void foo(A a1, A a2)
{
a1[1][1]=0;
for (int i=0; i4; ++i)
--- Additional Comments From dorit at il dot ibm dot com 2005-06-01 13:20
---
thanks, reproduced.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21734
--- Additional Comments From dorit at il dot ibm dot com 2005-06-01 13:22
---
Note that if !new_ssa_name, we continue the loop without ever
adding the PHI argument. The net result being that we have a
PHI where PHI_ARG_DEF for one of the PHI's incoming edges is null.
I'm pretty
--- Additional Comments From giovannibajo at libero dot it 2005-06-01
18:08 ---
Please, remember to add both the new and the old testcase to the testsuite.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21734
--- Additional Comments From dorit at il dot ibm dot com 2005-06-01 19:14
---
Please, remember to add both the new and the old testcase to the testsuite.
patch: http://gcc.gnu.org/ml/gcc-patches/2005-06/msg00110.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21734
--- Additional Comments From law at redhat dot com 2005-06-02 05:22 ---
Subject: Re: [4.1 regression] ICE:
-ftree-vectorize, segfault
On Wed, 2005-06-01 at 13:22 +, dorit at il dot ibm dot com wrote:
The best thing would be to detect such redundant phis and clean them up,
--- Additional Comments From stefaandr at hotmail dot com 2005-05-31 10:13
---
For the sake of completeness. the error produced with the new testcase:
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /esat/alexandria1/sderoeck/src/gcc/main/configure
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-31
23:28 ---
*** Bug 21851 has been marked as a duplicate of this bug. ***
--
What|Removed |Added
--- Additional Comments From dorit at il dot ibm dot com 2005-05-30 14:35
---
I can't reproduce this ICE with mainline snapshot from today. (I was able to
reproduce it a few days ago, but not anymore).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21734
--- Additional Comments From stefaandr at hotmail dot com 2005-05-30 19:21
---
confirmed, I cannot reproduce with the given testcase either. But my original
source code still triggers a (possibly the same) bug. I've extracted a new
testcase:
struct M {
double data[16];
double*
--- Additional Comments From dorit at il dot ibm dot com 2005-05-25 07:28
---
Actually, this is a bug in the vectorizer code to update PHIs in duplicate
loops. forwprop AFAICT is just exposing the latent vectorizer bug.
From what I've been able to determine so far, the vectorizer
--- Additional Comments From giovannibajo at libero dot it 2005-05-25
18:43 ---
Assigning to Dorit.
--
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu
--- Additional Comments From law at redhat dot com 2005-05-25 21:43 ---
Subject: Re: [4.1 regression] ICE:
-ftree-vectorize, segfault
On Wed, 2005-05-25 at 07:28 +, dorit at il dot ibm dot com wrote:
--- Additional Comments From dorit at il dot ibm dot com 2005-05-25
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-05-24
14:07 ---
Confirmed.
Reduced testcase (-O2 -ftree-vectorize -march=pentium4):
=
struct A
{
int a[4];
int operator[](int i) { return a[i]; }
};
struct B
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-24
14:21 ---
Here is a C testcase:
struct a
{
int aa[4];
};
struct b
{
struct a aa;
};
void foo(struct b *bb)
{
int i;
for (i=0; i4; ++i)
{
struct a *aa = bb-aa;
struct a *aa1 = aa;
struct
--- Additional Comments From law at redhat dot com 2005-05-25 05:55 ---
Subject: Re: [4.1 regression] ICE:
-ftree-vectorize, segfault
On Tue, 2005-05-24 at 14:21 +, pinskia at gcc dot gnu dot org wrote:
--- Additional Comments From pinskia at gcc dot gnu dot org
18 matches
Mail list logo