Command line:
gcc testcase.c

Tested revisions:
r156999 - crash
r155363 - crash
r153685 - crash
4.4 r157120 - OK (with checking)
4.3.4 - OK (without checking)

Output (with checking):
$ /mnt/svn/gcc-trunk/binary-156999-lto/bin/gcc testcase.c
testcase.c:7:19: error: parameter 1 ('t') has incomplete type
testcase.c: In function 'foo':
testcase.c:11:10: internal compiler error: tree check: expected class 'type',
have 'exceptional' (error_mark) in useless_type_conversion_p, at
tree-ssa.c:1430
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Output (without checking):
$ gcc-4.5.0-alpha20100225 testcase.c
testcase.c:7:19: error: parameter 1 ('t') has incomplete type
testcase.c:11: confused by earlier errors, bailing out

I don't know how much is this related to pr43082


-- 
           Summary: [4.5 Regression] ICE: tree check: expected class 'type',
                    have 'exceptional' (error_mark) in
                    useless_type_conversion_p, at tree-ssa.c:1430
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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

Reply via email to