[Bug tree-optimization/23079] New: ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/23079] New: ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

cvs-commit at gcc dot gnu.org
When I compile the small program with the actual snapshot of
gcc41 (20050723) I get an ICE.

Michael Cieslinski


unsigned int foo ()
{
    unsigned int  y[256];
    unsigned int* x;
    for (x = y + 1; x < y + 256; ++x) *x += x[-1];
    return y[0];
}


gcc41h -O -ftree-vectorize -c sort.i -o sort.o
sort.i: In function 'foo':
sort.i:3: internal compiler error: in tree_low_cst, at tree.c:4268
Please submit a full bug report, with preprocessed source if appropriate.


gcc41h -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.1-20050723/configure --prefix=/usr/local/gcc41h --
program-suffix=41h --with-arch=opteron --enable-languages=c,c++ --enable-
checking
Thread model: posix
gcc version 4.1.0 20050723 (experimental)

--
           Summary: ICE in tree_low_cst, at tree.c:4268 with -ftree-
                    vectorize
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: micis at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23079
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/23079] ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

cvs-commit at gcc dot gnu.org

------- Additional Comments From micis at gmx dot de  2005-07-26 16:14 -------

last working snapshot is  gcc-4.1-20050508
first failing snapshot is gcc-4.1-20050528
(between these 2 I didn't compile other snapshots)

gcc401 is working correctly


--
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE in tree_low_cst, at     |ICE in tree_low_cst, at
                   |tree.c:4268 with -ftree-    |tree.c:4268 with -ftree-
                   |vectorize                   |vectorize


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23079
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/23079] [4.1 Regression] ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-26 16:19 -------
Confirmed, also fails with 20050714.

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|x86_64-unknown-linux-gnu    |
   GCC host triplet|x86_64-unknown-linux-gnu    |
 GCC target triplet|x86_64-unknown-linux-gnu    |x86_64-linux-gnu
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-26 16:19:49
               date|                            |
            Summary|ICE in tree_low_cst, at     |[4.1 Regression] ICE in
                   |tree.c:4268 with -ftree-    |tree_low_cst, at tree.c:4268
                   |vectorize                   |with -ftree-vectorize
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23079
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/23079] [4.1 Regression] ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org

------- Additional Comments From micis at gmx dot de  2005-07-27 09:36 -------
This loop make gcc bootstrap fail if you use -ftree-vectorize

--


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23079
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/23079] [4.1 Regression] ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-03 00:16 -------
Fixed on the mainline now.  I don't know what fixed it though.

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23079
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/23079] [4.1 Regression] ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org

------- Additional Comments From micis at gmx dot de  2005-09-27 13:07 -------
Now it ICEs again (snapshot gcc-4.1-20050917 + gcc-4.1-20050924)

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23079
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/23079] [4.1 Regression] ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-27 13:15 -------


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

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


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