------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 15:16 ------- (In reply to comment #1) > Confirmed. Reduced testcase: Reduced testcase which fails everywhere (even on 64bit targets): char foo(__SIZE_TYPE__ n) { char c[1][n]; return c[0][0]; } ====== Here is the backtrace: #1 0x002eec68 in fancy_abort (file=0x8e8a78 "/Users/pinskia/src/local/gcc/gcc/fold-const.c", line=1663, function=0xa08968 "size_binop") at /Users/pinskia/src/local/gcc/gcc/diagnostic.c:590 #2 0x0033c70c in size_binop (code=EXACT_DIV_EXPR, arg0=0x41dba9a0, arg1=0x41d114a0) at / Users/pinskia/src/local/gcc/gcc/fold-const.c:1662 #3 0x001db4c4 in gimplify_compound_lval (expr_p=0x41dc1c3c, pre_p=0xbfffe8d4, post_p=0xbfffe8d8, fallback=fb_rvalue) at /Users/pinskia/src/local/gcc/gcc/gimplify.c:1500 #4 0x001eb2d8 in gimplify_expr (expr_p=0x41dc1c3c, pre_p=0xbfffe8d4, post_p=0xbfffe8d8, gimple_test_f=0x3e8364 <is_gimple_val>, fallback=fb_rvalue) at /Users/pinskia/src/local/gcc/gcc/ gimplify.c:3978 #5 0x001ebbb0 in gimplify_expr (expr_p=0x41dbcef0, pre_p=0xbfffe8d4, post_p=0xbfffe8d8, gimple_test_f=0x3e72fc <is_gimple_reg_rhs>, fallback=fb_rvalue) at /Users/pinskia/src/local/gcc/ gcc/gimplify.c:4072 #6 0x001e6b10 in gimplify_modify_expr (expr_p=0xbfffe9f8, pre_p=0xbfffe8d4, post_p=0xbfffe8d8, want_value=0 '\0') at /Users/pinskia/src/local/gcc/gcc/gimplify.c:3154
-- What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org Component|c |middle-end GCC build triplet|i486-linux-gnu | GCC host triplet|i486-linux-gnu | GCC target triplet|i486-linux-gnu | Known to fail| |4.0.0 4.1.0 Known to work| |3.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439