------- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-09 10:16 -------
Which is because the gimplifier thinks this is an error for the frontend to
pass through:
Breakpoint 1, fancy_abort (
file=0x10b1ab8 "/space/rguenther/src/svn/trunk/gcc/gimplify.c", line=7173,
function=0x10b2ca4 "gimplify_expr")
at /space/rguenther/src/svn/trunk/gcc/diagnostic.c:728
728 internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) up
#1 0x00000000007fa0a5 in gimplify_expr (expr_p=0x7ffff6f07a48,
pre_p=0x7fffffffced8, post_p=0x7fffffffc558,
gimple_test_f=0x7b9486 <is_gimple_asm_val>, fallback=1)
at /space/rguenther/src/svn/trunk/gcc/gimplify.c:7173
7173 gcc_assert (!VOID_TYPE_P (TREE_TYPE (*expr_p)));
(gdb)
#2 0x00000000007e9450 in gimplify_asm_expr (expr_p=0x7ffff7ede980,
pre_p=0x7fffffffced8, post_p=0x7fffffffc558)
at /space/rguenther/src/svn/trunk/gcc/gimplify.c:4896
4896 tret = gimplify_expr (&TREE_VALUE (link), pre_p, post_p,
the C standard doesn't claim dereferencing a void pointer is invalid, so
the gimplifier should deal with this.
Before tree-ssa we ICEd with
t5.c:3: internal compiler error: in int_mode_for_mode, at stor-layout.c:289
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
or with 2.95 with
t5.c:3: Internal compiler error in `emit_move_insn_1', at expr.c:2835
so, not a regression.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-invalid-code
Last reconfirmed|0000-00-00 00:00:00 |2009-11-09 10:16:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41992