This is similar to PR44946 that was fixed in gcc-4.6pre

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

Command line:

mipsel-linux-gcc test.c -c -o test.o -O2

Output:

test.c: In function ‘o_plist_deserialize_xml’:
test.c:34: internal compiler error: tree check: expected class ‘expression’,
have ‘declaration’ (function_decl) in get_constraint_for_component_ref, at
tree-ssa-structalias.c:2932
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revision:

4.4.* - fail
4.5.0 - OK


-- 
           Summary: ICE: in get_constraint_for_component_ref, at tree-ssa-
                    structalias.c:2932
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jipeng at broadcom dot com
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: mipsel-linux-uclibc


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

Reply via email to