cc1 options for the attached testcase are:
  -w -fpreprocessed dl-iteratephdr.i -quiet -O2 -std=gnu99

The ICE is:

dl-iteratephdr.c: In function '__dl_iterate_phdr':
dl-iteratephdr.c:36: internal compiler error: tree check: expected integer_type
or enumeral_type or boolean_type or char_type or real_type, have pointer_type in
compare_values, at tree-vrp.c:307
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This is with a clean HEAD tree from half an hour ago, plus a workaround from bug
20126 (which is an RTL loop optimizer bug, so presumably irrelevant).

-- 
           Summary: ICE in tree-vrp building glibc
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: dnovillo at gcc dot gnu dot org
        ReportedBy: drow at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: mips64-unknown-linux-gnu


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

Reply via email to