[ forwarded from http://bugs.debian.org/442036 ]

[EMAIL PROTECTED]:/src/delta/bin% cat test.c
long double f(long double *data, long n) {
    long double max = 0;
    long i;
    for (i = 0; i < n; i++) {
        if (data[i])
            max = 1;
    }
    return max;
}
[EMAIL PROTECTED]:/src/delta/bin% gcc -c -O2 test.c
[EMAIL PROTECTED]:/src/delta/bin% gcc -c -O3 test.c
test.c: In function 'f':
test.c:9: internal compiler error: in iv_analyze_expr, at loop-iv.c:911
Please submit a full bug report,

Reproduced with Debian's 4.2.1 and 4.3.0 20070829 r127913. Compiler is
configured to 128 bit long double.

--Falk


-- 
           Summary: ICE in iv_analyze_expr, at loop-iv.c:934
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
 GCC build triplet: alpha-linux-gnu
  GCC host triplet: alpha-linux-gnu
GCC target triplet: alpha-linux-gnu


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

Reply via email to