public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
@ 2005-11-02  0:09 ` jean-marc dot valin at usherbrooke dot ca
  2005-11-02  0:12 ` jean-marc dot valin at usherbrooke dot ca
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jean-marc dot valin at usherbrooke dot ca @ 2005-11-02  0:09 UTC (permalink / raw)
  To: gcc-bugs

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



------- Comment #2 from jean-marc dot valin at usherbrooke dot ca  2005-11-02 00:09 -------
It seems like it is a regression in a case I have:

% gcc -O2 -ftree-loop-linear -c vq.c
vq.c: In function ‘vq_index’:
vq.c:2: internal compiler error: in lambda_loopnest_to_gcc_loopnest, at
lambda-code.c:1982

I'm getting this ICE with gcc-4.1-20051029 but not with gcc-4.0.2-20050808 (or
is this another bug)


-- 


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
  2005-11-02  0:09 ` [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982 jean-marc dot valin at usherbrooke dot ca
@ 2005-11-02  0:12 ` jean-marc dot valin at usherbrooke dot ca
  2005-11-02  0:20 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jean-marc dot valin at usherbrooke dot ca @ 2005-11-02  0:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jean-marc dot valin at usherbrooke dot ca  2005-11-02 00:12 -------
Forgot to include the code. This is a function from the Speex coded:

int vq_index(float *in, const float *codebook, int len, int entries)
{
   int i,j;
   float min_dist=0;
   int best_index=0;
   for (i=0;i<entries;i++)
   {
      float dist=0;
      for (j=0;j<len;j++)
      {
         float tmp = in[j]-*codebook++;
         dist += tmp*tmp;
      }
      if (i==0 || dist<min_dist)
      {
         min_dist=dist;
         best_index=i;
      }
   }
   return best_index;
}


-- 


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
  2005-11-02  0:09 ` [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982 jean-marc dot valin at usherbrooke dot ca
  2005-11-02  0:12 ` jean-marc dot valin at usherbrooke dot ca
@ 2005-11-02  0:20 ` pinskia at gcc dot gnu dot org
  2005-11-02  1:04 ` jean-marc dot valin at usherbrooke dot ca
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-02  0:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-02 00:20 -------
(In reply to comment #2)
> It seems like it is a regression in a case I have:
It is either this bug or PR 24309.


-- 


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-11-02  0:20 ` pinskia at gcc dot gnu dot org
@ 2005-11-02  1:04 ` jean-marc dot valin at usherbrooke dot ca
  2005-12-15 20:35 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jean-marc dot valin at usherbrooke dot ca @ 2005-11-02  1:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jean-marc dot valin at usherbrooke dot ca  2005-11-02 01:04 -------
> It is either this bug or PR 24309.

I'm not sure. This bug happens even at -O2, while 24309 needs -O3. Both are
different files in Speex though. Wouldn't it be worth adding Speex to the list
of software to test on given that 1) it has a tendency to break gcc and 2) it's
not included in most Linux distros?


-- 


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-11-02  1:04 ` jean-marc dot valin at usherbrooke dot ca
@ 2005-12-15 20:35 ` pinskia at gcc dot gnu dot org
  2006-01-23 18:48 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-15 20:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2005-12-15 20:35 -------
*** Bug 25433 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlynx at acm dot org


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-12-15 20:35 ` pinskia at gcc dot gnu dot org
@ 2006-01-23 18:48 ` pinskia at gcc dot gnu dot org
  2006-04-29  0:17 ` vapier at gentoo dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-23 18:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-01-23 18:48 -------
*** Bug 25929 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |seandarcy2 at gmail dot com


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2006-01-23 18:48 ` pinskia at gcc dot gnu dot org
@ 2006-04-29  0:17 ` vapier at gentoo dot org
  2007-04-30  9:20 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: vapier at gentoo dot org @ 2006-04-29  0:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from vapier at gentoo dot org  2006-04-29 00:17 -------
passes for me with 4.0.[123] but 4.2.0 fails (i'd update the Known fields but
lack the power)


-- 


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2006-04-29  0:17 ` vapier at gentoo dot org
@ 2007-04-30  9:20 ` rguenth at gcc dot gnu dot org
  2007-04-30 17:27 ` dberlin at dberlin dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-30  9:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2007-04-30 10:20 -------
Also fails with 4.3.0.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.0.0 4.1.0                 |4.0.0 4.1.0 4.3.0
   Last reconfirmed|2005-09-11 14:42:37         |2007-04-30 10:20:24
               date|                            |


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2007-04-30  9:20 ` rguenth at gcc dot gnu dot org
@ 2007-04-30 17:27 ` dberlin at dberlin dot org
  2007-10-19 19:03 ` spop at gcc dot gnu dot org
  2007-10-19 19:03 ` spop at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: dberlin at dberlin dot org @ 2007-04-30 17:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from dberlin at gcc dot gnu dot org  2007-04-30 18:26 -------
Subject: Re:  ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982

This one is unimplemented functionality, it's going to take longer to solve.
(Sadly, at the point where we hit it, we can't back out gracefully,
hence the iCE).


-- 


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2007-04-30 17:27 ` dberlin at dberlin dot org
@ 2007-10-19 19:03 ` spop at gcc dot gnu dot org
  2007-10-19 19:03 ` spop at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: spop at gcc dot gnu dot org @ 2007-10-19 19:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from spop at gcc dot gnu dot org  2007-10-19 19:02 -------
Subject: Bug 23820

Author: spop
Date: Fri Oct 19 19:01:58 2007
New Revision: 129494

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129494
Log:
2007-10-19  Sebastian Pop  <sebastian.pop@amd.com>

        PR tree-optimization/23820
        PR tree-optimization/24309
        PR tree-optimization/33766
        * testsuite/gcc.dg/tree-ssa/pr23820.c: New.
        * testsuite/gcc.dg/tree-ssa/pr24309.c: New.
        * testsuite/gcc.dg/tree-ssa/pr33766.c: New.
        * testsuite/gcc.dg/tree-ssa/ltrans-3.c: XFAILed.
        * tree-loop-linear.c (perfect_loop_nest_depth): New.
        (linear_transform_loops): Use perfect_loop_nest_depth.
        * lambda-code.c (perfect_nest_p): Outer loops in perfect nests 
        should have a single condition: their exit.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr23820.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr24309.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr33766.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lambda-code.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ltrans-3.c
    trunk/gcc/tree-loop-linear.c


-- 


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
       [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2007-10-19 19:03 ` spop at gcc dot gnu dot org
@ 2007-10-19 19:03 ` spop at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: spop at gcc dot gnu dot org @ 2007-10-19 19:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from spop at gcc dot gnu dot org  2007-10-19 19:02 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982
  2005-09-11  9:22 [Bug tree-optimization/23820] New: " belyshev at depni dot sinp dot msu dot ru
@ 2005-09-11 14:42 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-11 14:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-11 14:42 -------
Confirmed but not a regression.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |4.0.0 4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-11 14:42:37
               date|                            |


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


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

end of thread, other threads:[~2007-10-19 19:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23820-7958@http.gcc.gnu.org/bugzilla/>
2005-11-02  0:09 ` [Bug tree-optimization/23820] ICE in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982 jean-marc dot valin at usherbrooke dot ca
2005-11-02  0:12 ` jean-marc dot valin at usherbrooke dot ca
2005-11-02  0:20 ` pinskia at gcc dot gnu dot org
2005-11-02  1:04 ` jean-marc dot valin at usherbrooke dot ca
2005-12-15 20:35 ` pinskia at gcc dot gnu dot org
2006-01-23 18:48 ` pinskia at gcc dot gnu dot org
2006-04-29  0:17 ` vapier at gentoo dot org
2007-04-30  9:20 ` rguenth at gcc dot gnu dot org
2007-04-30 17:27 ` dberlin at dberlin dot org
2007-10-19 19:03 ` spop at gcc dot gnu dot org
2007-10-19 19:03 ` spop at gcc dot gnu dot org
2005-09-11  9:22 [Bug tree-optimization/23820] New: " belyshev at depni dot sinp dot msu dot ru
2005-09-11 14:42 ` [Bug tree-optimization/23820] " 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).