public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/25929]  New: ICE with -ftree-loop-linear
@ 2006-01-23 18:46 seandarcy2 at gmail dot com
  2006-01-23 18:48 ` [Bug c/25929] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: seandarcy2 at gmail dot com @ 2006-01-23 18:46 UTC (permalink / raw)
  To: gcc-bugs

cc -D_REENTRANT -O2 -fPIC -funswitch-loops -fvisibility-inlines-hidden 
-ftree-loop-linear  -march=k8 -ftree-vectorize  -pipe -mfpmath=sse -DP_64BIT
-fPIC -DPIC -DPTRACING -I/usr/src/redhat/BUILD/opal/include  -DPTRACING
-I/usr/src/redhat/BUILD/opal/../pwlib/include -O2 -fPIC -funswitch-loops
-fvisibility-inlines-hidden  -ftree-loop-linear  -march=k8 -ftree-vectorize 
-pipe -mfpmath=sse -O2 -fPIC -funswitch-loops -fvisibility-inlines-hidden 
-ftree-loop-linear  -march=k8 -ftree-vectorize  -pipe -mfpmath=sse -c
/usr/src/redhat/BUILD/opal/src/codec/speex/libspeex/vq.c -o
/usr/src/redhat/BUILD/opal/lib/obj_linux_x86_64_r/vq.o
cc1: warning: command line option "-fvisibility-inlines-hidden" is valid for
C++/ObjC++ but not for C
cc1: warning: command line option "-fvisibility-inlines-hidden" is valid for
C++/ObjC++ but not for C
cc1: warning: command line option "-fvisibility-inlines-hidden" is valid for
C++/ObjC++ but not for C
/usr/src/redhat/BUILD/opal/src/codec/speex/libspeex/vq.c: In function
'vq_index':
/usr/src/redhat/BUILD/opal/src/codec/speex/libspeex/vq.c:75: internal compiler
error: in lambda_loopnest_to_gcc_loopnest, at lambda-code.c:1982

It builds w/o -ftree-loop-linear.


-- 
           Summary: ICE with -ftree-loop-linear
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: seandarcy2 at gmail dot com
 GCC build triplet: x86_64-redhat-linux-gnu
  GCC host triplet: x86_64-redhat-linux-gnu
GCC target triplet: x86_64-redhat-linux-gnu


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


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

* [Bug c/25929] ICE with -ftree-loop-linear
  2006-01-23 18:46 [Bug c/25929] New: ICE with -ftree-loop-linear seandarcy2 at gmail dot com
  2006-01-23 18:48 ` [Bug c/25929] " pinskia at gcc dot gnu dot org
@ 2006-01-23 18:48 ` seandarcy2 at gmail dot com
  2006-01-25 16:56 ` uttamp at us dot ibm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: seandarcy2 at gmail dot com @ 2006-01-23 18:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from seandarcy2 at gmail dot com  2006-01-23 18:48 -------
Created an attachment (id=10714)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10714&action=view)
Preprocessed source


-- 


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


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

* [Bug c/25929] ICE with -ftree-loop-linear
  2006-01-23 18:46 [Bug c/25929] New: ICE with -ftree-loop-linear seandarcy2 at gmail dot com
@ 2006-01-23 18:48 ` pinskia at gcc dot gnu dot org
  2006-01-23 18:48 ` seandarcy2 at gmail dot com
  2006-01-25 16:56 ` uttamp at us dot ibm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-23 18:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-23 18:48 -------


*** This bug has been marked as a duplicate of 23820 ***


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug c/25929] ICE with -ftree-loop-linear
  2006-01-23 18:46 [Bug c/25929] New: ICE with -ftree-loop-linear seandarcy2 at gmail dot com
  2006-01-23 18:48 ` [Bug c/25929] " pinskia at gcc dot gnu dot org
  2006-01-23 18:48 ` seandarcy2 at gmail dot com
@ 2006-01-25 16:56 ` uttamp at us dot ibm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: uttamp at us dot ibm dot com @ 2006-01-25 16:56 UTC (permalink / raw)
  To: gcc-bugs

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



------- Comment #3 from uttamp at us dot ibm dot com  2006-01-25 16:56 -------
Reduced test case

int vq_index(float *in, const float *codebook, int len, int entries)
{
   int i,j;
   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<0)
      {
         best_index=i;
      }
   }
   return best_index;
}

$ elm3b11:/home/pawar> /opt/gcc-nightly/trunk-20060123/bin/gcc -O1
-ftree-loop-linear -c ccbdYzn2.c
ccbdYzn2.c: In function ‘vq_index’:
ccbdYzn2.c:3: internal compiler error: in lambda_loopnest_to_gcc_loopnest, at
lambda-code.c:1982
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


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


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

end of thread, other threads:[~2006-01-25 16:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-23 18:46 [Bug c/25929] New: ICE with -ftree-loop-linear seandarcy2 at gmail dot com
2006-01-23 18:48 ` [Bug c/25929] " pinskia at gcc dot gnu dot org
2006-01-23 18:48 ` seandarcy2 at gmail dot com
2006-01-25 16:56 ` uttamp at us dot ibm dot com

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).