public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/31343]  New: ICE in data-refs dependence testing
@ 2007-03-25  8:01 irar at il dot ibm dot com
  2007-03-25  8:02 ` [Bug tree-optimization/31343] " irar at il dot ibm dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: irar at il dot ibm dot com @ 2007-03-25  8:01 UTC (permalink / raw)
  To: gcc-bugs

An attempt to divide by zero is made (causing ICE on the attached test
case) for evolution functions with zero step.

For the following evolution functions of pS[i_15].x and pS[i_15].y from the
attached test
  (chrec_a = {{0, +, 1}_1, +, 0}_2)
  (chrec_b = {{1, +, 1}_1, +, 0}_2)
the difference (-1) is calculated, and then the check whether the step
(0)divides the difference is performed in function
chrec_steps_divide_constant_p (tree-data-ref.c), causing ICE.


-- 
           Summary: ICE in data-refs dependence testing
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: irar at il dot ibm dot com


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


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

* [Bug tree-optimization/31343] ICE in data-refs dependence testing
  2007-03-25  8:01 [Bug tree-optimization/31343] New: ICE in data-refs dependence testing irar at il dot ibm dot com
@ 2007-03-25  8:02 ` irar at il dot ibm dot com
  2007-03-25 16:38 ` pthaugen at us dot ibm dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: irar at il dot ibm dot com @ 2007-03-25  8:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from irar at il dot ibm dot com  2007-03-25 10:02 -------
Created an attachment (id=13281)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13281&action=view)
test case


-- 


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


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

* [Bug tree-optimization/31343] ICE in data-refs dependence testing
  2007-03-25  8:01 [Bug tree-optimization/31343] New: ICE in data-refs dependence testing irar at il dot ibm dot com
  2007-03-25  8:02 ` [Bug tree-optimization/31343] " irar at il dot ibm dot com
@ 2007-03-25 16:38 ` pthaugen at us dot ibm dot com
  2007-04-11  0:09 ` spop at gcc dot gnu dot org
  2007-07-10  8:34 ` spop at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pthaugen at us dot ibm dot com @ 2007-03-25 16:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pthaugen at us dot ibm dot com  2007-03-25 18:38 -------
I hit the same ICE building the 191.fma3d benchmark from cpu2000 when compiling
lsold.f90 with -O2 -ftree-loop-linear.


-- 

pthaugen at us dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pthaugen at us dot ibm dot
                   |                            |com


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


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

* [Bug tree-optimization/31343] ICE in data-refs dependence testing
  2007-03-25  8:01 [Bug tree-optimization/31343] New: ICE in data-refs dependence testing irar at il dot ibm dot com
  2007-03-25  8:02 ` [Bug tree-optimization/31343] " irar at il dot ibm dot com
  2007-03-25 16:38 ` pthaugen at us dot ibm dot com
@ 2007-04-11  0:09 ` spop at gcc dot gnu dot org
  2007-07-10  8:34 ` spop at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: spop at gcc dot gnu dot org @ 2007-04-11  0:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from spop at gcc dot gnu dot org  2007-04-11 01:09 -------
Subject: Bug 31343

Author: spop
Date: Wed Apr 11 01:09:35 2007
New Revision: 123708

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123708
Log:
        PR tree-optimization/31343
        * tree-chrec.h (chrec_zerop): Moved before build_polynomial_chrec.
        (build_polynomial_chrec): Return a scalar when the evolution is zero.
        * testsuite/gcc.dg/vect/pr31343.c: New.


Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr31343.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-chrec.h


-- 


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


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

* [Bug tree-optimization/31343] ICE in data-refs dependence testing
  2007-03-25  8:01 [Bug tree-optimization/31343] New: ICE in data-refs dependence testing irar at il dot ibm dot com
                   ` (2 preceding siblings ...)
  2007-04-11  0:09 ` spop at gcc dot gnu dot org
@ 2007-07-10  8:34 ` spop at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: spop at gcc dot gnu dot org @ 2007-07-10  8:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2007-07-10 08:34 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-07-10  8:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-25  8:01 [Bug tree-optimization/31343] New: ICE in data-refs dependence testing irar at il dot ibm dot com
2007-03-25  8:02 ` [Bug tree-optimization/31343] " irar at il dot ibm dot com
2007-03-25 16:38 ` pthaugen at us dot ibm dot com
2007-04-11  0:09 ` spop at gcc dot gnu dot org
2007-07-10  8:34 ` 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).