------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-10 05:42 ------- (In reply to comment #8) > A more reduced testcase: This comes from finalize_nrv_r. There might be a better way of doing that. else init = build_empty_stmt (); SET_EXPR_LOCUS (init, EXPR_LOCUS (*tp)); *tp = init;
Maybe a better walker which then is able to remove statements in a STATEMENT_LIST. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15485