[Bug java/18741] [4.0 Regression] ICE tree check: expected class 'expression', have 'declaration' (var_decl)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 30 17:02:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-30 17:02 -------
Here is the backtrace:
#0  0x9002c778 in exit ()
#1  0x001a6e1c in diagnostic_report_diagnostic (context=0x9002c768, diagnostic=0xbfffea8c) at /
Users/pinskia/src/local/gcc/gcc/diagnostic.c:339
#2  0x001a6e1c in diagnostic_report_diagnostic (context=0x5c6374, diagnostic=0xbfffea8c) at /
Users/pinskia/src/local/gcc/gcc/diagnostic.c:339
#3  0x001a6f44 in internal_error (msgid=0x1 <Address 0x1 out of bounds>) at /Users/pinskia/src/
local/gcc/gcc/diagnostic.c:502
#4  0x00360a8c in tree_class_check_failed (node=0x1, cl=tcc_exceptional, file=0x83 <Address 0x83 
out of bounds>, line=2871, function=0x5bd5ec "annotate_with_file_line") at /Users/pinskia/src/local/
gcc/gcc/tree.c:5495
#5  0x00361314 in annotate_with_file_line (node=0xbfffea8c, file=0x47421c "var_decl", line=2871) at 
/Users/pinskia/src/local/gcc/gcc/tree.c:2871
#6  0x00097ca4 in java_gimplify_expr (expr_p=0x4717cc, pre_p=0x597140, post_p=0x83) at /Users/
pinskia/src/local/gcc/gcc/java/java-gimplify.c:81
#7  0x000bf4fc in gimplify_expr (expr_p=0xbfffed48, pre_p=0xbfffeddc, post_p=0xbfffede0, 
gimple_test_f=0xbbc9c <is_gimple_formal_tmp_rhs>, fallback=fb_rvalue) at /Users/pinskia/src/local/
gcc/gcc/gimplify.c:3535
#8  0x000c6c80 in internal_get_tmp_var (val=0x42444180, pre_p=0xbfffeddc, post_p=0x83, 
is_formal=0 '\0') at /Users/pinskia/src/local/gcc/gcc/gimplify.c:469
#9  0x000c6fbc in gimplify_save_expr (expr_p=0xbfffed48, pre_p=0xbfffede0, post_p=0x83) at /
Users/pinskia/src/local/gcc/gcc/gimplify.c:3010


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-30 17:02:18
               date|                            |


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



More information about the Java-prs mailing list