------- Comment #3 from hjl at lucon dot org 2007-07-14 04:57 ------- (In reply to comment #2) > This one > > --- gcc/var-tracking.c.bad 2007-07-13 19:38:08.000000000 -0700 > +++ gcc/var-tracking.c 2007-07-13 20:24:27.000000000 -0700 > @@ -1824,6 +1824,9 @@ find_src_status (dataflow_set *in, rtx l > src = SET_SRC (XVECEXP (PATTERN (insn), 0, i)); > } > > + if (!src) > + return status; > + > if (REG_P (src)) > decl = var_debug_decl (REG_EXPR (src)); > else if (MEM_P (src)) > @@ -1862,6 +1865,9 @@ find_src_set_src (dataflow_set *set, rtx > src = SET_SRC (XVECEXP (PATTERN (insn), 0, i)); > } > > + if (!src) > + return set_src; > + > if (REG_P (src)) > decl = var_debug_decl (REG_EXPR (src)); > else if (MEM_P (src)) > > passes the stage 1. >
It works for me on Linux/ia32, Linux/Intel64 and Linux/ia64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32764