public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/27332]  New: ICE in try_interchange_loops with -ftree-loop-linear
@ 2006-04-26 23:04 janis at gcc dot gnu dot org
  2006-04-26 23:05 ` [Bug tree-optimization/27332] " janis at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-04-26 23:04 UTC (permalink / raw)
  To: gcc-bugs

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

Tests gap and twolf from SPEC CPU2000 ICE when built on powerpc64-linux with
"-O2 -ftree-loop-linear" and either -m32 or -m64.  A third test, lucas, started
getting segfaults for those options at the same time.  A regression hunt using
a minimized testcase (to be attached) identified this patch:

    http://gcc.gnu.org/viewcvs?view=rev&rev=112437

    r112437 | spop | 2006-03-28 04:19:26 +0000 (Tue, 28 Mar 2006)

Output compiling the minimized testcase:

elm3b145% /opt/gcc-nightly/trunk/bin/gcc -O2 -ftree-loop-linear -c uloop.c
uloop.c: In function ‘foo’:
uloop.c:3: internal compiler error: vector VEC(ddr_p,base) index domain error,
in try_interchange_loops at tree-loop-linear.c:183
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in try_interchange_loops with -ftree-loop-linear
           Product: gcc
           Version: 4.2.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=27332


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

* [Bug tree-optimization/27332] ICE in try_interchange_loops with -ftree-loop-linear
  2006-04-26 23:04 [Bug tree-optimization/27332] New: ICE in try_interchange_loops with -ftree-loop-linear janis at gcc dot gnu dot org
@ 2006-04-26 23:05 ` janis at gcc dot gnu dot org
  2006-04-26 23:10 ` [Bug tree-optimization/27332] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-04-26 23:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from janis at gcc dot gnu dot org  2006-04-26 23:05 -------
Created an attachment (id=11339)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11339&action=view)
test case


-- 


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


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

* [Bug tree-optimization/27332] [4.2 Regression] ICE in try_interchange_loops with -ftree-loop-linear
  2006-04-26 23:04 [Bug tree-optimization/27332] New: ICE in try_interchange_loops with -ftree-loop-linear janis at gcc dot gnu dot org
  2006-04-26 23:05 ` [Bug tree-optimization/27332] " janis at gcc dot gnu dot org
@ 2006-04-26 23:10 ` pinskia at gcc dot gnu dot org
  2006-05-10 12:26 ` sebastian dot pop at cri dot ensmp dot fr
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-26 23:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-04-26 23:10 -------
Confirmed.  This was caused by the change over from varray to VEC.  Looks like
we had a bug where we depend on pushing something but now we don't. 


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spop at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-04-26 23:10:20
               date|                            |
            Summary|ICE in try_interchange_loops|[4.2 Regression] ICE in
                   |with -ftree-loop-linear     |try_interchange_loops with -
                   |                            |ftree-loop-linear
   Target Milestone|---                         |4.2.0


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


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

* [Bug tree-optimization/27332] [4.2 Regression] ICE in try_interchange_loops with -ftree-loop-linear
  2006-04-26 23:04 [Bug tree-optimization/27332] New: ICE in try_interchange_loops with -ftree-loop-linear janis at gcc dot gnu dot org
  2006-04-26 23:05 ` [Bug tree-optimization/27332] " janis at gcc dot gnu dot org
  2006-04-26 23:10 ` [Bug tree-optimization/27332] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-05-10 12:26 ` sebastian dot pop at cri dot ensmp dot fr
  2006-05-17 12:47 ` spop at gcc dot gnu dot org
  2006-05-18  4:56 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: sebastian dot pop at cri dot ensmp dot fr @ 2006-05-10 12:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sebastian dot pop at cri dot ensmp dot fr  2006-05-10 12:26 -------
Created an attachment (id=11429)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11429&action=view)
fix

proposed fix.  I didn't tested it other than making sure it fixed the bug.


-- 


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


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

* [Bug tree-optimization/27332] [4.2 Regression] ICE in try_interchange_loops with -ftree-loop-linear
  2006-04-26 23:04 [Bug tree-optimization/27332] New: ICE in try_interchange_loops with -ftree-loop-linear janis at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-05-10 12:26 ` sebastian dot pop at cri dot ensmp dot fr
@ 2006-05-17 12:47 ` spop at gcc dot gnu dot org
  2006-05-18  4:56 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2006-05-17 12:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2006-05-17 12:47 -------
Subject: Bug 27332

Author: spop
Date: Wed May 17 12:47:43 2006
New Revision: 113856

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113856
Log:
        PR middle-end/27332
        * tree-loop-linear.c (try_interchange_loops): Test for 
        no data dependences.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-loop-linear.c


-- 


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


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

* [Bug tree-optimization/27332] [4.2 Regression] ICE in try_interchange_loops with -ftree-loop-linear
  2006-04-26 23:04 [Bug tree-optimization/27332] New: ICE in try_interchange_loops with -ftree-loop-linear janis at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-05-17 12:47 ` spop at gcc dot gnu dot org
@ 2006-05-18  4:56 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-18  4:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-05-18 04:56 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-05-18  4:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-26 23:04 [Bug tree-optimization/27332] New: ICE in try_interchange_loops with -ftree-loop-linear janis at gcc dot gnu dot org
2006-04-26 23:05 ` [Bug tree-optimization/27332] " janis at gcc dot gnu dot org
2006-04-26 23:10 ` [Bug tree-optimization/27332] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-05-10 12:26 ` sebastian dot pop at cri dot ensmp dot fr
2006-05-17 12:47 ` spop at gcc dot gnu dot org
2006-05-18  4:56 ` pinskia 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).