This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/21266] New: verify_ssa failed


$ cat minlc.c
void minlc(float *a, int n)
{
    int i;
    float mv = a[0];
    for (i=1; i<n; i++)
    {
        if(a[i] < mv)
            mv = a[i];
    }
}
$ gcc -O2 -ftree-vectorize -ftree-vectorizer-verbose=3 -S minlc.c
minlc.c: In function 'minlc':
minlc.c:2: error: Definition in block 2 follows the use
for SSA_NAME: i_13 in statement:
mv_1 = n_7 > i_13 ? mv_12 : mv_20;
minlc.c:2: internal compiler error: verify_ssa failed.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gcc -v
Using built-in specs.
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.1-20050424/configure --prefix=/home/zfkts --enable-
languages=c,f95
Thread model: posix
gcc version 4.1.0 20050424 (experimental)

-- 
           Summary: verify_ssa failed
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-unknown-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]