------- Comment #2 from rguenth at gcc dot gnu dot org 2007-08-30 10:06 ------- 4.1 ICEs during expansion of stack vars while 4.2 and 4.3 ICE in force_constant_size, at gimplify.c:718.
4.1 backtrace: #1 0x0000000000808124 in tree_low_cst (t=0x2ad57f2a61c0, pos=1) at /space//rguenther/src/svn/gcc-4_1-branch/gcc/tree.c:4399 #2 0x000000000082c662 in expand_one_stack_var (var=0x2ad57f7a9840) at /space//rguenther/src/svn/gcc-4_1-branch/gcc/cfgexpand.c:583 #3 0x000000000082c9ce in expand_one_var (var=0x2ad57f7a9840, toplevel=1 '\001') at /space//rguenther/src/svn/gcc-4_1-branch/gcc/cfgexpand.c:737 #4 0x000000000082cfd2 in expand_used_vars () at /space//rguenther/src/svn/gcc-4_1-branch/gcc/cfgexpand.c:992 #5 0x000000000082ebd7 in tree_expand_cfg () at /space//rguenther/src/svn/gcc-4_1-branch/gcc/cfgexpand.c:1593 trunk backtrace: #1 0x000000000070bcbc in force_constant_size (var=0x2ac3445f1420) at /space/rguenther/src/svn/pointer_plus/gcc/gimplify.c:718 #2 0x000000000070bfc4 in gimple_add_tmp_var (tmp=0x2ac3445f1420) at /space/rguenther/src/svn/pointer_plus/gcc/gimplify.c:735 #3 0x0000000000726a78 in gimplify_target_expr (expr_p=0x2ac344f3a1d0, pre_p=0x7fff665d2fc8, post_p=0x7fff665d2fc0) at /space/rguenther/src/svn/pointer_plus/gcc/gimplify.c:4377 #4 0x00000000007311a3 in gimplify_expr (expr_p=0x2ac344f3a1d0, pre_p=0x7fff665d2fc8, post_p=0x7fff665d2fc0, gimple_test_f=0x8b6bc3 <is_gimple_stmt>, fallback=fb_none) at /space/rguenther/src/svn/pointer_plus/gcc/gimplify.c:5876 #5 0x000000000072702d in gimplify_stmt (stmt_p=0x2ac344f3a1d0) at /space/rguenther/src/svn/pointer_plus/gcc/gimplify.c:4425 -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-valid-code Known to fail| |4.0.0 4.1.2 4.2.1 4.3.0 Known to work| |3.4.6 Last reconfirmed|0000-00-00 00:00:00 |2007-08-30 10:06:47 date| | Summary|[4.2.1 regression] ICE on |[4.1/4.2/4.3 Regression] ICE |statement expression using |on statement expression |variable-sized structure in |using variable-sized |tree_low_cst, at tree.c:4502|structure in tree_low_cst, | |at tree.c:4502 Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33238