------- Comment #10 from redi at gcc dot gnu dot org 2010-03-31 12:34 ------- Thanks. I can't test it now but that looks better.
Just below your new code I see this error: error ("uninitialized const in %<new%> of %q#T", elt_type); Maybe your new diagnostics should also include 'new' like that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25811