http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48530
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo.carlini at oracle dot | |com --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-04-27 23:02:29 UTC --- The issue noticed by Daniel in Comment #3 seems simple: happens only with checking enabled and disappears with the below (which passes testing). Jason, if you want, I can handle this. ///////////// Index: tree.c =================================================================== --- tree.c (revision 173048) +++ tree.c (working copy) @@ -456,6 +456,9 @@ build_cplus_new (tree type, tree init, tsubst_flag return rval; rval = build_target_expr (slot, rval, complain); + if (rval == error_mark_node) + return error_mark_node; + TARGET_EXPR_IMPLICIT_P (rval) = 1; return rval;