[Bug tree-optimization/42327] New: ICE: in build_polynomial_chrec, at tree-chrec.h:149 with -fcheck-data-deps

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Mon Dec 7 21:27:00 GMT 2009


Commad line:
gcc -O1 -fcheck-data-deps testcase.c

Tested versions:
trunk r155020 - crash
trunk r153685 - crash
4.4 r154975 - crash
4.4 r153668 - crash
4.4.2, 4.3.4 (both gentoo, not vanilla) - OK

======== testcase.c =======
void foo(char *str)
{
   while (*str != 0) *str++ = 0;
}
===========================

Output:
$ /mnt/svn/gcc-trunk/binary-155020-lto/bin/gcc -O1 -fcheck-data-deps testcase.c
testcase.c: In function ‘foo’:
testcase.c:1:6: internal compiler error: in build_polynomial_chrec, at
tree-chrec.h:149
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE: in build_polynomial_chrec, at tree-chrec.h:149 with
                    -fcheck-data-deps
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu


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



More information about the Gcc-bugs mailing list