public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/42326]  New: segfault in tree-data-ref.c with Graphite building 200.sixtrack
@ 2009-12-07 21:23 janis at gcc dot gnu dot org
  2009-12-08  0:31 ` [Bug tree-optimization/42326] " janis at gcc dot gnu dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-12-07 21:23 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1557 bytes --]

GCC trunk gets an internal compiler error when building SPEC CPU2000 test
200.sixtrack with "-O2 -floop-parallelize-all -fprefetch-loops-arrays" on
powerpc-linux, as demonstrated by this minimized testcase:

      subroutine phasad(t,i,ium)
      implicit none
      real t(5,4)
      integer i,l,ll,ium

      do l=1,2
        ll=2*l
        do i=1,ium
          t(i,ll-1)=t(i,ll-1)+t(i,ll)
        enddo
      enddo
      return
      end

elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gfortran -c -O2
-floop-parallelize-all -fprefetch-loop-arrays bug.f
bug.f: In function ‘phasad’:
bug.f:1:0: 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.

The failure has existed since the large Graphite merge that introduced
-fgraphite-force-parallel which was later renamed to -floop-parallelize-all.

The segmentation fault occurs in initialize_matrix_A at tree-data-ref.c:1914
when A[index] has the value (lambda_vector) 0xa.


-- 
           Summary: segfault in tree-data-ref.c with Graphite building
                    200.sixtrack
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
@ 2009-12-08  0:31 ` janis at gcc dot gnu dot org
  2009-12-14 19:25 ` spop at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-12-08  0:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from janis at gcc dot gnu dot org  2009-12-08 00:31 -------
This testcase minimized from 173.applu fails in the same place when compiled
with "-m32 -O2 floop-strip-mine -fprefetch-loop-arrays" on powerpc64-linux.

      subroutine blts ( ldmx, ldmy, v, tmp1, i, j, k)
      implicit none
      integer ldmx, ldmy, i, j, k, ip, m, l
      real*8 tmp, tmp1, v( 5, ldmx, ldmy, *), tmat(5,5)

      do ip = 1, 4
        do m = ip+1, 5 
          tmp = tmp1 * tmat( m, ip )
          do l = ip+1, 5
            tmat( m, l ) =  tmat( m, l ) - tmat( ip, l )
          end do
          v( m, i, j, k ) = tmp
        end do
      end do
      return
      end


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
  2009-12-08  0:31 ` [Bug tree-optimization/42326] " janis at gcc dot gnu dot org
@ 2009-12-14 19:25 ` spop at gcc dot gnu dot org
  2009-12-14 19:41 ` spop at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-14 19:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from spop at gcc dot gnu dot org  2009-12-14 19:24 -------
Mine.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |spop at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-14 19:24:51
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
  2009-12-08  0:31 ` [Bug tree-optimization/42326] " janis at gcc dot gnu dot org
  2009-12-14 19:25 ` spop at gcc dot gnu dot org
@ 2009-12-14 19:41 ` spop at gcc dot gnu dot org
  2009-12-14 21:38 ` dominiq at lps dot ens dot fr
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-14 19:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from spop at gcc dot gnu dot org  2009-12-14 19:41 -------
I cannot reproduce this bug (both testcases) on amd64-linux on trunk revision
155219.
Could you please try again to see if this has been resolved?

Thanks,
Sebastian


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-12-14 19:41 ` spop at gcc dot gnu dot org
@ 2009-12-14 21:38 ` dominiq at lps dot ens dot fr
  2009-12-15 13:50 ` rguenth at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-12-14 21:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dominiq at lps dot ens dot fr  2009-12-14 21:38 -------
I see it for both reduced tests on powerpc-apple-darwin9, revision 155196, in
32 bit mode, but not in the 64 bit one. The compilation goes fine on
x86_64-apple-darwin10, revision 155224.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-12-14 21:38 ` dominiq at lps dot ens dot fr
@ 2009-12-15 13:50 ` rguenth at gcc dot gnu dot org
  2009-12-15 13:51 ` [Bug tree-optimization/42326] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-15 13:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-12-15 13:50 -------
I can reproduce it with the testcase in comment #1 on i?86-linux:

$ ./f951  -quiet t.f -O2 -floop-strip-mine -fprefetch-loop-arrays -msse2
t.f: In function 'blts':
t.f:1:0: 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.

Program received signal SIGSEGV, Segmentation fault.
0x086197d5 in initialize_matrix_A (A=0xb778ecb0, chrec=0xb77d36e4, index=2, 
    mult=-1) at /home/richard/src/trunk/gcc/tree-data-ref.c:1914
1914          A[index][0] = mult * int_cst_value (CHREC_RIGHT (chrec));
(gdb) p A[index]
$4 = (lambda_vector) 0x6


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-12-15 13:50 ` rguenth at gcc dot gnu dot org
@ 2009-12-15 13:51 ` rguenth at gcc dot gnu dot org
  2010-01-07 22:07 ` janis at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-15 13:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2009-12-15 13:51 -------
Works for me with 4.4.2 on i?86-linux.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.4.2
           Priority|P3                          |P1
            Summary|segfault in tree-data-ref.c |[4.5 Regression] segfault in
                   |with Graphite building      |tree-data-ref.c with
                   |200.sixtrack                |Graphite building
                   |                            |200.sixtrack
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2009-12-15 13:51 ` [Bug tree-optimization/42326] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2010-01-07 22:07 ` janis at gcc dot gnu dot org
  2010-02-23 21:17 ` [Bug tree-optimization/42326] [4.5 Regression][graphite] " janis at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janis at gcc dot gnu dot org @ 2010-01-07 22:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from janis at gcc dot gnu dot org  2010-01-07 22:07 -------
I still see both failures with -m32 on powerpc64-linux but not with -m64.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2010-01-07 22:07 ` janis at gcc dot gnu dot org
@ 2010-02-23 21:17 ` janis at gcc dot gnu dot org
  2010-02-27 13:54 ` p dot vanhoof at oma dot be
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janis at gcc dot gnu dot org @ 2010-02-23 21:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from janis at gcc dot gnu dot org  2010-02-23 21:17 -------
With today's trunk both testcases fail with -m32 but not -m64.  sixtrack
builds, but not applu.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2010-02-23 21:17 ` [Bug tree-optimization/42326] [4.5 Regression][graphite] " janis at gcc dot gnu dot org
@ 2010-02-27 13:54 ` p dot vanhoof at oma dot be
  2010-03-02 11:39 ` spop at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: p dot vanhoof at oma dot be @ 2010-02-27 13:54 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]



------- Comment #9 from p dot vanhoof at oma dot be  2010-02-27 13:53 -------
The following Lagrange interpolation routine crashes the trunk

> gcc -O1 -floop-parallelize-all -c bug.c
bug.c: In function ‘lagrange’:
bug.c:1:8: internal compiler error: Segmentation fault
... etc.

> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/common/compilers/gcc450/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-mainline/configure --prefix=/usr/local/gcc450
--enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.5.0 20100226 (experimental) (GCC)

This is r157083 of the trunk.

> cat bug.c
double lagrange(const double x[],
                const double y[],
                long n,
                double xval)
{
        long i, j;
        double yval = 0.;

        for( i=0; i < n; i++ )
        {
                double l = 1.;
                for( j=0; j < n; j++ )
                        if( i != j )
                                l *= (xval-x[j])/(x[i]-x[j]);
                yval += y[i]*l;
        }
        return yval;
}

The same problem?


-- 

p dot vanhoof at oma dot be changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p dot vanhoof at oma dot be


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2010-02-27 13:54 ` p dot vanhoof at oma dot be
@ 2010-03-02 11:39 ` spop at gcc dot gnu dot org
  2010-03-02 11:52 ` spop at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-03-02 11:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from spop at gcc dot gnu dot org  2010-03-02 11:39 -------
Comment #9 is not the same as the original reported bug.
I have a fix for #9.

Sebastian


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2010-03-02 11:39 ` spop at gcc dot gnu dot org
@ 2010-03-02 11:52 ` spop at gcc dot gnu dot org
  2010-03-04 22:27 ` spop at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-03-02 11:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from spop at gcc dot gnu dot org  2010-03-02 11:51 -------
Subject: Bug 42326

Author: spop
Date: Tue Mar  2 11:51:21 2010
New Revision: 157162

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157162
Log:
Fix PR42326: handle default definitions.

2010-03-02  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/42326
        * sese.c (name_defined_in_loop_p): Return false for default
        definitions.

        * gcc.dg/graphite/pr42326.c: New.

Added:
    branches/graphite/gcc/testsuite/gcc.dg/graphite/pr42326.c
Modified:
    branches/graphite/gcc/ChangeLog.graphite
    branches/graphite/gcc/sese.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2010-03-02 11:52 ` spop at gcc dot gnu dot org
@ 2010-03-04 22:27 ` spop at gcc dot gnu dot org
  2010-03-05  9:39 ` spop at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-03-04 22:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from spop at gcc dot gnu dot org  2010-03-04 22:27 -------
We are building scalar evolutions that have no defined semantics:
the initial value is variating in an inner loop.

{(2 + (integer(kind=4)) {0, +, 1}_5) * 5 + ((2 + (integer(kind=4)) {0, +, 1}_4)
+ -6), +, 6}_1
and
{(2 + (integer(kind=4)) {0, +, 1}_5) * 5 + -5, +, 6}_1

in the following loop nest:

(gdb) p debug_loops (1)
loop_0 (header = 0, latch = 1, niter = )
{
  loop_1 (header = 3, latch = 14, niter = , upper_bound = 4, estimate = 4)
  {
    loop_4 (header = 6, latch = 11, niter = , upper_bound = 4294967296)
    {
      loop_5 (header = 8, latch = 9, niter = D.1652_117, upper_bound =
4294967296)
      {
      }
    }
  }
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2010-03-04 22:27 ` spop at gcc dot gnu dot org
@ 2010-03-05  9:39 ` spop at gcc dot gnu dot org
  2010-03-05 12:21 ` spop at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-03-05  9:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from spop at gcc dot gnu dot org  2010-03-05 09:39 -------
We build these scevs because chrec_fold_multiply and chrec_fold_plus
do not correctly handle conversions:  op0 = (integer(kind=4)) {0, +, 1}_4
is considered non variating in any loop, and thus when op0 gets added to
op1 = {0, +, 1}_1, the result is: {(integer(kind=4)) {0, +, 1}_4, +, 1}_1 that
has no defined semantics.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2010-03-05  9:39 ` spop at gcc dot gnu dot org
@ 2010-03-05 12:21 ` spop at gcc dot gnu dot org
  2010-03-05 20:38 ` spop at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-03-05 12:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from spop at gcc dot gnu dot org  2010-03-05 12:20 -------
Patch at http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00237.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2010-03-05 12:21 ` spop at gcc dot gnu dot org
@ 2010-03-05 20:38 ` spop at gcc dot gnu dot org
  2010-03-05 20:39 ` spop at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-03-05 20:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from spop at gcc dot gnu dot org  2010-03-05 20:38 -------
Subject: Bug 42326

Author: spop
Date: Fri Mar  5 20:37:44 2010
New Revision: 157244

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157244
Log:
Fix PR42326: Handle more carefully convert expressions in chrec_fold_plus and
chrec_fold_mult.

2010-03-05  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/42326
        * tree-chrec.c (chrec_fold_plus_1): Do not handle convert expressions
        that contain scevs.
        (chrec_fold_multiply): Same.

        * gfortran.dg/graphite/pr42326.f90: New.
        * gfortran.dg/graphite/pr42326-1.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/graphite/pr42326-1.f90
    trunk/gcc/testsuite/gfortran.dg/graphite/pr42326.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-chrec.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2010-03-05 20:38 ` spop at gcc dot gnu dot org
@ 2010-03-05 20:39 ` spop at gcc dot gnu dot org
  2010-03-07 14:12 ` p dot vanhoof at oma dot be
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-03-05 20:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from spop at gcc dot gnu dot org  2010-03-05 20:39 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  2010-03-05 20:39 ` spop at gcc dot gnu dot org
@ 2010-03-07 14:12 ` p dot vanhoof at oma dot be
  2010-03-07 14:43 ` hjl dot tools at gmail dot com
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: p dot vanhoof at oma dot be @ 2010-03-07 14:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from p dot vanhoof at oma dot be  2010-03-07 14:12 -------
The test case in comment #9 has only been fixed on the graphite branch, but
still crashes on the trunk as of r157255. Please reopen and fix this problem on
the trunk.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  2010-03-07 14:12 ` p dot vanhoof at oma dot be
@ 2010-03-07 14:43 ` hjl dot tools at gmail dot com
  2010-03-08 17:49 ` spop at gcc dot gnu dot org
  2010-03-08 17:52 ` spop at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-03-07 14:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from hjl dot tools at gmail dot com  2010-03-07 14:43 -------
Confirmed. This patch:

Fix PR42326: handle default definitions.

2010-03-02  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/42326
        * sese.c (name_defined_in_loop_p): Return false for default
        definitions.

        * gcc.dg/graphite/pr42326.c: New.

Added:
    branches/graphite/gcc/testsuite/gcc.dg/graphite/pr42326.c
Modified:
    branches/graphite/gcc/ChangeLog.graphite
    branches/graphite/gcc/sese.c

isn't in trunk.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (17 preceding siblings ...)
  2010-03-07 14:43 ` hjl dot tools at gmail dot com
@ 2010-03-08 17:49 ` spop at gcc dot gnu dot org
  2010-03-08 17:52 ` spop at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-03-08 17:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from spop at gcc dot gnu dot org  2010-03-08 17:49 -------
Subject: Bug 42326

Author: spop
Date: Mon Mar  8 17:48:55 2010
New Revision: 157280

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157280
Log:
Fix PR42326: handle default definitions.

2010-03-02  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/42326
        * sese.c (name_defined_in_loop_p): Return false for default
        definitions.

        * gcc.dg/graphite/pr42326.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/pr42326.c
Modified:
    trunk/gcc/ChangeLog.graphite
    trunk/gcc/sese.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack
  2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
                   ` (18 preceding siblings ...)
  2010-03-08 17:49 ` spop at gcc dot gnu dot org
@ 2010-03-08 17:52 ` spop at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-03-08 17:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from spop at gcc dot gnu dot org  2010-03-08 17:51 -------
Fixed now the second unrelated bug reported within this PR.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42326


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-03-08 17:52 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-07 21:23 [Bug tree-optimization/42326] New: segfault in tree-data-ref.c with Graphite building 200.sixtrack janis at gcc dot gnu dot org
2009-12-08  0:31 ` [Bug tree-optimization/42326] " janis at gcc dot gnu dot org
2009-12-14 19:25 ` spop at gcc dot gnu dot org
2009-12-14 19:41 ` spop at gcc dot gnu dot org
2009-12-14 21:38 ` dominiq at lps dot ens dot fr
2009-12-15 13:50 ` rguenth at gcc dot gnu dot org
2009-12-15 13:51 ` [Bug tree-optimization/42326] [4.5 Regression] " rguenth at gcc dot gnu dot org
2010-01-07 22:07 ` janis at gcc dot gnu dot org
2010-02-23 21:17 ` [Bug tree-optimization/42326] [4.5 Regression][graphite] " janis at gcc dot gnu dot org
2010-02-27 13:54 ` p dot vanhoof at oma dot be
2010-03-02 11:39 ` spop at gcc dot gnu dot org
2010-03-02 11:52 ` spop at gcc dot gnu dot org
2010-03-04 22:27 ` spop at gcc dot gnu dot org
2010-03-05  9:39 ` spop at gcc dot gnu dot org
2010-03-05 12:21 ` spop at gcc dot gnu dot org
2010-03-05 20:38 ` spop at gcc dot gnu dot org
2010-03-05 20:39 ` spop at gcc dot gnu dot org
2010-03-07 14:12 ` p dot vanhoof at oma dot be
2010-03-07 14:43 ` hjl dot tools at gmail dot com
2010-03-08 17:49 ` spop at gcc dot gnu dot org
2010-03-08 17:52 ` spop at gcc dot gnu dot 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).