public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/17146] New: [lno] ICE: tree check: expected integer_type or enumeral_type or boolean_type or char_type or real_type, have reference_type in number_of_iterations_cond, at tree-ssa-loop-niter.c:161
@ 2004-08-23  8:19 stefaandr at hotmail dot com
  2004-08-23 10:36 ` [Bug tree-optimization/17146] " rakdver at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: stefaandr at hotmail dot com @ 2004-08-23  8:19 UTC (permalink / raw)
  To: gcc-bugs

My testcase is quite large, sorry: 
 
struct tr { 
  int neigh[2]; 
}; 
tr * data; 
tr & func(int index) { 
  return data[index]; 
}; 
 
void x(int); 
void check_triangle_neighbours() { 
  for (int tr1 = 0; tr1 < 1; ++tr1) { 
      int c1 = 0; 
      for (int n = 0; n < 2; ++n) { 
        c1 += func(tr1).neigh[n]; 
      }; 
      x(c1); 
  }; 
}; 
 
Configured with: /esat/alexandria1/stefaan/src/gcc/lno/configure 
--prefix=/esat/olympia/install --program-suffix=-lno --enable-languages=c,c++ : 
(reconfigured) /esat/alexandria1/stefaan/src/gcc/lno/configure 
--prefix=/esat/olympia/install --program-suffix=-lno 
--with-gcc-version-trigger=/esat/alexandria1/stefaan/src/gcc/lno/gcc/version.c 
--enable-languages=c,c++ --no-create --no-recursion 
Thread model: posix 
gcc version 3.5-tree-ssa-lno 20040823 (merged 20040718) 
 /esat/olympia/install/libexec/gcc/i686-pc-linux-gnu/3.5-tree-ssa-lno/cc1plus 
-quiet -v -D_GNU_SOURCE ../to3d.cpp -quiet -dumpbase to3d.cpp -mtune=pentiumpro 
-auxbase-strip ../to3d.o -O1 -version -o /tmp/ccVKCAue.s 
ignoring nonexistent directory "/usr/local/include" 
ignoring nonexistent directory 
"/esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa-lno/../../../../i686-pc-linux-gnu/include" 
#include "..." search starts here: 
#include <...> search starts here: 
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa-lno/../../../../include/c++/3.5-tree-ssa-lno 
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa-lno/../../../../include/c++/3.5-tree-ssa-lno/i686-pc-linux-gnu 
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa-lno/../../../../include/c++/3.5-tree-ssa-lno/backward 
 /esat/olympia/install/include 
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa-lno/include 
 /usr/include 
End of search list. 
GNU C++ version 3.5-tree-ssa-lno 20040823 (merged 20040718) (i686-pc-linux-gnu) 
        compiled by GNU C version 3.4.1. 
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 
../to3d.cpp: In function `void check_triangle_neighbours()': 
../to3d.cpp:10: internal compiler error: tree check: expected integer_type or 
enumeral_type or boolean_type or char_type or real_type, have reference_type in 
number_of_iterations_cond, at tree-ssa-loop-niter.c:161 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: [lno] ICE: tree check: expected integer_type or
                    enumeral_type or boolean_type or char_type or real_type,
                    have reference_type in number_of_iterations_cond, at
                    tree-ssa-loop-niter.c:161
           Product: gcc
           Version: lno
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stefaandr at hotmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


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

* [Bug tree-optimization/17146] [lno] ICE: tree check: expected integer_type or enumeral_type or boolean_type or char_type or real_type, have reference_type in number_of_iterations_cond, at tree-ssa-loop-niter.c:161
  2004-08-23  8:19 [Bug tree-optimization/17146] New: [lno] ICE: tree check: expected integer_type or enumeral_type or boolean_type or char_type or real_type, have reference_type in number_of_iterations_cond, at tree-ssa-loop-niter.c:161 stefaandr at hotmail dot com
@ 2004-08-23 10:36 ` rakdver at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-08-23 10:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2004-08-23 10:36 -------


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

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


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


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

end of thread, other threads:[~2004-08-23 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-23  8:19 [Bug tree-optimization/17146] New: [lno] ICE: tree check: expected integer_type or enumeral_type or boolean_type or char_type or real_type, have reference_type in number_of_iterations_cond, at tree-ssa-loop-niter.c:161 stefaandr at hotmail dot com
2004-08-23 10:36 ` [Bug tree-optimization/17146] " rakdver 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).