public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/18792] New: ICE with -O1 -ftree-loop-linear on small test case
@ 2004-12-02 19:32 fjahanian at apple dot com
  2004-12-02 19:37 ` [Bug tree-optimization/18792] " pinskia at gcc dot gnu dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: fjahanian at apple dot com @ 2004-12-02 19:32 UTC (permalink / raw)
  To: gcc-bugs

Following small test case, extraced from a SPEC2004 benchmark ICEs when compiled with gcc-4.0
and -O1 -ftree-loop-linear

/* test */
void put_atoms_in_triclinic_unitcell(float x[][3])
{
  int i=0,d;

      while (x[i][3] < 0)
           for (d=0; d<=3; d++)
              x[i][d] = 0;

      while (x[i][3] >= 0)
           for (d=0; d<=3; d++)
              x[i][d] = 0;

}


% gcc-4.0 -c bad.c -O1 -ftree-loop-linear
bad.c: In function 'put_atoms_in_triclinic_unitcell':
bad.c:2: internal compiler error: in build_classic_dist_vector, at tree-data-ref.c:1871
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE with -O1 -ftree-loop-linear on small test case
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fjahanian at apple dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: apple-ppc-darwin
  GCC host triplet: apple-ppc-darwin
GCC target triplet: apple-ppc-darwin


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


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

end of thread, other threads:[~2005-01-06 22:36 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-02 19:32 [Bug tree-optimization/18792] New: ICE with -O1 -ftree-loop-linear on small test case fjahanian at apple dot com
2004-12-02 19:37 ` [Bug tree-optimization/18792] " pinskia at gcc dot gnu dot org
2004-12-02 19:43 ` pinskia at gcc dot gnu dot org
2004-12-03  0:44 ` dberlin at gcc dot gnu dot org
2004-12-07 22:37 ` fjahanian at apple dot com
2004-12-07 22:50 ` rakdver at gcc dot gnu dot org
2004-12-07 22:53 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2004-12-07 22:56 ` dberlin at dberlin dot org
2004-12-07 23:04 ` fjahanian at apple dot com
2004-12-07 23:04 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2004-12-07 23:09 ` dberlin at dberlin dot org
2004-12-07 23:13 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2004-12-07 23:22 ` dberlin at gcc dot gnu dot org
2004-12-09  0:04 ` pinskia at gcc dot gnu dot org
2004-12-17 19:40 ` fjahanian at apple dot com
2004-12-17 21:13 ` dberlin at dberlin dot org
2005-01-06  7:21 ` mmitchel at gcc dot gnu dot org
2005-01-06  8:48 ` steven at gcc dot gnu dot org
2005-01-06 22:08 ` cvs-commit at gcc dot gnu dot org
2005-01-06 22:27 ` dberlin at gcc dot gnu dot org
2005-01-06 22:36 ` 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).